tools/testing/selftests/ftrace/test.d/dynevent/fprobe_entry_arg.tc

Source file repositories/reference/linux-study-clean/tools/testing/selftests/ftrace/test.d/dynevent/fprobe_entry_arg.tc

File Facts

System
Linux kernel
Corpus path
tools/testing/selftests/ftrace/test.d/dynevent/fprobe_entry_arg.tc
Extension
.tc
Size
507 bytes
Lines
19
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: tools
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

echo 'f:tests/myevent1 vfs_open arg=$arg1' >> dynamic_events
echo 'f:tests/myevent2 vfs_open%return arg=$arg1' >> dynamic_events

echo 1 > events/tests/enable

echo > trace
cat trace > /dev/null

streq() {
	test $1 = $2
}

streq `grep -A 1 -m 1 myevent1 trace | sed -r 's/^.*(arg=.*)/\1/' `

Annotation

Implementation Notes