Skip to content

Commit 5ac8ceb

Browse files
smagellanRadxaYuntian
authored andcommitted
enable CONFIG_UPROBE_EVENTS and CONFIG_KPROBE_EVENTS
1 parent 08b1910 commit 5ac8ceb

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/share/rsdk/infra-package/debian/patches/linux/0001-feat-Radxa-common-kernel-config.patch

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ Subject: [PATCH] feat: Radxa common kernel config
55

66
Signed-off-by: ZHANG Yuntian <yt@radxa.com>
77
---
8-
src/arch/arm64/configs/radxa.config | 1080 +++++++++++++++++++++++++++
9-
1 file changed, 1080 insertions(+)
8+
src/arch/arm64/configs/radxa.config | 1085 +++++++++++++++++++++++++++
9+
1 file changed, 1085 insertions(+)
1010
create mode 100644 src/arch/arm64/configs/radxa.config
1111

1212
diff --git a/src/arch/arm64/configs/radxa.config b/src/arch/arm64/configs/radxa.config
1313
new file mode 100644
1414
index 000000000000..f5bca1bdaf69
1515
--- /dev/null
1616
+++ b/src/arch/arm64/configs/radxa.config
17-
@@ -0,0 +1,1080 @@
17+
@@ -0,0 +1,1085 @@
1818
+# Enable FPDT on supported platforms
1919
+CONFIG_ACPI_FPDT=y
2020
+
@@ -1051,6 +1051,11 @@ index 000000000000..f5bca1bdaf69
10511051
+CONFIG_UIO_PCI_GENERIC=m
10521052
+CONFIG_NVME_TCP=m
10531053
+
1054+
+# perf and bpftrace expect this option enabled to be fully functional
1055+
+CONFIG_KPROBE_EVENTS=y
1056+
+# perf expects this
1057+
+CONFIG_UPROBE_EVENTS=y
1058+
+
10541059
+# Prefer r8125-dkms
10551060
+CONFIG_R8125=n
10561061
+

0 commit comments

Comments
 (0)