bpf: clarify description for CONFIG_BPF_EVENTS
authorPeter Wu <peter@lekensteyn.nl>
Tue, 20 Aug 2019 23:08:57 +0000 (00:08 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 21 Aug 2019 17:17:24 +0000 (10:17 -0700)
PERF_EVENT_IOC_SET_BPF supports uprobes since v4.3, and tracepoints
since v4.7 via commit 04a22fae4cbc ("tracing, perf: Implement BPF
programs attached to uprobes"), and commit 98b5c2c65c29 ("perf, bpf:
allow bpf programs attach to tracepoints") respectively.

Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
kernel/trace/Kconfig

index 98da8998c25ce406a2b0c9620f7295231120ae27..b09d7b1ffffdbb518f255f8b4db8dbb0eb7f172d 100644 (file)
@@ -520,7 +520,8 @@ config BPF_EVENTS
        bool
        default y
        help
-         This allows the user to attach BPF programs to kprobe events.
+         This allows the user to attach BPF programs to kprobe, uprobe, and
+         tracepoint events.
 
 config DYNAMIC_EVENTS
        def_bool n