Re: [PATCH 2/3] perf/x86/intel/pt: Add an option to not force PSB+ on every schedule-in
From: Alexander Shishkin
Date: Thu Jul 30 2015 - 09:36:48 EST
Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx> writes:
> It kinda does make a difference: inside PSB+ you get a TSC packet, which
> carries the tsc timestamp as a payload, so, with the current behavior,
> since you'll get one of those at every event schedule-in, you'll have
> many more time synchronization points with the perf stream, but when the
> default changes, suddenly your timestamps way further apart and the
> decoder needs to put in additional guesswork to correlate those MMAP
> events in the perf stream with the PT trace.
I spoke hastily, TSC packets will be generated on every schedule-in (as
well as other packets that normally come in PSB+) regardless of the
actual PSB, so scratch the above. Let me replace the above with a
smaller patch.
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/