* [md:for-next 29/29] ERROR: "__tracepoint_block_unplug" [drivers/md/raid456.ko] undefined!
@ 2012-09-24 8:15 Fengguang Wu
2012-09-24 23:34 ` NeilBrown
0 siblings, 1 reply; 2+ messages in thread
From: Fengguang Wu @ 2012-09-24 8:15 UTC (permalink / raw)
To: kernel-janitors
Hi NeilBrown,
FYI, kernel build failed on
tree: git://neil.brown.name/md for-next/14817e9
head: 14817e9a6dab027db44783d28429d14f601547a2
commit: 14817e9a6dab027db44783d28429d14f601547a2 [29/29] md/raid5: add blktrace calls
config: sparc64-defconfig
ERROR: "__tracepoint_block_unplug" [drivers/md/raid456.ko] undefined!
The root cause is, the block trace points are only available when
block/blk-core.c is compiled in.
---
0-DAY kernel build testing backend Open Source Technology Centre
Fengguang Wu <wfg@linux.intel.com> Intel Corporation
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [md:for-next 29/29] ERROR: "__tracepoint_block_unplug" [drivers/md/raid456.ko] undefined!
2012-09-24 8:15 [md:for-next 29/29] ERROR: "__tracepoint_block_unplug" [drivers/md/raid456.ko] undefined! Fengguang Wu
@ 2012-09-24 23:34 ` NeilBrown
0 siblings, 0 replies; 2+ messages in thread
From: NeilBrown @ 2012-09-24 23:34 UTC (permalink / raw)
To: kernel-janitors
[-- Attachment #1: Type: text/plain, Size: 1224 bytes --]
On Mon, 24 Sep 2012 16:15:13 +0800 Fengguang Wu <fengguang.wu@intel.com>
wrote:
> Hi NeilBrown,
>
> FYI, kernel build failed on
>
> tree: git://neil.brown.name/md for-next/14817e9
> head: 14817e9a6dab027db44783d28429d14f601547a2
> commit: 14817e9a6dab027db44783d28429d14f601547a2 [29/29] md/raid5: add blktrace calls
> config: sparc64-defconfig
>
> ERROR: "__tracepoint_block_unplug" [drivers/md/raid456.ko] undefined!
>
> The root cause is, the block trace points are only available when
> block/blk-core.c is compiled in.
Hi,
thanks for this.
blk-core must be compiled in, else raid456 wouldn't get compiled
CONFIG_MD_RAID456 eventually depends on CONFIG_BLOCK.
The problem is simply that tracepoint_block_unplug hasn't been exported.
This fixes it:
diff --git a/block/blk-core.c b/block/blk-core.c
index 4b4dbdf..ef55ae0 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -40,6 +40,7 @@
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);
DEFINE_IDA(blk_queue_ida);
I'll see if Jens will take it.
Thanks,
NeilBrown
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-09-24 23:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-24 8:15 [md:for-next 29/29] ERROR: "__tracepoint_block_unplug" [drivers/md/raid456.ko] undefined! Fengguang Wu
2012-09-24 23:34 ` NeilBrown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox