Re: [RFC] perf arm-spe: Track task context switch for cpu-mode events

From: German Gomez
Date: Mon Nov 01 2021 - 11:42:57 EST



On 01/11/2021 15:36, German Gomez wrote:
> [...]
> Not really. It will only peek at the first decoded packet without

Slight correction for clarity: s/decoded packet/decoded record/. I would
be peeking at the first record in the auxtrace queue. The context packet
is stored in the context_id field of the record.

> dropping it. I couldn't think of a corner case where the decoder might
> miss a context packet for the first records (I also haven't seen any -1
> values so far).
>