diff options
| author | Leo Yan <[email protected]> | 2018-12-11 15:38:24 +0800 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-12-18 12:23:59 -0300 |
| commit | cfc1d4276b0453a752d8b31daf34f7f2dbd55e82 (patch) | |
| tree | 5c1ebdfc4d76f8b04b69988f2b9f6d73967a61cf /tools/perf/scripts/python | |
| parent | cee7a6a212ddb514d6e2ac1f9733501c43d63d0a (diff) | |
perf cs-etm: Refactor enumeration cs_etm_sample_type
The values in enumeration cs_etm_sample_type are defined with setting
bit N for each packet type, this is not suggested in the usual case.
This patch refactor cs_etm_sample_type by converting from bit shifting
values to continuous numbers.
Signed-off-by: Leo Yan <[email protected]>
Reviewed-by: Mathieu Poirier <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mike Leach <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Robert Walker <[email protected]>
Cc: [email protected]
Cc: [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')
0 files changed, 0 insertions, 0 deletions