mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
perf thread_map: Add thread_map user level event
Adding the thread_map event to pass/store thread maps as data in the pipe/perf.data. Storing the thread ID along with the standard comm[16] thread name string. 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-4-git-send-email-jolsa@kernel.org [ Renamed thread_map_data_event to thread_map_event_entry ] Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
1843b4e057
commit
5f3339d2e8
4 changed files with 42 additions and 1 deletions
|
@ -37,6 +37,7 @@ static const char *perf_event__names[] = {
|
|||
[PERF_RECORD_AUXTRACE_INFO] = "AUXTRACE_INFO",
|
||||
[PERF_RECORD_AUXTRACE] = "AUXTRACE",
|
||||
[PERF_RECORD_AUXTRACE_ERROR] = "AUXTRACE_ERROR",
|
||||
[PERF_RECORD_THREAD_MAP] = "THREAD_MAP",
|
||||
};
|
||||
|
||||
const char *perf_event__name(unsigned int id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue