diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2018-06-14 11:06:55 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-06-15 03:13:17 +0200 |
commit | 07480cbc05ef1ff7301cb11afb7d894ad3d0916a (patch) | |
tree | 53f9b6e995b1f7d2f2348288bb047638a491f7fb /tools/testing | |
parent | 3bce593ac06b4f18710274cfb084369b3d7909eb (diff) | |
download | op-kernel-dev-07480cbc05ef1ff7301cb11afb7d894ad3d0916a.zip op-kernel-dev-07480cbc05ef1ff7301cb11afb7d894ad3d0916a.tar.gz |
tools: bpftool: improve accuracy of load time
BPF program load time is reported from the kernel relative to boot time.
If conversion to wall clock does not take nanosecond parts into account,
the load time reported by bpftool may differ by one second from run to
run. This means JSON object reported by bpftool for a program will
randomly change.
Fixes: 71bb428fe2c1 ("tools: bpf: add bpftool")
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions