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

2013-04-01 Thread OSDepend
Hi danie, Appreciated for your help. I tried to install all the elfutils packages, but it not work to me. my perf version is perf version 2.6.32-358.0.1.el6.x86_64.debug , and my kernel is 3.8.4. I get some help from other people, and then i can now "perf probe" some kernel symbol, like : do_

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

2013-04-01 Thread Daniel H Barboza
Hello, Which kernel and perf version are you using? Which arch? On a quick google search (my kernel is old and this perf doesn't have the "probe" command, incoming re-install) I found out the error you're experiencing in the perf source code: - init_vmlinux(); if (sessi

[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