perf tools: Enable configs required for test_uprobe_from_different_cu.sh
authorChaitanya S Prakash <chaitanyas.prakash@arm.com>
Mon, 8 Apr 2024 06:22:28 +0000 (11:52 +0530)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 17 Apr 2024 15:21:39 +0000 (12:21 -0300)
commit6b718ac6874c2233b8dec369a8a377d6c5b638e6
tree587224fe87e7b8931e61d26297f050cfa3d4adfb
parent7043dc5286a8c082d449e2257f9f87d7f764e7d4
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>
tools/perf/tests/config-fragments/config