Re: [PATCH 1/3] perf sched timehist: Mark schedule function in callchains
From: David Ahern
Date: Wed Nov 23 2016 - 22:14:21 EST
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:
https://github.com/dsahern/linux/blob/perf/full-monty-4.1/tools/perf/builtin-sched.c#L3449