Skip to content

Commit 6b0b755

Browse files
antonblanchardIngo Molnar
authored andcommitted
perf/core: Rename CONFIG_[UK]PROBE_EVENT to CONFIG_[UK]PROBE_EVENTS
We have uses of CONFIG_UPROBE_EVENT and CONFIG_KPROBE_EVENT as well as CONFIG_UPROBE_EVENTS and CONFIG_KPROBE_EVENTS. Consistently use the plurals. Signed-off-by: Anton Blanchard <anton@samba.org> Cc: Andy Lutomirski <luto@kernel.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Brian Gerst <brgerst@gmail.com> Cc: Denys Vlasenko <dvlasenk@redhat.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: acme@kernel.org Cc: alexander.shishkin@linux.intel.com Cc: davem@davemloft.net Cc: sparclinux@vger.kernel.org Link: http://lkml.kernel.org/r/20170216060050.20866-1-anton@ozlabs.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent 75013fb commit 6b0b755

File tree

11 files changed

+19
-19
lines changed

11 files changed

+19
-19
lines changed

Documentation/trace/kprobetrace.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ kprobes can probe (this means, all functions body except for __kprobes
1212
functions). Unlike the Tracepoint based event, this can be added and removed
1313
dynamically, on the fly.
1414

15-
To enable this feature, build your kernel with CONFIG_KPROBE_EVENT=y.
15+
To enable this feature, build your kernel with CONFIG_KPROBE_EVENTS=y.
1616

1717
Similar to the events tracer, this doesn't need to be activated via
1818
current_tracer. Instead of that, add probe points via

Documentation/trace/uprobetracer.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Overview
88
--------
99
Uprobe based trace events are similar to kprobe based trace events.
10-
To enable this feature, build your kernel with CONFIG_UPROBE_EVENT=y.
10+
To enable this feature, build your kernel with CONFIG_UPROBE_EVENTS=y.
1111

1212
Similar to the kprobe-event tracer, this doesn't need to be activated via
1313
current_tracer. Instead of that, add probe points via

arch/powerpc/configs/85xx/kmp204x_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ CONFIG_DEBUG_SHIRQ=y
210210
CONFIG_DETECT_HUNG_TASK=y
211211
CONFIG_SCHEDSTATS=y
212212
CONFIG_RCU_TRACE=y
213-
CONFIG_UPROBE_EVENT=y
213+
CONFIG_UPROBE_EVENTS=y
214214
CONFIG_CRYPTO_NULL=y
215215
CONFIG_CRYPTO_PCBC=m
216216
CONFIG_CRYPTO_MD4=y

arch/s390/configs/default_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ CONFIG_SCHED_TRACER=y
609609
CONFIG_FTRACE_SYSCALLS=y
610610
CONFIG_STACK_TRACER=y
611611
CONFIG_BLK_DEV_IO_TRACE=y
612-
CONFIG_UPROBE_EVENT=y
612+
CONFIG_UPROBE_EVENTS=y
613613
CONFIG_FUNCTION_PROFILER=y
614614
CONFIG_HIST_TRIGGERS=y
615615
CONFIG_TRACE_ENUM_MAP_FILE=y

arch/s390/configs/gcov_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ CONFIG_SCHED_TRACER=y
560560
CONFIG_FTRACE_SYSCALLS=y
561561
CONFIG_STACK_TRACER=y
562562
CONFIG_BLK_DEV_IO_TRACE=y
563-
CONFIG_UPROBE_EVENT=y
563+
CONFIG_UPROBE_EVENTS=y
564564
CONFIG_FUNCTION_PROFILER=y
565565
CONFIG_HIST_TRIGGERS=y
566566
CONFIG_TRACE_ENUM_MAP_FILE=y

arch/s390/configs/performance_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ CONFIG_SCHED_TRACER=y
558558
CONFIG_FTRACE_SYSCALLS=y
559559
CONFIG_STACK_TRACER=y
560560
CONFIG_BLK_DEV_IO_TRACE=y
561-
CONFIG_UPROBE_EVENT=y
561+
CONFIG_UPROBE_EVENTS=y
562562
CONFIG_FUNCTION_PROFILER=y
563563
CONFIG_HIST_TRIGGERS=y
564564
CONFIG_TRACE_ENUM_MAP_FILE=y

arch/s390/defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ CONFIG_FTRACE_SYSCALLS=y
179179
CONFIG_TRACER_SNAPSHOT_PER_CPU_SWAP=y
180180
CONFIG_STACK_TRACER=y
181181
CONFIG_BLK_DEV_IO_TRACE=y
182-
CONFIG_UPROBE_EVENT=y
182+
CONFIG_UPROBE_EVENTS=y
183183
CONFIG_FUNCTION_PROFILER=y
184184
CONFIG_TRACE_ENUM_MAP_FILE=y
185185
CONFIG_KPROBES_SANITY_TEST=y

kernel/trace/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ config BLK_DEV_IO_TRACE
429429

430430
If unsure, say N.
431431

432-
config KPROBE_EVENT
432+
config KPROBE_EVENTS
433433
depends on KPROBES
434434
depends on HAVE_REGS_AND_STACK_ACCESS_API
435435
bool "Enable kprobes-based dynamic events"
@@ -447,7 +447,7 @@ config KPROBE_EVENT
447447
This option is also required by perf-probe subcommand of perf tools.
448448
If you want to use perf tools, this option is strongly recommended.
449449

450-
config UPROBE_EVENT
450+
config UPROBE_EVENTS
451451
bool "Enable uprobes-based dynamic events"
452452
depends on ARCH_SUPPORTS_UPROBES
453453
depends on MMU
@@ -466,7 +466,7 @@ config UPROBE_EVENT
466466

467467
config BPF_EVENTS
468468
depends on BPF_SYSCALL
469-
depends on (KPROBE_EVENT || UPROBE_EVENT) && PERF_EVENTS
469+
depends on (KPROBE_EVENTS || UPROBE_EVENTS) && PERF_EVENTS
470470
bool
471471
default y
472472
help

kernel/trace/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ obj-$(CONFIG_EVENT_TRACING) += trace_events_filter.o
5757
obj-$(CONFIG_EVENT_TRACING) += trace_events_trigger.o
5858
obj-$(CONFIG_HIST_TRIGGERS) += trace_events_hist.o
5959
obj-$(CONFIG_BPF_EVENTS) += bpf_trace.o
60-
obj-$(CONFIG_KPROBE_EVENT) += trace_kprobe.o
60+
obj-$(CONFIG_KPROBE_EVENTS) += trace_kprobe.o
6161
obj-$(CONFIG_TRACEPOINTS) += power-traces.o
6262
ifeq ($(CONFIG_PM),y)
6363
obj-$(CONFIG_TRACEPOINTS) += rpm-traces.o
@@ -66,7 +66,7 @@ ifeq ($(CONFIG_TRACING),y)
6666
obj-$(CONFIG_KGDB_KDB) += trace_kdb.o
6767
endif
6868
obj-$(CONFIG_PROBE_EVENTS) += trace_probe.o
69-
obj-$(CONFIG_UPROBE_EVENT) += trace_uprobe.o
69+
obj-$(CONFIG_UPROBE_EVENTS) += trace_uprobe.o
7070

7171
obj-$(CONFIG_TRACEPOINT_BENCHMARK) += trace_benchmark.o
7272

kernel/trace/trace.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4341,22 +4341,22 @@ static const char readme_msg[] =
43414341
"\t\t\t traces\n"
43424342
#endif
43434343
#endif /* CONFIG_STACK_TRACER */
4344-
#ifdef CONFIG_KPROBE_EVENT
4344+
#ifdef CONFIG_KPROBE_EVENTS
43454345
" kprobe_events\t\t- Add/remove/show the kernel dynamic events\n"
43464346
"\t\t\t Write into this file to define/undefine new trace events.\n"
43474347
#endif
4348-
#ifdef CONFIG_UPROBE_EVENT
4348+
#ifdef CONFIG_UPROBE_EVENTS
43494349
" uprobe_events\t\t- Add/remove/show the userspace dynamic events\n"
43504350
"\t\t\t Write into this file to define/undefine new trace events.\n"
43514351
#endif
4352-
#if defined(CONFIG_KPROBE_EVENT) || defined(CONFIG_UPROBE_EVENT)
4352+
#if defined(CONFIG_KPROBE_EVENTS) || defined(CONFIG_UPROBE_EVENTS)
43534353
"\t accepts: event-definitions (one definition per line)\n"
43544354
"\t Format: p|r[:[<group>/]<event>] <place> [<args>]\n"
43554355
"\t -:[<group>/]<event>\n"
4356-
#ifdef CONFIG_KPROBE_EVENT
4356+
#ifdef CONFIG_KPROBE_EVENTS
43574357
"\t place: [<module>:]<symbol>[+<offset>]|<memaddr>\n"
43584358
#endif
4359-
#ifdef CONFIG_UPROBE_EVENT
4359+
#ifdef CONFIG_UPROBE_EVENTS
43604360
"\t place: <path>:<offset>\n"
43614361
#endif
43624362
"\t args: <name>=fetcharg[:type]\n"

0 commit comments

Comments
 (0)