diff options
author | Athira Rajeev <[email protected]> | 2021-03-22 10:57:25 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-03-26 08:49:48 -0300 |
commit | ff0bd0a33f257cc01c0b777c1423205e49049777 (patch) | |
tree | 8781deafffbb20d590eba9c5cae5dc42a57c3fa4 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 0a606822c4863b2398925e6ff3329d64c4c52bb8 (diff) |
perf powerpc: Add support for PERF_SAMPLE_WEIGHT_STRUCT
Add arch specific arch_evsel__set_sample_weight() to set the new
sample type for powerpc.
Add arch specific arch_perf_parse_sample_weight() to store the
sample->weight values depending on the sample type applied.
if the new sample type (PERF_SAMPLE_WEIGHT_STRUCT) is applied,
store only the lower 32 bits to sample->weight. If sample type
is 'PERF_SAMPLE_WEIGHT', store the full 64-bit to sample->weight.
Signed-off-by: Athira Rajeev <[email protected]>
Reviewed-by: Madhavan Srinivasan <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Kajol Jain <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Ravi Bangoria <[email protected]>
Link: https://lore.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