Skip to contentSkip to conversation

lttng-module: block.h : Fix build for 3.9 kernel

PATCH Maxin B. John 1 participant 1 message Mar 25, 2013 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 20130325133334.GA32008@Krystal

#1 lore raw
Quoted 9 lines · Mathieu Desnoyers
Quoted 8 lines · * [email protected] ([email protected]) wrote:

From: "Maxin B. John" <[email protected]>
commit :3a366e614d0837d9fc23f78cdb1a1186ebc3387f
block: add missing block_bio_complete() tracepoint
added block_bio_complete to 3.9 kernel
commit : 8c1cf6bb02fda79b0a4b9bd121f6be6d4ce7a15a
block: add @req to bio_{front|back}_merge tracepoints
added block_bio_backmerge and block_bio_frontmerge to 3.9 kernel Update block.h based on these commits in mainline kernel

Quoted 3 lines

Disabling the event prior to 3.9.0 does not seem to be the proper solution. We should rather #ifdef the old/new TRACE_EVENT definitions to accept the proper number of arguments for each kernel.

Thank you very much for the review comments.I will update it
accordingly.

Quoted 2 lines

Thanks,
Mathieu

Best Regards,
Maxin