diff options
author | 2018-08-30 08:32:11 +0200 | |
---|---|---|
committer | 2018-08-30 15:52:21 -0300 | |
commit | 728c0ee0a896fcb0957b496afdb78bf195397645 (patch) | |
tree | 8598ed0776ce07efe4f8ad33f7fc0c8050e72da0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | perf stat: Use evsel->threads in create_perf_stat_counter() (diff) | |
download | linux-dev-728c0ee0a896fcb0957b496afdb78bf195397645.tar.xz linux-dev-728c0ee0a896fcb0957b496afdb78bf195397645.zip |
perf stat: Move 'initial_delay' to 'struct perf_stat_config'
Move the static 'initial_delay' variable to 'struct perf_stat_config',
so it can be passed around and used outside the 'perf stat' command.
Add 'struct perf_stat_config' argument to create_perf_stat_counter() and
use its 'initial_delay' member instead of the static one.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20180830063252.23729-3-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions