From patchwork Tue Apr 22 14:24:20 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Drew Richardson X-Patchwork-Id: 28824 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f197.google.com (mail-ve0-f197.google.com [209.85.128.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9A12020341 for ; Tue, 22 Apr 2014 14:24:35 +0000 (UTC) Received: by mail-ve0-f197.google.com with SMTP id pa12sf26318397veb.4 for ; Tue, 22 Apr 2014 07:24:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:date:from:to:subject:message-id :mime-version:user-agent:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe:content-type:content-disposition; bh=KB+c2TzLPENu2FswKzX+Df+BezJTCebeUbmdZ9n8bUY=; b=S1jA3D+TM0JHaW1+DziwSdsN+wTyQ8lmqssxBuGL8icBU5PteS0EsgxYV1Na26a36Q eJemoeYTV46Hk9TePg3rtoRPjyfl98W7ZdWX5kws+u4k0tQFB9E1P6FA6fHEx/PFQKKs HAeVJlZ8PIB/vxLgQHYFg60Rx7dp1H8a6/ml7JMU1Ai7eBVNRH6HcMb9BsCv8iLw1yLj k6Vhr9hOrodU0HsH6I5vONKc/PNPFWS2LBd9ZOXDwvntRzXQucwTX2C0Q5gY83GgpDw/ +uUxwHl1eIWz8ttpjkq3Ipg0MLN0yR/5Qpfb3XuWYE/UU0kZpCdvMfPb0hLydzH4d54L qG0g== X-Gm-Message-State: ALoCoQkW3pQZYLl6Q9QYuIFTOYuajHbfn0Cuhh5BcYs1hluhFzSf6H76Tq4ofd3XqN5aoEATU52P X-Received: by 10.236.94.238 with SMTP id n74mr18261659yhf.27.1398176675322; Tue, 22 Apr 2014 07:24:35 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.86.170 with SMTP id p39ls124293qgd.49.gmail; Tue, 22 Apr 2014 07:24:35 -0700 (PDT) X-Received: by 10.52.126.107 with SMTP id mx11mr670385vdb.41.1398176675187; Tue, 22 Apr 2014 07:24:35 -0700 (PDT) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by mx.google.com with ESMTPS id mr9si6918938vec.119.2014.04.22.07.24.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Apr 2014 07:24:35 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.175; Received: by mail-ve0-f175.google.com with SMTP id oz11so9439238veb.20 for ; Tue, 22 Apr 2014 07:24:35 -0700 (PDT) X-Received: by 10.52.104.33 with SMTP id gb1mr503618vdb.45.1398176675119; Tue, 22 Apr 2014 07:24:35 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp28747vcb; Tue, 22 Apr 2014 07:24:34 -0700 (PDT) X-Received: by 10.68.129.34 with SMTP id nt2mr44877770pbb.18.1398176674055; Tue, 22 Apr 2014 07:24:34 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rb6si22942199pab.354.2014.04.22.07.24.33; Tue, 22 Apr 2014 07:24:33 -0700 (PDT) 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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756709AbaDVOYY (ORCPT + 26 others); Tue, 22 Apr 2014 10:24:24 -0400 Received: from fw-tnat.austin.arm.com ([217.140.110.23]:16542 "EHLO collaborate-mta1.arm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751165AbaDVOYV (ORCPT ); Tue, 22 Apr 2014 10:24:21 -0400 Received: from localhost (dreric01-precision-t1600.usa.arm.com [10.99.3.180]) by collaborate-mta1.arm.com (Postfix) with ESMTP id AF56713FB8B; Tue, 22 Apr 2014 09:24:20 -0500 (CDT) Date: Tue, 22 Apr 2014 07:24:20 -0700 From: Drew Richardson To: Thomas Gleixner , Frederic Weisbecker , Peter Zijlstra , Ingo Molnar , Andrew Morton , Joe Perches , Ben Greear , Christoph Hellwig , linux-kernel@vger.kernel.org, Pawel Moll Subject: [PATCH] Export irq tracepoints for use by kernel modules Message-ID: <20140422142419.GD21121@dreric01-Precision-T1600> MIME-Version: 1.0 User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: drew.richardson@arm.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Content-Disposition: inline After commit de7b2973903c6cc50b31ee5682a69b2219b9919d ("tracepoint: Use struct pointer instead of name hash for reg/unreg tracepoints"), any tracepoints used in a kernel module must be exported. Signed-off-by: Drew Richardson Acked-by: Pawel Moll --- kernel/softirq.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kernel/softirq.c b/kernel/softirq.c index b50990a5bea0..3a21a6c29406 100644 --- a/kernel/softirq.c +++ b/kernel/softirq.c @@ -30,6 +30,12 @@ #define CREATE_TRACE_POINTS #include +EXPORT_TRACEPOINT_SYMBOL_GPL(irq_handler_entry); +EXPORT_TRACEPOINT_SYMBOL_GPL(irq_handler_exit); +EXPORT_TRACEPOINT_SYMBOL_GPL(softirq_entry); +EXPORT_TRACEPOINT_SYMBOL_GPL(softirq_exit); +EXPORT_TRACEPOINT_SYMBOL_GPL(softirq_raise); + /* - No shared variables, all the data are CPU local. - If a softirq needs serialization, let it serialize itself