[lttng-dev] UST performance

2015-04-26 Thread zhenyu.ren
Hi,dev    About a month ago,I asked a question about how to do time recording for ust event when vdso_clock_gettime not availble on my platform(Glibc too old).Recently I implemented a lib to analyze vdso in memory and lookuped the symbol vdso_clock_gettime successfully.With this vdso_clock_getti

Re: [lttng-dev] UST performance

2015-04-28 Thread Mathieu Desnoyers
Hi, Is your sched_getcpu() system call a vdso too ? This may explain the difference. Moreover, make sure you #define _LGPL_SOURCE in your benchmark program before including any lttng ust header. It will inline many functions associated with tracepoints. Then, you can try using "perf" to p