Linux Kernel Markers - Samples
Module example showing how to use the Linux Kernel Markers. [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
267c4025f2
commit
31155bc03e
@@ -61,7 +61,6 @@ struct marker {
|
||||
__attribute__((section("__markers"), aligned(8))) = \
|
||||
{ __mstrtab_name_##name, __mstrtab_format_##name, \
|
||||
0, __mark_empty_function, NULL }; \
|
||||
asm volatile("" : : "i" (&__mark_##name)); \
|
||||
__mark_check_format(format, ## args); \
|
||||
if (unlikely(__mark_##name.state)) { \
|
||||
preempt_disable(); \
|
||||
|
Reference in New Issue
Block a user