mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
psi: Introduce ftrace events
Add ftrace events to capture per-zone memory stats when a trigger threshold is hit. Change-Id: Ic52a27713acd34090c8f99543408b277877015c7 Signed-off-by: Patrick Daly <[email protected]>
This commit is contained in:
parent
059aa413d9
commit
76cf078de1
3 changed files with 113 additions and 0 deletions
10
init/Kconfig
10
init/Kconfig
|
|
@ -588,6 +588,16 @@ config PSI_DEFAULT_DISABLED
|
|||
|
||||
Say N if unsure.
|
||||
|
||||
config PSI_FTRACE
|
||||
bool "Insert debug hooks for PSI ftrace events"
|
||||
default n
|
||||
depends on PSI
|
||||
help
|
||||
If not set, PSI ftrace events will be disabled and
|
||||
will not incur any performance penalty.
|
||||
If set, PSI ftrace events may be
|
||||
enabled.
|
||||
|
||||
endmenu # "CPU/Task time and stats accounting"
|
||||
|
||||
config CPU_ISOLATION
|
||||
|
|
|
|||
Loading…
Reference in a new issue