perf thread_map: Add thread_map__new_event function
authorJiri Olsa <jolsa@kernel.org>
Sun, 25 Oct 2015 14:51:21 +0000 (15:51 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 17 Dec 2015 17:38:16 +0000 (14:38 -0300)
commit59660942397b57b37eccba014544623cf4beb12b
tree998b407b0dcf2546a2ec941e596e2280ee598ec2
parent99471c967a00c875bb5d61f377d4267904545499
perf thread_map: Add thread_map__new_event function

Introducing the thread_map__new_event function to create a struct
thread_map object from a thread_map 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-6-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/thread-map.c
tools/perf/util/thread_map.c
tools/perf/util/thread_map.h