>HI, >Please enable kprobe_event config option in the kernel and build the same >and boot the board using it. Then please try to add event using perf probe >command
Thanks very much for your reply, and I already enable DEBUG_KPROBE_EVENT in kernel. I did success in "perf probe handle_mm_fault". But when i want to to "perf probe" other Kernel symbol, such as do_page_fault. I came across other problems: Added new event: Failed to write event: Invalid argument Error: Failed to add events. (-1) And when i type perf probe page_fault_entry: Kernel symbol 'page_fault_entry' not found. Error: Failed to add events. (-2) Please notice that "do_page_fault" and "page_fault_entry" are all Kernel symbols, which canbe find in "/proc/kallsyms", but not recorgonized by perf (or even kprobe). Any idea for that? Best, Chen >>On Sun, Mar 31, 2013 at 11:00 PM, OSDepend <osdep...@gmail.com> wrote: >>Hi all, >> Is there any way to use perf probe to add new tracepoint like >> pagefault enter/exit? >> When I type perf probe fault:10 >> I always get the error as follow: >> Debuginfo-analysis is not supported. >> Error: Failed to add events. (-38) >> What exactly i miss to get the perf probe work correctly? >>Best, >>Chen
_______________________________________________ linuxtools-dev mailing list linuxtools-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/linuxtools-dev