diff options
Diffstat (limited to 'include/trace')
| -rw-r--r-- | include/trace/events/sched.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/trace/events/sched.h b/include/trace/events/sched.h index 5a8951cb4a10..f4ce46f0a4c4 100644 --- a/include/trace/events/sched.h +++ b/include/trace/events/sched.h @@ -703,6 +703,27 @@ TRACE_EVENT(sched_load_avg_cpu, TP_printk("cpu=%d load_avg=%lu util_avg=%lu", __entry->cpu, __entry->load_avg, __entry->util_avg) ); + +/* + * Tracepoint for sched_tune_config settings + */ +TRACE_EVENT(sched_tune_config, + + TP_PROTO(int boost), + + TP_ARGS(boost), + + TP_STRUCT__entry( + __field( int, boost ) + ), + + TP_fast_assign( + __entry->boost = boost; + ), + + TP_printk("boost=%d ", __entry->boost) +); + #endif /* _TRACE_SCHED_H */ /* This part must be outside protection */ |
