perf thread_map: Add thread_map event sythesize function
authorJiri Olsa <jolsa@kernel.org>
Sun, 25 Oct 2015 14:51:20 +0000 (15:51 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 17 Dec 2015 17:38:16 +0000 (14:38 -0300)
commit99471c967a00c875bb5d61f377d4267904545499
tree5f8a482dfb284dfb7a9972c1a77f40e4bc76dc46
parent5f3339d2e83ca587c2e13c3e37e1b5fb7c68ebe5
perf thread_map: Add thread_map event sythesize function

Introduce the perf_event__synthesize_thread_map2 function to synthesize
struct thread_map.

The perf_event__synthesize_thread_map name is already taken for
synthesizing the complete threads data (comm/mmap/fork).

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-5-git-send-email-jolsa@kernel.org
[ Rename thread_map_data_event to thread_map_event_entry ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/builtin-test.c
tools/perf/tests/tests.h
tools/perf/tests/thread-map.c
tools/perf/util/event.c
tools/perf/util/event.h