perf stat: Add 'perf_event__handler_t' argument to perf_stat_synthesize_config()
authorJiri Olsa <jolsa@kernel.org>
Thu, 30 Aug 2018 06:32:22 +0000 (08:32 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 30 Aug 2018 18:52:22 +0000 (15:52 -0300)
commitc2c247f2dd87706961fa16d033f9dbf173145e70
treea4412eaaa8834b97cb2cb83a43b9d77b7b9fe51b
parent1c21e9899d6a9ea72d4d678faa7b0ec22bcf59a9
perf stat: Add 'perf_event__handler_t' argument to perf_stat_synthesize_config()

So that it's completely independent and can be used outside the 'perf stat' command.

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