aboutsummaryrefslogtreecommitdiff
path: root/tools/ebpf
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2021-06-11 17:43:20 +0100
committerDr. David Alan Gilbert <dgilbert@redhat.com>2021-07-05 10:51:26 +0100
commitd9a801f7e9fd18ce96a0bfff73b785f0a1f8e6a8 (patch)
treef25a6515fe082079bd6efd53ce90ed17ee5cf9c9 /tools/ebpf
parent944bc528421aa848ca218ee535ea923a4147a525 (diff)
virtiofsd: use GDateTime for formatting timestamp for debug messages
The GDateTime APIs provided by GLib avoid portability pitfalls, such as some platforms where 'struct timeval.tv_sec' field is still 'long' instead of 'time_t'. When combined with automatic cleanup, GDateTime often results in simpler code too. Localtime is changed to UTC to avoid the need to grant extra seccomp permissions for GLib's access of the timezone database. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Message-Id: <20210611164319.67762-1-berrange@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'tools/ebpf')
0 files changed, 0 insertions, 0 deletions