diff options
author | Alexander Shishkin <[email protected]> | 2019-06-27 15:51:47 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-07-03 17:45:57 +0200 |
commit | f505e91ef511a20b2bc3d0eaca41faecdb715027 (patch) | |
tree | 7610e38b15129e8017dbf60dbd769909da4e0027 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | bbbc08a154a1750371f8347a5353819551d11abb (diff) |
intel_th: msu: Start read iterator from a non-empty window
In multi-window mode, the read iterator is supposed to start from the
window with the oldest data, which is, chronologically, the next window
after the one with the newest data. This, however, fails to take into
account the potentially empty windows, so in short trace sessions it's
possible to have a lot of zeroes read from the character device first.
Fix this by skipping over the empty windows in initialization of the
read iterator.
Signed-off-by: Alexander Shishkin <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions