mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Drew Richardson <drew.richardson@arm.com>
To: Jens Axboe <axboe@kernel.dk>,
	linux-kernel@vger.kernel.org, Pawel Moll <pawel.moll@arm.com>
Subject: [PATCH] Export block tracepoints for use by kernel modules
Date: Tue, 22 Apr 2014 07:23:41 -0700	[thread overview]
Message-ID: <20140422142341.GC21121@dreric01-Precision-T1600> (raw)

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 <drew.richardson@arm.com>
Acked-by: Pawel Moll <pawel.moll@arm.com>
---
 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);
 
-- 
1.8.3.2


             reply	other threads:[~2014-04-22 14:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-22 14:23 Drew Richardson [this message]
2014-04-22 16:01 ` Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140422142341.GC21121@dreric01-Precision-T1600 \
    --to=drew.richardson@arm.com \
    --cc=axboe@kernel.dk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pawel.moll@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®