Re: [PATCH 16/21] perf tools: Factor out sample__resolve_callchain()

From: Jiri Olsa
Date: Sun Jan 05 2014 - 12:57:17 EST


On Tue, Dec 24, 2013 at 05:22:22PM +0900, Namhyung Kim wrote:
> From: Namhyung Kim <namhyung.kim@xxxxxxx>
>
> 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@xxxxxx>
> Cc: Frederic Weisbecker <fweisbec@xxxxxxxxx>
> Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxxx>
> ---
> 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@xxxxxxxxxx>

jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/