trace: rename unlikely profiler to branch profiler
Impact: name change of unlikely tracer and profiler Ingo Molnar suggested changing the config from UNLIKELY_PROFILE to BRANCH_PROFILING. I never did like the "unlikely" name so I went one step farther, and renamed all the unlikely configurations to a "BRANCH" variant. Signed-off-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cette révision appartient à :

révisé par
Ingo Molnar

Parent
68d119f0a6
révision
2ed84eeb88
@@ -11,9 +11,8 @@ obj-y += trace_selftest_dynamic.o
|
||||
endif
|
||||
|
||||
# If unlikely tracing is enabled, do not trace these files
|
||||
ifdef CONFIG_TRACING_UNLIKELY
|
||||
KBUILD_CFLAGS += '-Dlikely(x)=likely_notrace(x)'
|
||||
KBUILD_CFLAGS += '-Dunlikely(x)=unlikely_notrace(x)'
|
||||
ifdef CONFIG_TRACING_BRANCHES
|
||||
KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING
|
||||
endif
|
||||
|
||||
obj-$(CONFIG_FUNCTION_TRACER) += libftrace.o
|
||||
@@ -31,6 +30,6 @@ obj-$(CONFIG_STACK_TRACER) += trace_stack.o
|
||||
obj-$(CONFIG_MMIOTRACE) += trace_mmiotrace.o
|
||||
obj-$(CONFIG_BOOT_TRACER) += trace_boot.o
|
||||
obj-$(CONFIG_FUNCTION_RET_TRACER) += trace_functions_return.o
|
||||
obj-$(CONFIG_TRACE_UNLIKELY_PROFILE) += trace_unlikely.o
|
||||
obj-$(CONFIG_TRACE_BRANCH_PROFILING) += trace_unlikely.o
|
||||
|
||||
libftrace-y := ftrace.o
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur