[ltt-dev] LTTng-UST vs SystemTap userspace tracing benchmarks

William Cohen wcohen at redhat.com
Tue Feb 15 11:25:24 EST 2011


On 02/15/2011 10:53 AM, Julien Desfossez wrote:
> LTTng-UST vs SystemTap userspace tracing benchmarks
> 
> February 15th, 2011
> 
> Authors: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
>          Julien Desfossez <julien.desfossez at polymtl.ca>

> * SystemTap probe (stap testutrace.stp -F) :
> probe process("./.libs/tracepoint_benchmark").mark("single_trace") {
>     printf("%d : %s\n", gettimeofday_ns(), $arg1);
> }



Hi Julien,

How much of the SystemTap overhead is due to the printf() statement in the probe? What is the run time for the following:

probe process("./.libs/tracepoint_benchmark").mark("single_trace") {}


Is the code for the benchmarks available, so we can take a look at reducing the overhead of SystemTap?

-Will




More information about the lttng-dev mailing list