On Tue, Dec 24, 2013 at 05:22:22PM +0900, Namhyung Kim wrote: > From: Namhyung Kim <[email protected]> > > 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 <[email protected]> > Cc: Frederic Weisbecker <[email protected]> > Signed-off-by: Namhyung Kim <[email protected]> > --- > 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 <[email protected]> jirka -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

