summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kernel/trace/latency_hist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/trace/latency_hist.c b/kernel/trace/latency_hist.c
index ce67060715e5..7c2661559f25 100644
--- a/kernel/trace/latency_hist.c
+++ b/kernel/trace/latency_hist.c
@@ -401,7 +401,8 @@ latency_hist_reset(struct file *file, const char __user *a,
return size;
}
-#ifdef CONFIG_WAKEUP_LATENCY_HIST
+#if defined(CONFIG_WAKEUP_LATENCY_HIST) || \
+ defined(CONFIG_MISSED_TIMER_OFFSETS_HIST)
static ssize_t
show_pid(struct file *file, char __user *ubuf, size_t cnt, loff_t *ppos)
{