brendangregg / perf-tools

Performance analysis tools based on Linux perf_events (aka perf) and ftrace
GNU General Public License v2.0
9.9k stars 1.64k forks source link

No CONFIG_PERF_EVENTS=y kernel support configured? #76

Open dingjingzhen opened 6 years ago

dingjingzhen commented 6 years ago

@brendangregg when i perf record or perf top -p pid Error: The sys_perf_event_open() syscall returned with 3 (No such process) for event (cycles:ppp). /bin/dmesg may provide additional information. No CONFIG_PERF_EVENTS=y kernel support configured?

but Not for all of the process

Philfyc commented 10 months ago

@brendangregg when i perf record or perf top -p pid Error: The sys_perf_event_open() syscall returned with 3 (No such process) for event (cycles:ppp). /bin/dmesg may provide additional information. No CONFIG_PERF_EVENTS=y kernel support configured?

but Not for all of the process

hello ,i have met the same problem, have you ever solved it ?