perf tools: Add stat round event synthesize function
authorJiri Olsa <jolsa@kernel.org>
Sun, 25 Oct 2015 14:51:34 +0000 (15:51 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 17 Dec 2015 17:55:44 +0000 (14:55 -0300)
commitd4c2259195f538505d2570e78555532372fb4ad2
tree3c02d08da192d9d6fe1413ac2019e2f2e88aade9
parent2d8f0f18a5c37cf0322cb385b99adb1167b7cf78
perf tools: Add stat round event synthesize function

Introduce the perf_event__synthesize_stat_round function to
synthesize a 'struct stat_round_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-19-git-send-email-jolsa@kernel.org
[ Renamed 'time' parameter to 'evtime' to fix build on older systems ]
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