diff options
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/trace/Kconfig | 8 | ||||
| -rw-r--r-- | kernel/trace/Makefile | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index a5da09c899dd..c8e53c051293 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig | |||
| @@ -432,6 +432,14 @@ config UPROBE_EVENT | |||
| 432 | This option is required if you plan to use perf-probe subcommand | 432 | This option is required if you plan to use perf-probe subcommand |
| 433 | of perf tools on user space applications. | 433 | of perf tools on user space applications. |
| 434 | 434 | ||
| 435 | config BPF_EVENTS | ||
| 436 | depends on BPF_SYSCALL | ||
| 437 | depends on KPROBE_EVENT | ||
| 438 | bool | ||
| 439 | default y | ||
| 440 | help | ||
| 441 | This allows the user to attach BPF programs to kprobe events. | ||
| 442 | |||
| 435 | config PROBE_EVENTS | 443 | config PROBE_EVENTS |
| 436 | def_bool n | 444 | def_bool n |
| 437 | 445 | ||
diff --git a/kernel/trace/Makefile b/kernel/trace/Makefile index c575a300103b..9b1044e936a6 100644 --- a/kernel/trace/Makefile +++ b/kernel/trace/Makefile | |||
| @@ -53,7 +53,7 @@ obj-$(CONFIG_EVENT_TRACING) += trace_event_perf.o | |||
| 53 | endif | 53 | endif |
| 54 | obj-$(CONFIG_EVENT_TRACING) += trace_events_filter.o | 54 | obj-$(CONFIG_EVENT_TRACING) += trace_events_filter.o |
| 55 | obj-$(CONFIG_EVENT_TRACING) += trace_events_trigger.o | 55 | obj-$(CONFIG_EVENT_TRACING) += trace_events_trigger.o |
| 56 | obj-$(CONFIG_BPF_SYSCALL) += bpf_trace.o | 56 | obj-$(CONFIG_BPF_EVENTS) += bpf_trace.o |
| 57 | obj-$(CONFIG_KPROBE_EVENT) += trace_kprobe.o | 57 | obj-$(CONFIG_KPROBE_EVENT) += trace_kprobe.o |
| 58 | obj-$(CONFIG_TRACEPOINTS) += power-traces.o | 58 | obj-$(CONFIG_TRACEPOINTS) += power-traces.o |
| 59 | ifeq ($(CONFIG_PM),y) | 59 | ifeq ($(CONFIG_PM),y) |
