Re: [PATCH RFC V2 03/10] petf tools: using comm_str to replace comm in hist_entry

2017-09-18 Thread Jiri Olsa
On Wed, Sep 13, 2017 at 12:21:56PM -0300, Arnaldo Carvalho de Melo wrote: > Em Sun, Sep 10, 2017 at 07:23:16PM -0700, kan.li...@intel.com escreveu: > > From: Kan Liang > > > > For hist_entry, it only needs comm_str for cmp. > > And thinking a bit more, isn't this even a bug fix, as at the time o

Re: [PATCH RFC V2 03/10] petf tools: using comm_str to replace comm in hist_entry

2017-09-13 Thread Arnaldo Carvalho de Melo
Em Sun, Sep 10, 2017 at 07:23:16PM -0700, kan.li...@intel.com escreveu: > From: Kan Liang > > For hist_entry, it only needs comm_str for cmp. And thinking a bit more, isn't this even a bug fix, as at the time of that sample that was the comm string associated with that thread? Frédéric, am I nu

[PATCH RFC V2 03/10] petf tools: using comm_str to replace comm in hist_entry

2017-09-10 Thread kan . liang
From: Kan Liang For hist_entry, it only needs comm_str for cmp. Signed-off-by: Kan Liang --- tools/perf/util/hist.c | 4 ++-- tools/perf/util/sort.c | 8 tools/perf/util/sort.h | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/perf/util/hist.c b/tools/perf/u