From patchwork Tue Apr 22 14:23:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Drew Richardson X-Patchwork-Id: 28823 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f198.google.com (mail-yk0-f198.google.com [209.85.160.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2F8A720341 for ; Tue, 22 Apr 2014 14:23:55 +0000 (UTC) Received: by mail-yk0-f198.google.com with SMTP id 9sf15250494ykp.5 for ; Tue, 22 Apr 2014 07:23:54 -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=WxZqRcjhU1hKGhoEFueQ4qW2mY49zfAJ7NqRseY+lqA=; b=gom+QZBkVzLzOMkvreHm+Kioh5Z2GbHdIahYbA8eTe+sK8GlFpQ6dfEbmnAIfX32W1 tlifuxIlBgKtMFAF0PzshqV139RqRaWTR8Bgz+aCiynwWq+YVHCCJm9IoBCLHdDe41/y wb5z1JBjkLKX3tTb/hC8eS+/85ycAAviBGs4FjOaHd+hWuJr12ngBDdy/1Wzx/mYkvj9 PK19dFXq/nd3u2srQgH/H+Fz4wBswsVe6/CwNr/FOjaQkWQ1PfYS8wktFBTPdRYfCxWF OBzZ8fvzU+l0tgAfsDc4+5opjAHwVe9jOX0KO7X0/PNB61TsI/Vuv9wIAmc37RF/jHAO qUIg== X-Gm-Message-State: ALoCoQnsAe/J60xYTuZgyq7+0cdEkRfPqWaBbfwDCEc03HwEkvFR6ogCB25lL6Isu6TMFlKRCTv4 X-Received: by 10.52.143.35 with SMTP id sb3mr17501949vdb.7.1398176634788; Tue, 22 Apr 2014 07:23:54 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.92.48 with SMTP id a45ls124124qge.72.gmail; Tue, 22 Apr 2014 07:23:54 -0700 (PDT) X-Received: by 10.52.18.68 with SMTP id u4mr240919vdd.58.1398176634485; Tue, 22 Apr 2014 07:23:54 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id ej2si6926650veb.149.2014.04.22.07.23.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Apr 2014 07:23:54 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id id10so2593337vcb.26 for ; Tue, 22 Apr 2014 07:23:54 -0700 (PDT) X-Received: by 10.52.104.33 with SMTP id gb1mr501765vdb.45.1398176634392; Tue, 22 Apr 2014 07:23:54 -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 ib8csp28703vcb; Tue, 22 Apr 2014 07:23:54 -0700 (PDT) X-Received: by 10.68.163.197 with SMTP id yk5mr44651825pbb.57.1398176633713; Tue, 22 Apr 2014 07:23:53 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bs8si22945217pad.94.2014.04.22.07.23.53; Tue, 22 Apr 2014 07:23:53 -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 S1756699AbaDVOXo (ORCPT + 26 others); Tue, 22 Apr 2014 10:23:44 -0400 Received: from fw-tnat.austin.arm.com ([217.140.110.23]:14973 "EHLO collaborate-mta1.arm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751243AbaDVOXm (ORCPT ); Tue, 22 Apr 2014 10:23:42 -0400 Received: from localhost (dreric01-precision-t1600.usa.arm.com [10.99.3.180]) by collaborate-mta1.arm.com (Postfix) with ESMTP id 6781613F91C; Tue, 22 Apr 2014 09:23:42 -0500 (CDT) Date: Tue, 22 Apr 2014 07:23:41 -0700 From: Drew Richardson To: Jens Axboe , linux-kernel@vger.kernel.org, Pawel Moll Subject: [PATCH] Export block tracepoints for use by kernel modules Message-ID: <20140422142341.GC21121@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.220.181 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 --- block/blk-core.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/block/blk-core.c b/block/blk-core.c index a0e3096c4bb5..a23f958ef20a 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -44,6 +44,21 @@ EXPORT_TRACEPOINT_SYMBOL_GPL(block_bio_remap); EXPORT_TRACEPOINT_SYMBOL_GPL(block_rq_remap); EXPORT_TRACEPOINT_SYMBOL_GPL(block_bio_complete); EXPORT_TRACEPOINT_SYMBOL_GPL(block_unplug); +EXPORT_TRACEPOINT_SYMBOL_GPL(block_touch_buffer); +EXPORT_TRACEPOINT_SYMBOL_GPL(block_dirty_buffer); +EXPORT_TRACEPOINT_SYMBOL_GPL(block_rq_abort); +EXPORT_TRACEPOINT_SYMBOL_GPL(block_rq_requeue); +EXPORT_TRACEPOINT_SYMBOL_GPL(block_rq_complete); +EXPORT_TRACEPOINT_SYMBOL_GPL(block_rq_insert); +EXPORT_TRACEPOINT_SYMBOL_GPL(block_rq_issue); +EXPORT_TRACEPOINT_SYMBOL_GPL(block_bio_bounce); +EXPORT_TRACEPOINT_SYMBOL_GPL(block_bio_backmerge); +EXPORT_TRACEPOINT_SYMBOL_GPL(block_bio_frontmerge); +EXPORT_TRACEPOINT_SYMBOL_GPL(block_bio_queue); +EXPORT_TRACEPOINT_SYMBOL_GPL(block_getrq); +EXPORT_TRACEPOINT_SYMBOL_GPL(block_sleeprq); +EXPORT_TRACEPOINT_SYMBOL_GPL(block_plug); +EXPORT_TRACEPOINT_SYMBOL_GPL(block_split); DEFINE_IDA(blk_queue_ida);