Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3241456imu; Sat, 24 Nov 2018 00:53:22 -0800 (PST) X-Google-Smtp-Source: AFSGD/VbBMbj9WCGAPJkqjOfOY+IoVh6lyrVsiH2zgXJoyLI6mdDI7p2FjU8FsCIAgQlEYSR4BM3 X-Received: by 2002:a63:cc43:: with SMTP id q3mr16982077pgi.291.1543049602821; Sat, 24 Nov 2018 00:53:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543049602; cv=none; d=google.com; s=arc-20160816; b=LcoA067svdpyZVlbtcuoIaVojnR/snoV77LsgikWo1ZMmLns0OES6bC2hVIoeMjEbi Suth/47HQng9avzHjiEZRxf7W9gsvJlrH2AIB49EDg4zweJjsRD1sIbq7Ec784t+bJSR XmB7VY1k2Bv8bMXzkMgG1TEwqYeD/R8EIA9eJRzGoycMCkZ/nSBSsazamC5+zQBLfe36 JEotoNIrFKOswuEnKzwnBzdOoB2KaM0Ex/OgPjyBY0GwcsXrxbfnkt+wis8Oj+G+jiJI 2BzxY3/nSC9s8jDE77cgJaP9G2tuM5qF9no3JmZlkfw1b7ABvbvDcqjVqHqvc1Zhb2Yh yc/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=8tSzhgCt630THE9GUK2+HLehUtq7NDRnlvWXxDWD0us=; b=NbEgAACGHo1d50O4lW9STWQuSeCTg/q3V337jIFTiwLSbVogZYLPhFbu59WWTaALyX Dozg+Lb7bsOHJyv7Zspox9yCbyltBNA23lgvalilPKzP1Xs3jA48PG2mBQ481d3xDT0r z8gL1y/rEZBdP149wBMUkhhPxqHFS5TSGVeHIFLE8IanyyEfydivAfTjeYSJ3WY95pCf mp/Egict1FI46OmbCGk4rSbeMB3Gz4KAeC/XgDSRjvPldHAjH3xqPeZ8kGdMce93pAxh bVqQbceqUTyWzinW8a628meT/BzerGlDpWZKJE/foETx5nHT/XtjkstEcDbgwBwPTADO gWDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b="n6bSNdT/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u6si44088783plz.220.2018.11.24.00.53.08; Sat, 24 Nov 2018 00:53:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b="n6bSNdT/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727280AbeKXI74 (ORCPT + 99 others); Sat, 24 Nov 2018 03:59:56 -0500 Received: from mail-pg1-f194.google.com ([209.85.215.194]:36090 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727261AbeKXI74 (ORCPT ); Sat, 24 Nov 2018 03:59:56 -0500 Received: by mail-pg1-f194.google.com with SMTP id n2so3540733pgm.3 for ; Fri, 23 Nov 2018 14:13:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=8tSzhgCt630THE9GUK2+HLehUtq7NDRnlvWXxDWD0us=; b=n6bSNdT/HbfBfdZlluqtyRQauRub0rrKbrnjbZm/kz6gNBcOWr0Px2x/yTlVuEqCN8 j/3kc5lyjqVNlXKz9OaDi5/4tVlwAfVj1Dn6X/a/oZHsixz/Mm3KGxxNW1WWUKgfK3lb q2FlMYYrolI4B4UpfJt2Y4Z2ShjDyDOGpHPGE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=8tSzhgCt630THE9GUK2+HLehUtq7NDRnlvWXxDWD0us=; b=Pp3h1nbPhbWFseZH0BoIBvtpKwlRv1IhYWx+igGGvkvlaCDQGiIfkApMvbtIJDoMvV voM5SuojpDYJUGKMLTvhyIWO+I5iODI1BsswIM6v8QrsxMIctb6kr+P6lD+5FroUZ/pq CmiN4xtl7Mcvv5CxxpDwVCIBLYOznWX3lPVCjhznYUhDm7gOdUMBD2BlRnrgtmQlmnEV iSkzElymzjY9Kcx7Xl2FaQ6RQ6RAFHMgyERLnK91E7p4Gejzo1OJZLOGb4N6E1Xrt5cW +qvSj7Y9eXSqPCgrqQvabswrUB0MMlYI9+3ZmJ37oRs0Lopexv6snGN+zR3cuwhFXC5V 099w== X-Gm-Message-State: AA+aEWZS3PFMGqaw84OICZ1h8Z2fsfqm2jgyC3DHi0NbYBmj7b1Zj10x //zkBsLxTEvALrxtf4q21e7n2g1JEVs= X-Received: by 2002:a65:40c5:: with SMTP id u5mr15227532pgp.46.1543011233183; Fri, 23 Nov 2018 14:13:53 -0800 (PST) Received: from localhost ([2620:0:1000:1601:3aef:314f:b9ea:889f]) by smtp.gmail.com with ESMTPSA id 85sm72752733pfw.17.2018.11.23.14.13.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 23 Nov 2018 14:13:52 -0800 (PST) Date: Fri, 23 Nov 2018 14:13:50 -0800 From: Joel Fernandes To: Steven Rostedt Cc: linux-kernel@vger.kernel.org, Ingo Molnar , Andrew Morton , Thomas Gleixner , Peter Zijlstra , Masami Hiramatsu , Josh Poimboeuf , Frederic Weisbecker , Andy Lutomirski , Mark Rutland Subject: Re: [RFC][PATCH 06/14] fgraph: Move function graph specific code into fgraph.c Message-ID: <20181123221350.GA203283@google.com> References: <20181122012708.491151844@goodmis.org> <20181122012803.442190047@goodmis.org> <20181123061133.GA195223@google.com> <20181123125834.1ddc367e@vmware.local.home> <20181123131138.2a1b0472@vmware.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181123131138.2a1b0472@vmware.local.home> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 23, 2018 at 01:11:38PM -0500, Steven Rostedt wrote: > On Fri, 23 Nov 2018 12:58:34 -0500 > Steven Rostedt wrote: > > > I think the better answer is to move it into trace_functions_graph.c. > > I take that back. I think the better answer is to not call that > function if the profiler is not set, nor have that option even > available. Because it has no meaning without the profiler. Agreed, that's better. Thanks, - Joel