Re: [PATCH 1/3] perf sched timehist: Mark schedule function in callchains

From: Namhyung Kim
Date: Thu Nov 24 2016 - 01:30:53 EST


Hi David,

On Wed, Nov 23, 2016 at 10:13:46PM -0500, David Ahern wrote:
> On 11/23/16 8:11 PM, Namhyung Kim wrote:
> > The sched_switch event always captured from the scheduler function. So
> > it'd be great omit them from the callchain. This patch marks the
> > functions to be omitted by later patch.
>
> I had this covered by a symbol filter:
>
> https://github.com/dsahern/linux/blob/perf/full-monty-4.1/tools/perf/builtin-sched.c#L3000
>
> Not sure what happened over the years but that should still work and
> allows the user to add more symbols to ignore:

The symbol filter was removed by commit be39db9f2932 ("perf symbols:
Remove symbol_filter_t machinery").

Thanks,
Namhyung


>
> https://github.com/dsahern/linux/blob/perf/full-monty-4.1/tools/perf/builtin-sched.c#L3449
>