diff options
| author | Mathieu Poirier <[email protected]> | 2019-06-19 11:29:09 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-06-19 20:29:14 +0200 |
| commit | 5aafd9bf7aa932f2a97e5a55d1acda67c161621f (patch) | |
| tree | afc112924a6d70c5d9ca6da721bb40d038fdf437 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 99f81eb9c51d499f65bac25597e9def22f6a32dc (diff) | |
coresight: perf: Don't set the truncated flag in snapshot mode
This patch avoids setting the truncated flag when operating in snapshot
mode since the trace buffer is expected to be truncated and discontinuous
from one snapshot to another. Moreover when the truncated flag is set
the perf core stops enabling the event, waiting for user space to consume
the data. In snapshot mode this is clearly not what we want since it
results in stale data.
Signed-off-by: Mathieu Poirier <[email protected]>
Reviewed-by: Suzuki K Poulose <[email protected]>
Tested-by: Leo Yan <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions