diff options
| author | Michal Wajdeczko <[email protected]> | 2024-06-09 20:19:30 +0200 |
|---|---|---|
| committer | Michal Wajdeczko <[email protected]> | 2024-06-10 12:41:40 +0200 |
| commit | 7eea2580994b4eb266fd9aa60b1c913be4151925 (patch) | |
| tree | bd4ec8a604be567830d2d40f2370f820d9de96c9 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 3a3fc10cce3b6cc6ac252f3b6f5d750f0b1d735e (diff) | |
drm/xe/guc: Add pc_to_ct() helper
We are converting xe_guc_pc to xe_guc_ct few times already.
Add simple helper function to avoid code duplication.
While at it, simplify other helper functions and fix order
of local variables to match the guideline.
Signed-off-by: Michal Wajdeczko <[email protected]>
Cc: Vinay Belgaumkar <[email protected]>
Reviewed-by: Vinay Belgaumkar <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions