path: root/tools/testing/selftests/ftrace/test.d/trigger/inter-event/
AgeCommit message (Collapse)AuthorLines
2020-06-16selftests/ftrace: Support ":README" suffix for requiresMasami Hiramatsu-5/+1
Add ":README" suffix support for the requires list, so that the testcase can list up the required string for README file to the requires list. Note that the required string is treated as a fixed string, instead of regular expression. Also, the testcase can specify a string containing spaces with quotes. E.g. # requires: "place: [<module>:]<symbol>":README Signed-off-by: Masami Hiramatsu <> Reviewed-by: Tom Zanussi <> Signed-off-by: Shuah Khan <>
2020-06-16selftests/ftrace: Convert required interface checks into requires listMasami Hiramatsu-15/+1
Convert the required tracefs interface checking code with requires: list. Fixed merge conflicts in and Shuah Khan <> Signed-off-by: Masami Hiramatsu <> Reviewed-by: Tom Zanussi <> Signed-off-by: Shuah Khan <>
2020-06-01selftests/ftrace: Distinguish between hist and synthetic event checksTom Zanussi-0/+5
With synthetic events now a separate config item as a result of 'tracing: Move synthetic events to a separate file', tests that use both need to explicitly check for hist trigger support rather than relying on hist triggers to pull in synthetic events. Add an additional hist trigger check to all the trigger tests that now require it, otherwise they'll fail if synthetic events but not hist triggers are enabled. Link: Acked-by: Masami Hiramatsu <> Signed-off-by: Tom Zanussi <> Signed-off-by: Steven Rostedt (VMware) <>
2019-12-09selftests/ftrace: Do not to use absolute debugfs pathMasami Hiramatsu-2/+2
Use relative path to trigger file instead of absolute debugfs path, because if the user uses tracefs instead of debugfs, it can be mounted at /sys/kernel/tracing. Anyway, since the ftracetest is designed to be run at the tracing directory, user doesn't need to use absolute path. Signed-off-by: Masami Hiramatsu <> Reviewed-by: Steven Rostedt (VMware) <> Signed-off-by: Shuah Khan <>
2019-02-20tracing: Add hist trigger snapshot() action test caseTom Zanussi-0/+43
Add a test case verifying the basic functionality of the hist:snapshot() action. Link: Signed-off-by: Tom Zanussi <> Acked-by: Masami Hiramatsu <> Signed-off-by: Steven Rostedt (VMware) <>