Loading include/linux/perf_event.h +2 −3 Original line number Diff line number Diff line Loading @@ -487,9 +487,8 @@ struct hw_perf_event { struct hrtimer hrtimer; }; #ifdef CONFIG_HAVE_HW_BREAKPOINT union { /* breakpoint */ /* breakpoint */ struct arch_hw_breakpoint info; }; #endif }; atomic64_t prev_count; Loading lib/Kconfig.debug +5 −3 Original line number Diff line number Diff line Loading @@ -520,8 +520,10 @@ config LOCK_STAT For more details, see Documentation/lockstat.txt You can analyze lock events with "perf lock", subcommand of perf. If you want to use "perf lock", you need to turn on CONFIG_EVENT_TRACING. This also enables lock events required by "perf lock", subcommand of perf. If you want to use "perf lock", you also need to turn on CONFIG_EVENT_TRACING. CONFIG_LOCK_STAT defines "contended" and "acquired" lock events. (CONFIG_LOCKDEP defines "acquire" and "release" events.) Loading Loading
include/linux/perf_event.h +2 −3 Original line number Diff line number Diff line Loading @@ -487,9 +487,8 @@ struct hw_perf_event { struct hrtimer hrtimer; }; #ifdef CONFIG_HAVE_HW_BREAKPOINT union { /* breakpoint */ /* breakpoint */ struct arch_hw_breakpoint info; }; #endif }; atomic64_t prev_count; Loading
lib/Kconfig.debug +5 −3 Original line number Diff line number Diff line Loading @@ -520,8 +520,10 @@ config LOCK_STAT For more details, see Documentation/lockstat.txt You can analyze lock events with "perf lock", subcommand of perf. If you want to use "perf lock", you need to turn on CONFIG_EVENT_TRACING. This also enables lock events required by "perf lock", subcommand of perf. If you want to use "perf lock", you also need to turn on CONFIG_EVENT_TRACING. CONFIG_LOCK_STAT defines "contended" and "acquired" lock events. (CONFIG_LOCKDEP defines "acquire" and "release" events.) Loading