#undef TRACE_SYSTEM #define TRACE_SYSTEM cpuhp #if !defined(_TRACE_CPUHP_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_CPUHP_H #include TRACE_EVENT(cpuhp_enter, TP_PROTO(unsigned int cpu, int target, int idx, int (*fun)(unsigned int)), TP_ARGS(cpu, target, idx, fun), TP_STRUCT__entry( __field( unsigned int, cpu ) __field( int, target ) __field( int, idx ) __field( void *, fun ) ), TP_fast_assign( __entry->cpu = cpu; __entry->target = target; __entry->idx = idx; __entry->fun = fun; ), TP_printk("cpu: %04u target: %3d step: %3d (%pf)", __entry->cpu, __entry->target, __entry->idx, __entry->fun) ); TRACE_EVENT(cpuhp_multi_enter, TP_PROTO(unsigned int cpu, int target, int idx, int (*fun)(unsigned int, struct hlist_node *), struct hlist_node *node), TP_ARGS(cpu, target, idx, fun, node), TP_STRUCT__entry( __field( unsigned int, cpu ) __field( int, target ) __field( int, idx ) __field( void *, fun ) ), TP_fast_assign( __entry->cpu = cpu; __entry->target = target; __entry->idx = idx; __entry->fun = fun; ), TP_printk("cpu: %04u target: %3d step: %3d (%pf)", __entry->cpu, __entry->target, __entry->idx, __entry->fun) ); TRACE_EVENT(cpuhp_exit, TP_PROTO(unsigned int cpu, int state, int idx, int ret), TP_ARGS(cpu, state, idx, ret), TP_STRUCT__entry( __field( unsigned int, cpu ) __field( int, state ) __field( int, idx ) __field( int, ret ) ), TP_fast_assign( __entry->cpu = cpu; __entry->state = state; __entry->idx = idx; __entry->ret = ret; ), TP_printk(" cpu: %04u state: %3d step: %3d ret: %d", __entry->cpu, __entry->state, __entry->idx, __entry->ret) ); #endif /* This part must be outside protection */ #include gs?id=8443075eacb51df8539916c4170d2fdfe7c81433'>treecommitdiff
diff options
context:
space:
mode:
authorRichard Guy Briggs <rgb@redhat.com>2016-11-10 01:39:49 -0500
committerPaul Moore <paul@paul-moore.com>2016-11-14 15:18:48 -0500
commit8443075eacb51df8539916c4170d2fdfe7c81433 (patch)
tree83d18d719f772ea91ceb4f6064e99bac32757f09 /include/dt-bindings
parentb4eb4f7f1a979552e0e9f54d0cef4abd0140beef (diff)
audit: tame initialization warning len_abuf in audit_log_execve_info
Tame initialization warning of len_abuf in audit_log_execve_info even though there isn't presently a bug introduced by commit 43761473c254 ("audit: fix a double fetch in audit_log_single_execve_arg()"). Using UNINITIALIZED_VAR instead may mask future bugs. Signed-off-by: Richard Guy Briggs <rgb@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'include/dt-bindings')