4 * Test tracepoint probes.
7 #include <linux/module.h>
9 #include <linux/ltt-type-serializer.h>
11 /* kernel_trap_entry specialized tracepoint probe */
13 struct serialize_long_long
{
16 unsigned char end_field
[0];
19 void probe_test(void *a
, void *b
);
21 DEFINE_MARKER_TP(kernel
, test
, kernel_test
,
22 probe_test
, "f1 %p f2 %p");
24 notrace
void probe_test(void *a
, void *b
)
26 struct marker
*marker
;
27 struct serialize_long_long data
;
32 marker
= &GET_MARKER(kernel
, test
);
33 ltt_specialized_trace(marker
, marker
->single
.probe_private
,
34 &data
, serialize_sizeof(data
), sizeof(long));
37 MODULE_LICENSE("GPL");
38 MODULE_AUTHOR("Mathieu Desnoyers");
39 MODULE_DESCRIPTION("Test Tracepoint Probes");
This page took 0.029129 seconds and 4 git commands to generate.