]> git.baikalelectronics.ru Git - kernel.git/commit
perf stat: Add 'struct perf_tool' argument to perf_stat_synthesize_config()
authorJiri Olsa <jolsa@kernel.org>
Thu, 30 Aug 2018 06:32:20 +0000 (08:32 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 30 Aug 2018 18:52:22 +0000 (15:52 -0300)
commit03b1f848aae94959d9f8253036550513502455d1
tree635b38f60393130157e225adc3775ca3436d2184
parent4fc0de13d8d89ff32f23bf0f230e7387f46dab8c
perf stat: Add 'struct perf_tool' argument to perf_stat_synthesize_config()

So that we can use the function outside the 'perf stat' command with standard
synthesize functions, that take 'struct perf_tool *' argument.

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-12-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c