Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752403AbcDZTdA (ORCPT ); Tue, 26 Apr 2016 15:33:00 -0400 Received: from smtprelay0235.hostedemail.com ([216.40.44.235]:51618 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751772AbcDZTc7 (ORCPT ); Tue, 26 Apr 2016 15:32:59 -0400 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::::::,RULES_HIT:41:334:355:368:369:379:541:599:800:960:988:989:1260:1277:1311:1313:1314:1345:1359:1431:1434:1437:1515:1516:1518:1534:1539:1593:1594:1711:1730:1747:1777:1792:2194:2199:2393:2553:2559:2562:2897:3138:3139:3140:3141:3142:3352:3622:3865:3866:3868:3874:4250:4321:4605:5007:6261:7875:7903:7904:10004:10400:10848:10967:11026:11232:11473:11658:11914:12296:12438:12517:12519:12555:12740:13069:13311:13357:13439:14096:14097:14181:14659:14721:21080,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: stone37_19bce5e15363f X-Filterd-Recvd-Size: 1680 Date: Tue, 26 Apr 2016 15:32:55 -0400 From: Steven Rostedt To: Arnd Bergmann Cc: Rabin Vincent , Ingo Molnar , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] tracing: add support for tracing MMIO helpers Message-ID: <20160426153255.0fcb5f82@gandalf.local.home> In-Reply-To: <6253918.VUpbMrMy7R@wuerfel> References: <1461697482-32406-1-git-send-email-rabin@rab.in> <6253918.VUpbMrMy7R@wuerfel> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 762 Lines: 26 On Tue, 26 Apr 2016 21:14:47 +0200 Arnd Bergmann wrote: > > +/* This part must be outside protection */ > > +#include > > diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig > > index e45db6b0d878..feca834436c5 100644 > > --- a/kernel/trace/Kconfig > > +++ b/kernel/trace/Kconfig > > @@ -372,6 +372,22 @@ config STACK_TRACER > > > > Say N if unsure. > > > > +config TRACE_MMIO_HELPERS > > + bool "Support for tracing MMIO helpers" > > + select GENERIC_TRACER > > How about putting a whitelist of architectures here that are including > the necessary definitions? Or better, a HAVE_TRACE_MMIO_HELPERS > symbol that gets selected by architectures and that this depends on? > Agreed. -- Steve