lkml.org 
[lkml]   [2015]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 02/27] perf tools: Add comm string into struct thread_map
On Tue, Jun 23, 2015 at 06:01:58PM -0300, Arnaldo Carvalho de Melo wrote:
> Em Tue, Jun 23, 2015 at 12:36:03AM +0200, Jiri Olsa escreveu:
> > 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.
> >
> > Getting the task name from /proc/$pid/comm.
>
> Do we really need to read this all the time? Or just for tools that need
> this?
>
> Can't we have a thread_map__read_comms(map);
>
> That we can make this specific --per-thread option in 'stat' call?

ook

jirka


\
 
 \ /
  Last update: 2015-06-24 00:21    [W:0.053 / U:0.644 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site