Re: [PATCH v0 04/71] itrace: Infrastructure for instruction flow tracing units

From: Alexander Shishkin
Date: Wed Jan 08 2014 - 06:53:28 EST


Andi Kleen <andi@xxxxxxxxxxxxxx> writes:

>> So create two events, one for the PT stuff and one to track the
>> side-band stuff. We have a NOP event for just this purpose.
>
> Ok I guess that could work.
>
> Essentially replace the magic mmap offset with a second fd.
>
> Alex, what do you think?

Yes, that's what I suggested some time ago in [1]. A second buffer
(through another fd or otherwise) is an essential thing from my point of
view.

[1] http://marc.info/?l=linux-kernel&m=138737306725663

Regards,
--
Alex
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/