diff options
| author | Jiri Olsa <[email protected]> | 2016-01-05 21:09:05 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-01-06 23:11:14 +0000 |
| commit | 6db1a5c190d6abe416ea36aa28a6c53e0b3bbd5e (patch) | |
| tree | 8917442646f793e3fff7e9f1c946925f4a5e8998 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | perf report: Add documentation for dynamic sort keys (diff) | |
| download | kernel-6db1a5c190d6abe416ea36aa28a6c53e0b3bbd5e.tar.gz kernel-6db1a5c190d6abe416ea36aa28a6c53e0b3bbd5e.zip | |
perf stat record: Keep sample_type 0 for pipe session
For pipe sessions we need to keep sample_type zero, because script's
perf_evsel__check_attr is triggered by sample_type != 0, and the check
would fail on stat session.
I was tempted to keep it zero unconditionally, but the pipe session is
sufficient. In perf.data session we are guarded by HEADER_STAT feature.
Signed-off-by: Jiri Olsa <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
