trace_entries.h (27eb2c4b3d3e13f376a359e293c212a2e9407af5) trace_entries.h (bbedb179944c29e5e449603163eec9951116fe39)
1/*
2 * This file defines the trace event structures that go into the ring
3 * buffer directly. They are created via macros so that changes for them
4 * appear in the format file. Using macros will automate this process.
5 *
6 * The macro used to create a ftrace data structure is:
7 *
8 * FTRACE_ENTRY( name, struct_name, id, structure, print )

--- 209 unchanged lines hidden (view full) ---

218 TRACE_BPRINT,
219
220 F_STRUCT(
221 __field( unsigned long, ip )
222 __field( const char *, fmt )
223 __dynamic_array( u32, buf )
224 ),
225
1/*
2 * This file defines the trace event structures that go into the ring
3 * buffer directly. They are created via macros so that changes for them
4 * appear in the format file. Using macros will automate this process.
5 *
6 * The macro used to create a ftrace data structure is:
7 *
8 * FTRACE_ENTRY( name, struct_name, id, structure, print )

--- 209 unchanged lines hidden (view full) ---

218 TRACE_BPRINT,
219
220 F_STRUCT(
221 __field( unsigned long, ip )
222 __field( const char *, fmt )
223 __dynamic_array( u32, buf )
224 ),
225
226 F_printk("%pf: %s",
226 F_printk("%ps: %s",
227 (void *)__entry->ip, __entry->fmt),
228
229 FILTER_OTHER
230);
231
232FTRACE_ENTRY(print, print_entry,
233
234 TRACE_PRINT,
235
236 F_STRUCT(
237 __field( unsigned long, ip )
238 __dynamic_array( char, buf )
239 ),
240
227 (void *)__entry->ip, __entry->fmt),
228
229 FILTER_OTHER
230);
231
232FTRACE_ENTRY(print, print_entry,
233
234 TRACE_PRINT,
235
236 F_STRUCT(
237 __field( unsigned long, ip )
238 __dynamic_array( char, buf )
239 ),
240
241 F_printk("%pf: %s",
241 F_printk("%ps: %s",
242 (void *)__entry->ip, __entry->buf),
243
244 FILTER_OTHER
245);
246
247FTRACE_ENTRY(bputs, bputs_entry,
248
249 TRACE_BPUTS,
250
251 F_STRUCT(
252 __field( unsigned long, ip )
253 __field( const char *, str )
254 ),
255
242 (void *)__entry->ip, __entry->buf),
243
244 FILTER_OTHER
245);
246
247FTRACE_ENTRY(bputs, bputs_entry,
248
249 TRACE_BPUTS,
250
251 F_STRUCT(
252 __field( unsigned long, ip )
253 __field( const char *, str )
254 ),
255
256 F_printk("%pf: %s",
256 F_printk("%ps: %s",
257 (void *)__entry->ip, __entry->str),
258
259 FILTER_OTHER
260);
261
262FTRACE_ENTRY(mmiotrace_rw, trace_mmiotrace_rw,
263
264 TRACE_MMIO_RW,

--- 60 unchanged lines hidden ---
257 (void *)__entry->ip, __entry->str),
258
259 FILTER_OTHER
260);
261
262FTRACE_ENTRY(mmiotrace_rw, trace_mmiotrace_rw,
263
264 TRACE_MMIO_RW,

--- 60 unchanged lines hidden ---