aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2010-02-27 11:10:39 -0500
committerFrederic Weisbecker <fweisbec@gmail.com>2010-02-27 11:10:39 -0500
commitdd8b1cf681eab40bc5afb67bdd06b2ca341f5669 (patch)
tree34bdaf2e7ba05c317edcfc09932daf42250cc260
parentb67577dfb45580c498bfdb1bc76c00c3b2ad6310 (diff)
perf: Remove pointless breakpoint union
Remove pointless union in the breakpoint field of hw_perf_event. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org>
-rw-r--r--include/linux/perf_event.h5
-rw-r--r--lib/Kconfig.debug8
2 files changed, 7 insertions, 6 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
index 7b18b4fd5df7..04f06b4be297 100644
--- a/include/linux/perf_event.h
+++ b/include/linux/perf_event.h
@@ -487,9 +487,8 @@ struct hw_perf_event {
487 struct hrtimer hrtimer; 487 struct hrtimer hrtimer;
488 }; 488 };
489#ifdef CONFIG_HAVE_HW_BREAKPOINT 489#ifdef CONFIG_HAVE_HW_BREAKPOINT
490 union { /* breakpoint */ 490 /* breakpoint */
491 struct arch_hw_breakpoint info; 491 struct arch_hw_breakpoint info;
492 };
493#endif 492#endif
494 }; 493 };
495 atomic64_t prev_count; 494 atomic64_t prev_count;
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 65f964e7fe78..4dc24cc13f5c 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -520,11 +520,13 @@ config LOCK_STAT
520 520
521 For more details, see Documentation/lockstat.txt 521 For more details, see Documentation/lockstat.txt
522 522
523 You can analyze lock events with "perf lock", subcommand of perf. 523 This also enables lock events required by "perf lock",
524 If you want to use "perf lock", you need to turn on CONFIG_EVENT_TRACING. 524 subcommand of perf.
525 If you want to use "perf lock", you also need to turn on
526 CONFIG_EVENT_TRACING.
525 527
526 CONFIG_LOCK_STAT defines "contended" and "acquired" lock events. 528 CONFIG_LOCK_STAT defines "contended" and "acquired" lock events.
527 (CONFIG_LOCKDEP defines "acquire" and "release" events.) 529 (CONFIG_LOCKDEP defines "acquire" and "release" events.)
528 530
529config DEBUG_LOCKDEP 531config DEBUG_LOCKDEP
530 bool "Lock dependency engine debugging" 532 bool "Lock dependency engine debugging"