Skip to contentSkip to conversation

latency_hist: update sched_wakeup probe

RFC PATCH New Mathieu Desnoyers 1 participant 1 message Oct 25, 2015 Tracing

lore
Share & tools
lore

Mathieu Desnoyers

author reviewer
#0 lore raw

RFC PATCH 1/1 latency_hist: update sched_wakeup probe

"sched: Introduce the 'trace_sched_waking' tracepoint" introduces a prototype change for the sched_wakeup probe: the "success" argument is removed. Update the latency_hist probe following this change.

CC Thomas Gleixner <[email protected]>
CC Peter Zijlstra (Intel) <[email protected]>
CC Julien Desfossez <[email protected]>
CC Francis Giraldeau <[email protected]>
CC Mike Galbraith <[email protected]>
CC Steven Rostedt <[email protected]>
CC Ingo Molnar <[email protected]>
---
 kernel/trace/latency_hist.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/trace/latency_hist.c +2 -2
index 66a69eb..b6c1d14 100644
@@ -115,7 +115,7 @@ static DEFINE_PER_CPU(struct hist_data, wakeup_latency_hist_sharedprio);
 static char *wakeup_latency_hist_dir = "wakeup";
 static char *wakeup_latency_hist_dir_sharedprio = "sharedprio";
 static notrace void probe_wakeup_latency_hist_start(void *v,
-	struct task_struct *p, int success);
+	struct task_struct *p);
 static notrace void probe_wakeup_latency_hist_stop(void *v,
 	struct task_struct *prev, struct task_struct *next);
 static notrace void probe_sched_migrate_task(void *,
@@ -869,7 +869,7 @@ static notrace void probe_sched_migrate_task(void *v, struct task_struct *task,
 }
 
 static notrace void probe_wakeup_latency_hist_start(void *v,
-	struct task_struct *p, int success)
+	struct task_struct *p)
 {
 	unsigned long flags;
 	struct task_struct *curr = current;
Signature · 1 line
2.1.4