perf tools: Add stat config event read function
authorJiri Olsa <jolsa@kernel.org>
Sun, 25 Oct 2015 14:51:29 +0000 (15:51 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 17 Dec 2015 17:38:19 +0000 (14:38 -0300)
commit8e381596b67af53564a69f16440d3e5d5a73d034
treea94575f53155c24e4126a3235280dc8323fe073d
parent6742434261158ad9678bf15b165304e0200cc324
perf tools: Add stat config event read function

Introducing the perf_event__read_stat_config function to read a struct
perf_stat_config object data from a stat config event.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Tested-by: Kan Liang <kan.liang@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1445784728-21732-14-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/stat.c
tools/perf/util/event.c
tools/perf/util/event.h