Commit dd8b1cf6 authored by Frederic Weisbecker's avatar Frederic Weisbecker

perf: Remove pointless breakpoint union

Remove pointless union in the breakpoint field of hw_perf_event.
Signed-off-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
parent b67577df
...@@ -487,9 +487,8 @@ struct hw_perf_event { ...@@ -487,9 +487,8 @@ struct hw_perf_event {
struct hrtimer hrtimer; struct hrtimer hrtimer;
}; };
#ifdef CONFIG_HAVE_HW_BREAKPOINT #ifdef CONFIG_HAVE_HW_BREAKPOINT
union { /* breakpoint */ /* breakpoint */
struct arch_hw_breakpoint info; struct arch_hw_breakpoint info;
};
#endif #endif
}; };
atomic64_t prev_count; atomic64_t prev_count;
......
...@@ -520,11 +520,13 @@ config LOCK_STAT ...@@ -520,11 +520,13 @@ config LOCK_STAT
For more details, see Documentation/lockstat.txt For more details, see Documentation/lockstat.txt
You can analyze lock events with "perf lock", subcommand of perf. This also enables lock events required by "perf lock",
If you want to use "perf lock", you need to turn on CONFIG_EVENT_TRACING. 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_LOCK_STAT defines "contended" and "acquired" lock events.
(CONFIG_LOCKDEP defines "acquire" and "release" events.) (CONFIG_LOCKDEP defines "acquire" and "release" events.)
config DEBUG_LOCKDEP config DEBUG_LOCKDEP
bool "Lock dependency engine debugging" bool "Lock dependency engine debugging"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment