tools/testing/selftests/ftrace/test.d/kprobe/add_and_remove.tc

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

File Facts

System
Linux kernel
Corpus path
tools/testing/selftests/ftrace/test.d/kprobe/add_and_remove.tc
Extension
.tc
Size
255 bytes
Lines
10
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

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# description: Kprobe dynamic event - adding and removing
# requires: kprobe_events

echo p:myevent $FUNCTION_FORK > kprobe_events
grep myevent kprobe_events
test -d events/kprobes/myevent
echo > kprobe_events

Annotation

Implementation Notes