[linux] 01/02: [rt] latency_hist: Update sched_switch probe
debian-kernel at lists.debian.org
debian-kernel at lists.debian.org
Mon Jan 4 20:26:53 UTC 2016
This is an automated email from the git hooks/post-receive script.
benh pushed a commit to branch master
in repository linux.
commit 64474e57fdd89256a161e9ee06e86d0088daf322
Author: Ben Hutchings <ben at decadent.org.uk>
Date: Mon Jan 4 17:23:09 2016 +0000
[rt] latency_hist: Update sched_switch probe
---
debian/changelog | 1 +
.../latency_hist-update-sched_switch-probe.patch | 30 ++++++++++++++++++++++
debian/patches/series-rt | 1 +
3 files changed, 32 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index ae5a1d5..c3d5bef 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ linux (4.4~rc8-1~exp1) UNRELEASED; urgency=medium
[ Ben Hutchings ]
* [rt] Update to 4.4-rc6-rt1 and re-enable
* [rt] Fix build error in kernel/time/hrtimer.c
+ * [rt] latency_hist: Update sched_switch probe
* [armhf] Add support for BCM2836 and Raspberry Pi 2:
- pwm: bcm2835: Calculate scaler in ->config()
- pwm: bcm2835: Prevent division by zero
diff --git a/debian/patches/features/all/rt/latency_hist-update-sched_switch-probe.patch b/debian/patches/features/all/rt/latency_hist-update-sched_switch-probe.patch
new file mode 100644
index 0000000..e62a21f
--- /dev/null
+++ b/debian/patches/features/all/rt/latency_hist-update-sched_switch-probe.patch
@@ -0,0 +1,30 @@
+From: Ben Hutchings <ben at decadent.org.uk>
+Date: Mon, 04 Jan 2016 17:19:33 +0000
+Subject: latency_hist: Update sched_switch probe
+
+Commit c73464b1c843 ("sched/core: Fix trace_sched_switch()") adds a
+'bool preempt' parameter to probe functions, so change
+probe_wakeup_latency_hist_stop() accordingly..
+
+Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
+---
+--- a/kernel/trace/latency_hist.c
++++ b/kernel/trace/latency_hist.c
+@@ -116,7 +116,7 @@ static char *wakeup_latency_hist_dir = "
+ static char *wakeup_latency_hist_dir_sharedprio = "sharedprio";
+ static notrace void probe_wakeup_latency_hist_start(void *v,
+ struct task_struct *p);
+-static notrace void probe_wakeup_latency_hist_stop(void *v,
++static notrace void probe_wakeup_latency_hist_stop(void *v, bool preempt,
+ struct task_struct *prev, struct task_struct *next);
+ static notrace void probe_sched_migrate_task(void *,
+ struct task_struct *task, int cpu);
+@@ -906,7 +906,7 @@ out:
+ raw_spin_unlock_irqrestore(&wakeup_lock, flags);
+ }
+
+-static notrace void probe_wakeup_latency_hist_stop(void *v,
++static notrace void probe_wakeup_latency_hist_stop(void *v, bool preempt,
+ struct task_struct *prev, struct task_struct *next)
+ {
+ unsigned long flags;
diff --git a/debian/patches/series-rt b/debian/patches/series-rt
index 2e20989..6c26cd3 100644
--- a/debian/patches/series-rt
+++ b/debian/patches/series-rt
@@ -556,6 +556,7 @@ features/all/rt/workqueue-prevent-deadlock-stall.patch
# TRACING
features/all/rt/latency_hist-update-sched_wakeup-probe.patch
+features/all/rt/latency_hist-update-sched_switch-probe.patch
# Add RT to version
features/all/rt/localversion.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux.git
More information about the Kernel-svn-changes
mailing list