diff options
author | Chaitanya S Prakash <[email protected]> | 2024-04-08 11:52:28 +0530 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2024-04-17 12:21:39 -0300 |
commit | 6b718ac6874c2233b8dec369a8a377d6c5b638e6 (patch) | |
tree | 587224fe87e7b8931e61d26297f050cfa3d4adfb | |
parent | 7043dc5286a8c082d449e2257f9f87d7f764e7d4 (diff) |
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 <[email protected]>
Signed-off-by: Chaitanya S Prakash <[email protected]>
Cc: Anshuman Khandual <[email protected]>
Cc: James Clark <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
-rw-r--r-- | tools/perf/tests/config-fragments/config | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/tests/config-fragments/config b/tools/perf/tests/config-fragments/config index c340b3195fca..4fca12851016 100644 --- a/tools/perf/tests/config-fragments/config +++ b/tools/perf/tests/config-fragments/config @@ -9,3 +9,6 @@ CONFIG_GENERIC_TRACER=y CONFIG_FTRACE=y CONFIG_FTRACE_SYSCALLS=y CONFIG_BRANCH_PROFILE_NONE=y +CONFIG_KPROBES=y +CONFIG_KPROBE_EVENTS=y +CONFIG_UPROBE_EVENTS=y |