From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 73DF4ECAAD3 for ; Thu, 1 Sep 2022 10:49:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233734AbiIAKtQ (ORCPT ); Thu, 1 Sep 2022 06:49:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229495AbiIAKtL (ORCPT ); Thu, 1 Sep 2022 06:49:11 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4C9B26122 for ; Thu, 1 Sep 2022 03:49:10 -0700 (PDT) Received: from dggpemm500023.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4MJHm06m4gznTxK; Thu, 1 Sep 2022 18:46:40 +0800 (CST) Received: from dggpemm500016.china.huawei.com (7.185.36.25) by dggpemm500023.china.huawei.com (7.185.36.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Thu, 1 Sep 2022 18:49:08 +0800 Received: from huawei.com (10.67.175.41) by dggpemm500016.china.huawei.com (7.185.36.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Thu, 1 Sep 2022 18:49:08 +0800 From: Yipeng Zou To: , , , , , , CC: , , Subject: [PATCH 0/2] riscv: tracing: Improve hardirq tracing message Date: Thu, 1 Sep 2022 18:45:13 +0800 Message-ID: <20220901104515.135162-1-zouyipeng@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.175.41] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpemm500016.china.huawei.com (7.185.36.25) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Currently, hardirq tracing log in riscv showing the last {enabled,disabled} at __trace_hardirqs_{on,off} all the time. We can use trace_hardirqs_on_caller to display the caller we really want to see. Yipeng Zou (2): tracing: hold caller_addr to hardirq_{enable,disable}_ip riscv: tracing: Improve hardirq tracing message arch/riscv/kernel/trace_irq.c | 4 ++-- include/linux/irqflags.h | 2 ++ kernel/trace/trace_preemptirq.c | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) -- 2.17.1