summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/stat.c
diff options
context:
space:
mode:
authorJiri Olsa2015-10-25 15:51:31 +0100
committerArnaldo Carvalho de Melo2015-12-17 18:55:31 +0100
commit5796f8f073fe50171376f058376dde93ec5f3785 (patch)
treead657a02c2f6733c40684f9520cb5c66f1ee649f /tools/perf/util/stat.c
parentperf tools: Add stat user level event (diff)
downloadkernel-qcow2-linux-5796f8f073fe50171376f058376dde93ec5f3785.tar.gz
kernel-qcow2-linux-5796f8f073fe50171376f058376dde93ec5f3785.tar.xz
kernel-qcow2-linux-5796f8f073fe50171376f058376dde93ec5f3785.zip
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>
Diffstat (limited to 'tools/perf/util/stat.c')
0 files changed, 0 insertions, 0 deletions