xref: /linux/kernel/trace/rv/monitors/wakeup/Kconfig (revision 55ee4b931a7ffedc886175d265dd6e6d08fd4151)
1*6fdaab4eSNam Cao# SPDX-License-Identifier: GPL-2.0-only
2*6fdaab4eSNam Cao#
3*6fdaab4eSNam Caoconfig RV_MON_WAKEUP
4*6fdaab4eSNam Cao	depends on RV
5*6fdaab4eSNam Cao	depends on RV_MON_RTAPP
6*6fdaab4eSNam Cao	depends on HAVE_SYSCALL_TRACEPOINTS
7*6fdaab4eSNam Cao	default y
8*6fdaab4eSNam Cao	select LTL_MON_EVENTS_ID
9*6fdaab4eSNam Cao	bool "wakeup monitor"
10*6fdaab4eSNam Cao	help
11*6fdaab4eSNam Cao	  This monitor detects a lower-priority task waking up a
12*6fdaab4eSNam Cao	  higher-priority task. The RV_MON_SLEEP monitor already
13*6fdaab4eSNam Cao	  detects this case, but this monitor detects in the context
14*6fdaab4eSNam Cao	  of the waker task instead. This and RV_MON_SLEEP can be
15*6fdaab4eSNam Cao	  enabled together to get the stacktrace of both the waker
16*6fdaab4eSNam Cao	  task and the wakee task.
17