On Mon, Mar 24, 2014 at 03:32:56PM -0400, Don Zickus wrote: > This takes the parse_callchain_opt function and copies it into the > callchain.c file. Now the c2c tool can use it too without duplicating. > > Signed-off-by: Don Zickus <dzic...@redhat.com> > --- > tools/perf/util/callchain.c | 83 > +++++++++++++++++++++++++++++++++++++++++++++ > tools/perf/util/callchain.h | 1 + > 2 files changed, 84 insertions(+) > > diff --git a/tools/perf/util/callchain.c b/tools/perf/util/callchain.c > index 8d9db45..2320678 100644 > --- a/tools/perf/util/callchain.c > +++ b/tools/perf/util/callchain.c > @@ -25,6 +25,89 @@ > > __thread struct callchain_cursor callchain_cursor; > > +int > +report_parse_callchain_opt(const char *arg) > +{ > + //struct report *rep = (struct report *)opt->value;
please erase ^^^ and I think it's better to merge this with the actual removal in following patch: perf, report: Use new generic report parse callchain callback jirka -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/