diff options
| author | Song Liu <songliubraving@fb.com> | 2021-03-16 14:18:36 -0700 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-03-23 18:05:36 -0300 |
| commit | 435b46ef1d9fd904089199da16a21ade0701537f (patch) | |
| tree | 1dc2968c22887d717adbce9265f87fb6e8d103de /tools/perf/scripts/python/bin | |
| parent | perf stat: Introduce 'bperf' to share hardware PMCs with BPF (diff) | |
| download | linux-435b46ef1d9fd904089199da16a21ade0701537f.tar.gz linux-435b46ef1d9fd904089199da16a21ade0701537f.zip | |
perf stat: Measure 't0' and 'ref_time' after enable_counters()
Take measurements of 't0' and 'ref_time' after enable_counters(), so
that they only measure the time consumed when the counters are enabled.
Signed-off-by: Song Liu <songliubraving@fb.com>
Acked-by: Andi Kleen <andi@firstfloor.org>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: kernel-team@fb.com
Link: http://lore.kernel.org/lkml/20210316211837.910506-3-songliubraving@fb.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
