From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966421AbcIZPCt (ORCPT ); Mon, 26 Sep 2016 11:02:49 -0400 Received: from smtprelay0193.hostedemail.com ([216.40.44.193]:34661 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934931AbcIZPCr (ORCPT ); Mon, 26 Sep 2016 11:02:47 -0400 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::::::::::,RULES_HIT:41:355:379:541:599:800:960:973:982:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:3138:3139:3140:3141:3142:3352:3622:3865:3867:3868:3870:3872:3874:4250:4321:5007:6261:6690:7875:7903:10004:10400:10450:10455:10848:10967:11026:11232:11658:11914:12438:12555:12663:12740:12760:13069:13311:13357:13439:14096:14097:14181:14659:14721:19904:19999:21080:21433:21451:30001:30054:30090:30091,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:5,LUA_SUMMARY:none X-HE-Tag: story38_17cca3567e263 X-Filterd-Recvd-Size: 2418 Date: Mon, 26 Sep 2016 11:02:36 -0400 From: Steven Rostedt To: Dmitry Vyukov Cc: mingo@redhat.com, akpm@linux-foundation.org, linux-kernel@vger.kernel.org, ryabinin.a.a@gmail.com, surovegin@google.com, stable@vger.kernel.org Subject: Re: [PATCH] scripts/recordmcount.c: account for .softirqentry.text Message-ID: <20160926110236.67f71572@grimm.local.home> In-Reply-To: <1474881195-65910-1-git-send-email-dvyukov@google.com> References: <1474881195-65910-1-git-send-email-dvyukov@google.com> X-Mailer: Claws Mail 3.14.0 (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 On Mon, 26 Sep 2016 11:13:15 +0200 Dmitry Vyukov wrote: > Commit "arch, ftrace: for KASAN put hard/soft IRQ entries into separate sections" > added .softirqentry.text section, but it was not added to recordmcount. > So functions in the section are untracable. > Add the section to scripts/recordmcount.c. > > Fixes: be7635e7287e ("arch, ftrace: for KASAN put hard/soft IRQ entries into separate sections") > Cc: stable@vger.kernel.org # v4.6+ > Signed-off-by: Dmitry Vyukov I'm currently traveling and wont have time to process this any time soon. But it looks good to me. Acked-by: Steve Rostedt If someone else wants to pull this into their tree I'm fine with that. It doesn't look like I would have to run this through my test suite. I'm fine with the stable tag too. -- Steve > --- > scripts/recordmcount.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/scripts/recordmcount.c b/scripts/recordmcount.c > index 42396a7..a68f031 100644 > --- a/scripts/recordmcount.c > +++ b/scripts/recordmcount.c > @@ -363,6 +363,7 @@ is_mcounted_section_name(char const *const txtname) > strcmp(".sched.text", txtname) == 0 || > strcmp(".spinlock.text", txtname) == 0 || > strcmp(".irqentry.text", txtname) == 0 || > + strcmp(".softirqentry.text", txtname) == 0 || > strcmp(".kprobes.text", txtname) == 0 || > strcmp(".text.unlikely", txtname) == 0; > }