summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2016-12-26 00:01:42 -0500
committerPaul Gortmaker <paul.gortmaker@windriver.com>2016-12-26 00:01:42 -0500
commit48789f5f7d059bdd7de6440894e1333e144ae83a (patch)
treee1bc8f7f6c188a718dce69dcbb733cf04767b97c
parentc9f1d22386359c70c13365fcd9e4b16ab4d0ad81 (diff)
download4.9-rt-patches-48789f5f7d059bdd7de6440894e1333e144ae83a.tar.gz
latency-hist: import trivial Kconfig ctxt refreshrt-v4.8-9031-g95107b30be68
-rw-r--r--patches/latency-hist.patch16
1 files changed, 8 insertions, 8 deletions
diff --git a/patches/latency-hist.patch b/patches/latency-hist.patch
index 169c81d1f07b2f..7469413e997426 100644
--- a/patches/latency-hist.patch
+++ b/patches/latency-hist.patch
@@ -236,7 +236,7 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
int start_pid;
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
-@@ -1892,6 +1892,12 @@ struct task_struct {
+@@ -1917,6 +1917,12 @@ struct task_struct {
/* bitmask and counter of trace recursion */
unsigned long trace_recursion;
#endif /* CONFIG_TRACING */
@@ -411,7 +411,7 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* minimizing wakeups, not running timers at the
--- a/kernel/trace/Kconfig
+++ b/kernel/trace/Kconfig
-@@ -187,6 +187,24 @@ config IRQSOFF_TRACER
+@@ -182,6 +182,24 @@ config IRQSOFF_TRACER
enabled. This option and the preempt-off timing option can be
used together or separately.)
@@ -436,7 +436,7 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
config PREEMPT_TRACER
bool "Preemption-off Latency Tracer"
default n
-@@ -212,6 +230,24 @@ config PREEMPT_TRACER
+@@ -206,6 +224,24 @@ config PREEMPT_TRACER
enabled. This option and the irqs-off timing option can be
used together or separately.)
@@ -461,9 +461,9 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
config SCHED_TRACER
bool "Scheduling Latency Tracer"
select GENERIC_TRACER
-@@ -222,6 +258,74 @@ config SCHED_TRACER
- This tracer tracks the latency of the highest priority task
- to be scheduled in, starting from the point it has woken up.
+@@ -251,6 +287,74 @@ config HWLAT_TRACER
+ file. Every time a latency is greater than tracing_thresh, it will
+ be recorded into the ring buffer.
+config WAKEUP_LATENCY_HIST
+ bool "Scheduling Latency Histogram"
@@ -538,10 +538,10 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
depends on !GENERIC_TRACER
--- a/kernel/trace/Makefile
+++ b/kernel/trace/Makefile
-@@ -37,6 +37,10 @@ obj-$(CONFIG_FUNCTION_TRACER) += trace_f
- obj-$(CONFIG_IRQSOFF_TRACER) += trace_irqsoff.o
+@@ -38,6 +38,10 @@ obj-$(CONFIG_IRQSOFF_TRACER) += trace_ir
obj-$(CONFIG_PREEMPT_TRACER) += trace_irqsoff.o
obj-$(CONFIG_SCHED_TRACER) += trace_sched_wakeup.o
+ obj-$(CONFIG_HWLAT_TRACER) += trace_hwlat.o
+obj-$(CONFIG_INTERRUPT_OFF_HIST) += latency_hist.o
+obj-$(CONFIG_PREEMPT_OFF_HIST) += latency_hist.o
+obj-$(CONFIG_WAKEUP_LATENCY_HIST) += latency_hist.o