]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
perf tools: Add stat event synthesize function
authorJiri Olsa <jolsa@kernel.org>
Sun, 25 Oct 2015 14:51:31 +0000 (15:51 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 17 Dec 2015 17:55:31 +0000 (14:55 -0300)
commit5796f8f073fe50171376f058376dde93ec5f3785
treead657a02c2f6733c40684f9520cb5c66f1ee649f
parentd80518c90bb2b4af9755d79af5dfe9d44e04cdb9
perf tools: Add stat event synthesize function

Introduce the perf_event__synthesize_stat function to synthesize a
'struct stat_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-16-git-send-email-jolsa@kernel.org
[ Renamed 'stat' parameter to 'st' to fix 'already defined' build error with older distros (e.g. RHEL6.7) ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/builtin-test.c
tools/perf/tests/stat.c
tools/perf/tests/tests.h
tools/perf/util/event.c
tools/perf/util/event.h