trace_entries.h (c441bfb5f2866de71e092c1b9d866a65978dfe1a) | trace_entries.h (bce29ac9ce0bb0b0b146b687ab978378c21e9078) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * This file defines the trace event structures that go into the ring 4 * buffer directly. They are created via macros so that changes for them 5 * appear in the format file. Using macros will automate this process. 6 * 7 * The macro used to create a ftrace data structure is: 8 * --- 346 unchanged lines hidden (view full) --- 355 ), 356 357 F_printk(" %ps <-%ps\t(repeats:%u delta: -%llu)", 358 (void *)__entry->ip, 359 (void *)__entry->parent_ip, 360 __entry->count, 361 FUNC_REPEATS_GET_DELTA_TS(__entry)) 362); | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * This file defines the trace event structures that go into the ring 4 * buffer directly. They are created via macros so that changes for them 5 * appear in the format file. Using macros will automate this process. 6 * 7 * The macro used to create a ftrace data structure is: 8 * --- 346 unchanged lines hidden (view full) --- 355 ), 356 357 F_printk(" %ps <-%ps\t(repeats:%u delta: -%llu)", 358 (void *)__entry->ip, 359 (void *)__entry->parent_ip, 360 __entry->count, 361 FUNC_REPEATS_GET_DELTA_TS(__entry)) 362); |
363 364FTRACE_ENTRY(osnoise, osnoise_entry, 365 366 TRACE_OSNOISE, 367 368 F_STRUCT( 369 __field( u64, noise ) 370 __field( u64, runtime ) 371 __field( u64, max_sample ) 372 __field( unsigned int, hw_count ) 373 __field( unsigned int, nmi_count ) 374 __field( unsigned int, irq_count ) 375 __field( unsigned int, softirq_count ) 376 __field( unsigned int, thread_count ) 377 ), 378 379 F_printk("noise:%llu\tmax_sample:%llu\thw:%u\tnmi:%u\tirq:%u\tsoftirq:%u\tthread:%u\n", 380 __entry->noise, 381 __entry->max_sample, 382 __entry->hw_count, 383 __entry->nmi_count, 384 __entry->irq_count, 385 __entry->softirq_count, 386 __entry->thread_count) 387); |
|