diff options
author | Jiri Olsa <[email protected]> | 2015-06-26 11:29:07 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-06-26 11:07:01 -0300 |
commit | 792402fd5c0a5a5300868e9dfc8ee569f3a39169 (patch) | |
tree | ebb6df248a2b15b81b7fe8a0ac5e9f02a4ad6412 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 62eea464380633b88902da35bf9cbd8515289703 (diff) |
perf thrad_map: Add comm string into array
Adding support to hold comm name together with pids in 'struct
thread_map'. It will be useful for --per-thread option to display task
pid together with task name.
Adding thread_map__read_comms function that reads/set
comm string for the 'struct thread_map'.
Getting the task name from /proc/$pid/comm.
Signed-off-by: Jiri Olsa <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions