lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140422142341.GC21121@dreric01-Precision-T1600>
Date:	Tue, 22 Apr 2014 07:23:41 -0700
From:	Drew Richardson <drew.richardson@....com>
To:	Jens Axboe <axboe@...nel.dk>, linux-kernel@...r.kernel.org,
	Pawel Moll <pawel.moll@....com>
Subject: [PATCH] Export block tracepoints for use by kernel modules

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@....com>
Acked-by: Pawel Moll <pawel.moll@....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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ