News for hackers. Stuff that matters.
Re:LTTng: An open-source tracing framework for Linux by abusque on Thursday October 16, 2014 @03:00PM (#8466774)
Well, I've never used OProfile myself, so please take this answer with a grain of salt, but from a quick perusal of their website, and as the project's name seems to suggest, OProfile is a sampling profiler, which usually means it will collect data from counters at given intervals of time, producing a number of statistics over time. This generally implies a somewhat significant overhead, and consequent performance drop.

LTTng, on the other hand, is a tracer, which means it collects events from the kernel (using the built-in tracepoint facilities) as they happen. It's also possible to trace userspace apps (with lttng-ust), or define your own tracepoints. This has the benefit of being much more detailed, and also has a much smaller overhead.

You might be interested in reading the "What is Tracing?" section of the lttng docs [0], which does a far better job at explaining this than I do.

[0] - http://lttng.org/docs/#doc-nuts-and-bolts

Re:LTTng: An open-source tracing framework for Linux by hitlin37 on Thursday October 16, 2014 @03:36PM (#8467093)
thanks for explaining. it sure looks interesting. i'm going to read now.