diff options
author | Yong Zhang <[email protected]> | 2010-04-06 14:35:03 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2010-04-07 08:38:04 -0700 |
commit | 57119c34e53bbb8d244c3ff1335ef5145768538f (patch) | |
tree | 829858c9c167a2da60b54f85d4c620e58fe42125 /tools/perf/util/trace-event-scripting.c | |
parent | bb1dc0bacb8ddd7ba6a5906c678a5a5a110cf695 (diff) |
ratelimit: fix the return value when __ratelimit() fails to acquire the lock
The log of commit edaac8e3167501cda336231d00611bf59c164346 ("ratelimit:
Fix/allow use in atomic contexts"), indicates that we want to suppress the
callback when the trylock fails.
Signed-off-by: Yong Zhang <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Christian Borntraeger <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions