perf tools: Add a thread stack for synthesizing call chains
authorAdrian Hunter <adrian.hunter@intel.com>
Thu, 30 Oct 2014 14:09:42 +0000 (16:09 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 3 Nov 2014 20:10:59 +0000 (17:10 -0300)
commit00447ccdf3335ea467841fc3c7d65ffd30748895
treedca3b71692d561e9b6a3e7f721f9f814bc5dfde4
parent05b2537e8dc778bb00284f8fc86b83797b8f1d37
perf tools: Add a thread stack for synthesizing call chains

Add a thread stack for synthesizing call chains from call and return
events.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1414678188-14946-2-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile.perf
tools/perf/util/event.h
tools/perf/util/thread-stack.c [new file with mode: 0644]
tools/perf/util/thread-stack.h [new file with mode: 0644]
tools/perf/util/thread.c
tools/perf/util/thread.h