[ltt-dev] Problem on combine kernel trace and userspace trace.

Tony Jones tonyj at suse.de
Fri Dec 10 09:11:04 EST 2010


On Fri, Dec 10, 2010 at 08:19:27AM -0500, Mathieu Desnoyers wrote:

> Meanwhile, it looks like you forgot to switch your UST from the generic
> "clock_gettime MONOTONIC" clock source to rdtsc.

Sorry. I misunderstood the earlier message,

So, disabling the TRACE_CLOCK_GENERIC define in include/ust/clock.h now gets 
me the following.  Scaling?

tony


# lttv -m textDump -t /tmp/traceK | head -3
Trace set contains 1 traces

metadata.core_marker_id: 201.791156021 (/tmp/traceK/metadata_0), 0, 0, , , 0, 0x0, MODE_UNKNOWN { channel = "kernel", name = "page_fault_get_user_entry", event_id = 39, int = 4, long = 8, pointer = 8, size_t = 8, alignment = 0 }

# lttv -m textDump -t /tmp/traceU | head -3
Trace set contains 1 traces

metadata.core_marker_id: 433.304628518 (/tmp/traceU/metadata_0), 0, 0, , , 0, 0x0, MODE_UNKNOWN { channel = "ust", name = "potential_exec", event_id = 0, int = 4, long = 8, pointer = 8, size_t = 8, alignment = 0 }







More information about the lttng-dev mailing list