From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938895AbcIZJNZ (ORCPT ); Mon, 26 Sep 2016 05:13:25 -0400 Received: from mail-wm0-f45.google.com ([74.125.82.45]:37037 "EHLO mail-wm0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936366AbcIZJNV (ORCPT ); Mon, 26 Sep 2016 05:13:21 -0400 From: Dmitry Vyukov To: rostedt@goodmis.org, mingo@redhat.com, akpm@linux-foundation.org Cc: linux-kernel@vger.kernel.org, ryabinin.a.a@gmail.com, surovegin@google.com, Dmitry Vyukov , stable@vger.kernel.org, #@google.com, v4.6+@google.com Subject: [PATCH] scripts/recordmcount.c: account for .softirqentry.text Date: Mon, 26 Sep 2016 11:13:15 +0200 Message-Id: <1474881195-65910-1-git-send-email-dvyukov@google.com> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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; } -- 2.8.0.rc3.226.g39d4020