Commit 372e0d0
committed
ftrace: Check for empty hash and comment the race with registering probes
The race between adding a function probe and reading the probes that exist
is very subtle. It needs a comment. Also, the issue can also happen if the
probe has has the EMPTY_HASH as its func_hash.
Cc: [email protected]
Fixes: 7b60f3d ("ftrace: Dynamically create the probe ftrace_ops for the trace_array")
Signed-off-by: Steven Rostedt (VMware) <[email protected]>1 parent 7bd4664 commit 372e0d0
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3096 | 3096 | | |
3097 | 3097 | | |
3098 | 3098 | | |
3099 | | - | |
| 3099 | + | |
| 3100 | + | |
| 3101 | + | |
| 3102 | + | |
| 3103 | + | |
3100 | 3104 | | |
3101 | 3105 | | |
3102 | 3106 | | |
| |||
4324 | 4328 | | |
4325 | 4329 | | |
4326 | 4330 | | |
| 4331 | + | |
| 4332 | + | |
| 4333 | + | |
| 4334 | + | |
4327 | 4335 | | |
4328 | 4336 | | |
4329 | 4337 | | |
| |||
0 commit comments