diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2017-07-26 19:52:25 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-07-26 19:52:25 +0000 |
| commit | c6c13be76c1fc8a3169dbd29cd1d42af1d64773f (patch) | |
| tree | 14f31f566b560c62669385725461d124fca1b97a /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | perf stat: Use group read for event groups (diff) | |
| download | kernel-c6c13be76c1fc8a3169dbd29cd1d42af1d64773f.tar.gz kernel-c6c13be76c1fc8a3169dbd29cd1d42af1d64773f.zip | |
perf annotate: Do not overwrite perf_sample->weight
When we parse an event we may get a value from the kernel in response to
PERF_SAMPLE_WEIGHT being set in perf_event_attr->sample_type, and if it
is not set, then perf_sample->weight will be set to zero, which should
be ok according to a discussion with Andi Kleen [1]:
1: https://lkml.kernel.org/r/[email protected]
Acked-by: Andi Kleen <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Milian Wolff <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Taeung Song <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
