Skip to content

Commit 4368092

Browse files
committed
tools: labs: qemu: Add config options necessary for perf
Signed-off-by: Sergiu Weisz <sergiu121@gmail.com>
1 parent 129a352 commit 4368092

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

tools/labs/qemu/kernel_config.x86

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,26 @@ CONFIG_DEBUG_SLAB=y
7474
CONFIG_DEBUG_KMEMLEAK=y
7575
CONFIG_PROVE_LOCKING=y
7676
CONFIG_DEBUG_ATOMIC_SLEEP=y
77-
# CONFIG_FTRACE is not set
7877
# CONFIG_X86_VERBOSE_BOOTUP is not set
7978
# CONFIG_X86_DEBUG_FPU is not set
79+
80+
81+
# for perf_events:
82+
CONFIG_PERF_EVENTS=y
83+
# for stack traces:
84+
CONFIG_FRAME_POINTER=y
85+
# kernel symbols:
86+
CONFIG_KALLSYMS=y
87+
# tracepoints:
88+
CONFIG_TRACEPOINTS=y
89+
# kernel function trace:
90+
CONFIG_FTRACE=y
91+
# kernel-level dynamic tracing:
92+
CONFIG_KPROBE_EVENTS=y
93+
# user-level dynamic tracing:
94+
CONFIG_UPROBES=y
95+
CONFIG_UPROBE_EVENTS=y
96+
# kernel lock tracing:
97+
CONFIG_LOCKDEP=y
98+
# kernel lock tracing:
99+
CONFIG_LOCK_STAT=y

0 commit comments

Comments
 (0)