diff options
author | Masami Hiramatsu <[email protected]> | 2018-01-14 22:50:36 +0900 |
---|---|---|
committer | Shuah Khan <[email protected]> | 2018-01-16 09:29:33 -0700 |
commit | 9739cee6918b222af6f75869ed33127a8b1c3d77 (patch) | |
tree | 69a72603276e35b5d130e0c35f597b2b7034eaf3 /net/unix/sysctl_net_unix.c | |
parent | 5e46664703b364434a2cbda3e6988fc24ae0ced5 (diff) |
selftest: ftrace: Fix to add 256 kprobe events correctly
Current multiple-kprobe testcase only tries to add
kprobe events on first 256 text symbols. However
kprobes fails to probe on some text symbols (like
blacklisted symbols). Thus in the worst case,
the test can not add any kprobe events.
To avoid that, continue to try adding kprobe events
until 256 events. Also it confirms the number of
registered kprobe events.
Signed-off-by: Masami Hiramatsu <[email protected]>
Acked-by: Steven Rostedt (VMware) <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions