Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187835
b: refs/heads/master
c: dd8b1cf
h: refs/heads/master
i:
  187833: 228d303
  187831: 78246ab
v: v3
  • Loading branch information
Frederic Weisbecker committed Feb 27, 2010
1 parent be82144 commit 227b79e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b67577dfb45580c498bfdb1bc76c00c3b2ad6310
refs/heads/master: dd8b1cf681eab40bc5afb67bdd06b2ca341f5669
5 changes: 2 additions & 3 deletions trunk/include/linux/perf_event.h
Original file line number Diff line number Diff line change
Expand Up @@ -487,9 +487,8 @@ struct hw_perf_event {
struct hrtimer hrtimer;
};
#ifdef CONFIG_HAVE_HW_BREAKPOINT
union { /* breakpoint */
struct arch_hw_breakpoint info;
};
/* breakpoint */
struct arch_hw_breakpoint info;
#endif
};
atomic64_t prev_count;
Expand Down
8 changes: 5 additions & 3 deletions trunk/lib/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -520,11 +520,13 @@ 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.)
(CONFIG_LOCKDEP defines "acquire" and "release" events.)

config DEBUG_LOCKDEP
bool "Lock dependency engine debugging"
Expand Down

0 comments on commit 227b79e

Please sign in to comment.