• Ingo Molnar's avatar
    tracing: fix warnings in kernel/trace/trace_sched_switch.c · c71dd42d
    Ingo Molnar authored
    these warnings:
    
      kernel/trace/trace_sched_switch.c: In function ‘tracing_sched_register’:
      kernel/trace/trace_sched_switch.c:96: warning: passing argument 1 of ‘register_trace_sched_wakeup_new’ from incompatible pointer type
      kernel/trace/trace_sched_switch.c:112: warning: passing argument 1 of ‘unregister_trace_sched_wakeup_new’ from incompatible pointer type
      kernel/trace/trace_sched_switch.c: In function ‘tracing_sched_unregister’:
      kernel/trace/trace_sched_switch.c:121: warning: passing argument 1 of ‘unregister_trace_sched_wakeup_new’ from incompatible pointer type
    
    Trigger because sched_wakeup_new tracepoints need the same trace
    signature as sched_wakeup - which was changed recently.
    
    Fix it.
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    c71dd42d
sched.h 1.28 KB