| 581a7b26 | 27-Mar-2025 |
Masami Hiramatsu (Google) <[email protected]> |
selftests/ftrace: Add dynamic events argument limitation test case
Add argument limitation test case for dynamic events. This is a boudary check for the maximum number of the probe event arguments.
selftests/ftrace: Add dynamic events argument limitation test case
Add argument limitation test case for dynamic events. This is a boudary check for the maximum number of the probe event arguments.
Link: https://lore.kernel.org/all/174055078295.4079315.14702008939511417359.stgit@mhiramat.tok.corp.google.com/
Signed-off-by: Masami Hiramatsu (Google) <[email protected]>
show more ...
|
| 82ef781f | 10-Feb-2025 |
Bharadwaj Raju <[email protected]> |
selftests/ftrace: add 'poll' binary to gitignore
When building this test, a binary file 'poll' is generated and should be gitignore'd.
Link: https://lore.kernel.org/r/20250210160138.4745-1-bharadwa
selftests/ftrace: add 'poll' binary to gitignore
When building this test, a binary file 'poll' is generated and should be gitignore'd.
Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bharadwaj Raju <[email protected]> Acked-by: Steven Rostedt (Google) <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
show more ...
|
| dc4b1658 | 20-Feb-2025 |
Heiko Carstens <[email protected]> |
selftests/ftrace: Use readelf to find entry point in uprobe test
The uprobe events test fails on s390, but also on x86 (Fedora 41). The problem appears to be that there is an assumption that adding
selftests/ftrace: Use readelf to find entry point in uprobe test
The uprobe events test fails on s390, but also on x86 (Fedora 41). The problem appears to be that there is an assumption that adding a uprobe to the beginning of the executable mapping of /bin/sh is sufficient to trigger a uprobe event when /bin/sh is executed.
This assumption is not necessarily true. Therefore use "readelf -h" to find the entry point address of /bin/sh and use this address when adding the uprobe event.
This adds a dependency to readelf which is not always installed. Therefore add a check and exit with exit_unresolved if it is not installed.
Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Carstens <[email protected]> Acked-by: Steven Rostedt (Google) <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
show more ...
|
| a58cc70a | 20-Feb-2025 |
Steven Rostedt <[email protected]> |
selftests/ftrace: Clean up triggers after setting them
The triggers set in trigger-onchange-action-hist.tc and trigger-snapshot-action-hist.tc are not cleaned up at the end. These tests can also be
selftests/ftrace: Clean up triggers after setting them
The triggers set in trigger-onchange-action-hist.tc and trigger-snapshot-action-hist.tc are not cleaned up at the end. These tests can also be done in instances and without cleaning up the triggers, the instances can not be removed as they are still "busy".
Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Steven Rostedt (Google) <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
show more ...
|
| 542079b4 | 16-Jan-2025 |
Steven Rostedt <[email protected]> |
selftests/ftrace: Add test that tests event :mod: commands
Now that here's a :mod: command that can be sent into set_event, add a test that tests its use. Both setting events for a loaded module, as
selftests/ftrace: Add test that tests event :mod: commands
Now that here's a :mod: command that can be sent into set_event, add a test that tests its use. Both setting events for a loaded module, as well as caching what events to set for a module that is not loaded yet.
Cc: Shuah Khan <[email protected]> Cc: Masami Hiramatsu <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Mathieu Desnoyers <[email protected]> Cc: Andrew Morton <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/[email protected] Signed-off-by: Steven Rostedt (Google) <[email protected]>
show more ...
|
| 89ae6438 | 07-Jan-2025 |
Masami Hiramatsu (Google) <[email protected]> |
selftests/ftrace: Make uprobe test more robust against binary name
Make add_remove_uprobe test case more robust against various real binary name. Current add_remove_uprobe.tc test expects the real b
selftests/ftrace: Make uprobe test more robust against binary name
Make add_remove_uprobe test case more robust against various real binary name. Current add_remove_uprobe.tc test expects the real binary of /bin/sh is '*/bin/*sh', but it does not work on busybox environment. Instead of using fixed pattern, use readlink to identify real binary name.
Link: https://lore.kernel.org/r/173625187633.1383744.2840679071525852811.stgit@devnote2 Signed-off-by: Masami Hiramatsu (Google) <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
show more ...
|
| 4e78dd6b | 18-Aug-2024 |
Masami Hiramatsu (Google) <[email protected]> |
sefltests/tracing: Add a test for tracepoint events on modules
Add a test case for tracepoint events on modules. This checks if it can add and remove the events correctly.
Link: https://lore.kernel
sefltests/tracing: Add a test for tracepoint events on modules
Add a test case for tracepoint events on modules. This checks if it can add and remove the events correctly.
Link: https://lore.kernel.org/all/172397781494.286558.7581515061075998225.stgit@devnote2/
Signed-off-by: Masami Hiramatsu (Google) <[email protected]>
show more ...
|