Re: [linuxtools-dev] perf probe & SW event duration

2013-04-01 Thread OSDepend
piled objects elfutils-libs.x86_64 : Libraries to handle compiled objects TL;DR: What I would try to do is install all the elfutils packages and see if you can run perf probe. If the error persists then you'll need to dig deeper, maybe even posting this question in a kernel mailing list. Hope

Re: [linuxtools-dev] Howto make perf probe work

2013-04-01 Thread OSDepend
27;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? B

[linuxtools-dev] perf probe & SW event duration

2013-03-31 Thread OSDepend
Hi all, Is there any way to use perf probe to add new tracepoint like pagefault enter/exit? I'm wandering how to use perf tool to get the event latency of SW event. Just to get the time cost by the context-switch, pagefault? When I type perf probe fault:10 I always get the error as follow