linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* trace/latency-hist: Consider new argument when probing the sched_switch tracer
@ 2016-01-05  9:21 Carsten Emde
  2016-01-13 15:45 ` Sebastian Andrzej Siewior
  0 siblings, 1 reply; 6+ messages in thread
From: Carsten Emde @ 2016-01-05  9:21 UTC (permalink / raw)
  To: Thomas Gleixner, Sebastian Andrzej Siewior; +Cc: Linux RT Users

Hi Thomas & Sebastian,

The sched_switch tracer has got a new argument. Fix the latency tracer
accordingly.

Thanks,
    -Carsten.

Signed-off-by: Carsten Emde <C.Emde@osadl.org>

---
 kernel/trace/latency_hist.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: linux-4.4.0-rc6-rt1/kernel/trace/latency_hist.c
===================================================================
--- linux-4.4.0-rc6-rt1.orig/kernel/trace/latency_hist.c
+++ linux-4.4.0-rc6-rt1/kernel/trace/latency_hist.c
@@ -117,7 +117,7 @@ static char *wakeup_latency_hist_dir_sha
 static notrace void probe_wakeup_latency_hist_start(void *v,
 	struct task_struct *p);
 static notrace void probe_wakeup_latency_hist_stop(void *v,
-	struct task_struct *prev, struct task_struct *next);
+	bool preempt, struct task_struct *prev, struct task_struct *next);
 static notrace void probe_sched_migrate_task(void *,
 	struct task_struct *task, int cpu);
 static struct enable_data wakeup_latency_enabled_data = {
@@ -907,7 +907,7 @@ out:
 }

 static notrace void probe_wakeup_latency_hist_stop(void *v,
-	struct task_struct *prev, struct task_struct *next)
+	bool preempt, struct task_struct *prev, struct task_struct *next)
 {
 	unsigned long flags;
 	int cpu = task_cpu(next);

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-01-15 14:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-05  9:21 trace/latency-hist: Consider new argument when probing the sched_switch tracer Carsten Emde
2016-01-13 15:45 ` Sebastian Andrzej Siewior
2016-01-13 15:51   ` Steven Rostedt
2016-01-13 16:08     ` Sebastian Andrzej Siewior
2016-01-15 11:30       ` Carsten Emde
2016-01-15 14:05         ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).