lkml.org 
[lkml]   [2014]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 16/21] perf tools: Factor out sample__resolve_callchain()
On Tue, Dec 24, 2013 at 05:22:22PM +0900, Namhyung Kim wrote:
> From: Namhyung Kim <namhyung.kim@lge.com>
>
> The report__resolve_callchain() can be shared with perf top code as it
> doesn't really depend on the perf report code. Factor it out as
> sample__resolve_callchain(). The same goes to the hist_entry__append_
> callchain() too.
>
> Cc: Arun Sharma <asharma@fb.com>
> Cc: Frederic Weisbecker <fweisbec@gmail.com>
> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
> ---
> tools/perf/builtin-report.c | 22 ++--------------------
> tools/perf/builtin-top.c | 22 +++++++---------------
> tools/perf/util/callchain.c | 23 +++++++++++++++++++++++
> tools/perf/util/callchain.h | 6 ++++++
> 4 files changed, 38 insertions(+), 35 deletions(-)

Acked-by: Jiri Olsa <jolsa@redhat.com>

jirka


\
 
 \ /
  Last update: 2014-01-05 19:21    [W:0.426 / U:0.616 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site