Skip to content

Commit 6b718ac

Browse files
Chaitanya S Prakashacmel
authored andcommitted
perf tools: Enable configs required for test_uprobe_from_different_cu.sh
Test "perf probe of function from different CU" fails due to certain configs not being enabled. Building the kernel with CONFIG_KPROBE_EVENTS=y and CONFIG_UPROBE_EVENTS=y fixes the issue. As CONFIG_KPROBE_EVENTS is dependent on CONFIG_KPROBES, enable it as well. Some platforms enable these configs as a part of their defconfig, so this change is only required for the ones that don't do so. Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Chaitanya S Prakash <chaitanyas.prakash@arm.com> Cc: Anshuman Khandual <anshuman.khandual@arm.com> Cc: James Clark <james.clark@arm.com> Link: https://lore.kernel.org/r/20240408062230.1949882-1-ChaitanyaS.Prakash@arm.com Link: https://lore.kernel.org/r/20240408062230.1949882-7-ChaitanyaS.Prakash@arm.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 7043dc5 commit 6b718ac

File tree

1 file changed

+3
-0
lines changed
  • tools/perf/tests/config-fragments

1 file changed

+3
-0
lines changed

tools/perf/tests/config-fragments/config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ CONFIG_GENERIC_TRACER=y
99
CONFIG_FTRACE=y
1010
CONFIG_FTRACE_SYSCALLS=y
1111
CONFIG_BRANCH_PROFILE_NONE=y
12+
CONFIG_KPROBES=y
13+
CONFIG_KPROBE_EVENTS=y
14+
CONFIG_UPROBE_EVENTS=y

0 commit comments

Comments
 (0)