2 #define TRACE_SYSTEM napi
4 #if !defined(LTTNG_TRACE_NAPI_H) || defined(TRACE_HEADER_MULTI_READ)
5 #define LTTNG_TRACE_NAPI_H
7 #include "../../../probes/lttng-tracepoint-event.h"
8 #include <linux/netdevice.h>
9 #include <linux/ftrace.h>
11 #define NO_DEV "(no_device)"
13 LTTNG_TRACEPOINT_EVENT(napi_poll
,
15 TP_PROTO(struct napi_struct
*napi
),
20 __field( struct napi_struct
*, napi
)
21 __string( dev_name
, napi
->dev
? napi
->dev
->name
: NO_DEV
)
26 tp_strcpy(dev_name
, napi
->dev
? napi
->dev
->name
: NO_DEV
)
29 TP_printk("napi poll on napi struct %p for device %s",
30 __entry
->napi
, __get_str(dev_name
))
35 #endif /* LTTNG_TRACE_NAPI_H */
37 /* This part must be outside protection */
38 #include "../../../probes/define_trace.h"
This page took 0.028676 seconds and 4 git commands to generate.