Commit eb1f002
Peter Zijlstra
lockdep,trace: Expose tracepoints
The lockdep tracepoints are under the lockdep recursion counter, this
has a bunch of nasty side effects:
- TRACE_IRQFLAGS doesn't work across the entire tracepoint
- RCU-lockdep doesn't see the tracepoints either, hiding numerous
"suspicious RCU usage" warnings.
Pull the trace_lock_*() tracepoints completely out from under the
lockdep recursion handling and completely rely on the trace level
recusion handling -- also, tracing *SHOULD* not be taking locks in any
case.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Steven Rostedt (VMware) <[email protected]>
Reviewed-by: Thomas Gleixner <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
Tested-by: Marco Elver <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]1 parent 044d0d6 commit eb1f002
1 file changed
+9
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4977 | 4977 | | |
4978 | 4978 | | |
4979 | 4979 | | |
| 4980 | + | |
| 4981 | + | |
4980 | 4982 | | |
4981 | 4983 | | |
4982 | 4984 | | |
| |||
5001 | 5003 | | |
5002 | 5004 | | |
5003 | 5005 | | |
5004 | | - | |
5005 | 5006 | | |
5006 | 5007 | | |
5007 | 5008 | | |
| |||
5013 | 5014 | | |
5014 | 5015 | | |
5015 | 5016 | | |
| 5017 | + | |
| 5018 | + | |
5016 | 5019 | | |
5017 | 5020 | | |
5018 | 5021 | | |
5019 | 5022 | | |
5020 | 5023 | | |
| 5024 | + | |
5021 | 5025 | | |
5022 | | - | |
5023 | 5026 | | |
5024 | 5027 | | |
5025 | 5028 | | |
| |||
5205 | 5208 | | |
5206 | 5209 | | |
5207 | 5210 | | |
5208 | | - | |
5209 | | - | |
5210 | 5211 | | |
5211 | 5212 | | |
5212 | 5213 | | |
| |||
5225 | 5226 | | |
5226 | 5227 | | |
5227 | 5228 | | |
| 5229 | + | |
| 5230 | + | |
5228 | 5231 | | |
5229 | 5232 | | |
5230 | 5233 | | |
| |||
5234 | 5237 | | |
5235 | 5238 | | |
5236 | 5239 | | |
5237 | | - | |
5238 | 5240 | | |
5239 | 5241 | | |
5240 | 5242 | | |
| |||
5245 | 5247 | | |
5246 | 5248 | | |
5247 | 5249 | | |
| 5250 | + | |
| 5251 | + | |
5248 | 5252 | | |
5249 | 5253 | | |
5250 | 5254 | | |
| |||
0 commit comments