Re: tracepoint filter problems

2015-11-02 Thread Arnaldo Carvalho de Melo
Em Mon, Nov 02, 2015 at 10:50:51AM +0100, Peter Zijlstra escreveu: > On Thu, Oct 29, 2015 at 12:27:42PM -0300, Arnaldo Carvalho de Melo wrote: > > In the example below 'perf trace' will ask to see just the 'open' syscall, > > and > > it works for the started workload, namely 'perf record', but the

Re: tracepoint filter problems

2015-11-02 Thread Peter Zijlstra
On Thu, Oct 29, 2015 at 12:27:42PM -0300, Arnaldo Carvalho de Melo wrote: > Hi, > > In 'perf trace' we have an equivalent to strace's -e option, i.e. a way > to state which syscalls one wants to see, so, when we do: > > [root@felicio linux]# trace -e open > 0.348 ( 0.005 ms): ls/6887 o

tracepoint filter problems

2015-10-29 Thread Arnaldo Carvalho de Melo
Hi, In 'perf trace' we have an equivalent to strace's -e option, i.e. a way to state which syscalls one wants to see, so, when we do: [root@felicio linux]# trace -e open 0.348 ( 0.005 ms): ls/6887 open(filename: /etc/ld.so.cache, flags: CLOEXEC ) = 3 0.363