From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755173AbcKXDOL (ORCPT ); Wed, 23 Nov 2016 22:14:11 -0500 Received: from mail-ua0-f195.google.com ([209.85.217.195]:34801 "EHLO mail-ua0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754214AbcKXDOK (ORCPT ); Wed, 23 Nov 2016 22:14:10 -0500 Subject: Re: [PATCH 1/3] perf sched timehist: Mark schedule function in callchains To: Namhyung Kim , Arnaldo Carvalho de Melo References: <20161124011114.7102-1-namhyung@kernel.org> Cc: Ingo Molnar , Peter Zijlstra , Jiri Olsa , LKML , Stephane Eranian , Andi Kleen From: David Ahern Message-ID: <0eaa350e-8b5d-539f-c073-f230353ae405@gmail.com> Date: Wed, 23 Nov 2016 22:13:46 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.5.0 MIME-Version: 1.0 In-Reply-To: <20161124011114.7102-1-namhyung@kernel.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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