aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2020-02-10 13:11:42 -0800
committerGreg Kroah-Hartman <[email protected]>2020-02-12 14:15:53 -0800
commit239a5791ffd5559f51815df442c4dbbe7fc21ade (patch)
tree0dc0e53ea13d8395f1bf14b8def595b0d0cc1201 /tools/perf/scripts/python
parent3aef021b2df7d8440225a53460c0d34b140297d5 (diff)
dynamic_debug: allow to work if debugfs is disabled
With the realization that having debugfs enabled on "production" systems is generally not a good idea, debugfs is being disabled from more and more platforms over time. However, the functionality of dynamic debugging still is needed at times, and since it relies on debugfs for its user api, having debugfs disabled also forces dynamic debug to be disabled. To get around this, also create the "control" file for dynamic_debug in procfs. This allows people turn on debugging as needed at runtime for individual driverfs and subsystems. Reported-by: many different companies Cc: Jason Baron <[email protected]> Acked-by: Will Deacon <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions