OSDN Git Service

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)
commit1821f4eb480bdd3c7c2a1863431ba539c7b0c1f8
tree635b38f60393130157e225adc3775ca3436d2184
parent73d586c3917d5109bb547c16d90d0eb97203986a
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