Re: [PATCH V5 00/25] perf tools: Introduce an abstraction for Instruction Tracing

From: Adrian Hunter
Date: Wed Mar 11 2015 - 11:55:47 EST

On 7/03/2015 11:06 p.m., Adrian Hunter wrote:

Here is V5 of some more preparatory patches for Intel PT
that introduce an abstraction for Instruction tracing.

The Intel PT driver is not yet in tip.

Peter, could we please have Alex's 14 patches applied to

Peter, I know you are really busy, but it would be helpful to know
what you plan to do?

The master branch of the tree:


contains these patches plus Intel PT and BTS and the kernel driver.

Arnaldo, I have re-based on tip because of the conflict
with your ordered-events changes. I will have a closer look
at that next week.

I took a closer look and resolved the conflict by introducing:

static int perf_session__deliver_ordered_event(struct ordered_events *oe,
struct ordered_event *event,
struct perf_sample *sample)
struct perf_session *session =
container_of(oe, struct perf_session, ordered_events);

return perf_session__deliver_event(session, event->event, sample,
oe->tool, event->file_offset);

I will send another revision of the patch set, but I am also
considered renaming everything from "itrace" to something more
generic. Possibly "auxtrace" or "hwtrace". Any preferences?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at