diff options
author | Jakub Kicinski <[email protected]> | 2018-05-10 10:24:37 -0700 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2018-05-11 01:40:51 +0200 |
commit | e3687510fce2a5b039133be8979b2c8e8cbffa67 (patch) | |
tree | 2bccacf26947c659d816faafcc6eeaabf980cbca /tools/perf/scripts/python/sched-migration.py | |
parent | cb9c28ef579debbc51e48b37f2534390f5da8467 (diff) |
tools: bpftool: use PERF_SAMPLE_TIME instead of reading the clock
Ask the kernel to include sample time in each even instead of
reading the clock. This is also more accurate because our
clock reading was done when user space would dump the buffer,
not when sample was produced.
Suggested-by: Daniel Borkmann <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Quentin Monnet <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions