diff options
author | Nirmoy Das <[email protected]> | 2024-08-10 21:15:18 +0200 |
---|---|---|
committer | Nirmoy Das <[email protected]> | 2024-08-12 19:08:53 +0200 |
commit | acc4e41ec41fa28ae9fbdb1a2750525a7a242743 (patch) | |
tree | 1d280543570c2d3e0e3113dc0de58f8b91a12681 /tools/perf/scripts/python | |
parent | 08b5a4798713f4331317272752b27b1c4f6a246d (diff) |
drm/xe/gt: Add APIs for printing stats over debugfs
Add skeleton APIs for recording and printing various stats over
debugfs. This currently only added counter types stats which is backed
by atomic_t and wrapped with CONFIG_DRM_XE_STATS so this can be disabled
on production system.
v4: Rebase and other minor fixes (Matt)
v3: s/CONFIG_DRM_XE_STATS/CONFIG_DEBUG_FS(Lucas)
v2: add missing docs
Add boundary checks for stats id and other improvements (Michal)
Fix build when CONFIG_DRM_XE_STATS is disabled(Matt)
Cc: Lucas De Marchi <[email protected]>
Cc: Matthew Brost <[email protected]>
Cc: Michal Wajdeczko <[email protected]>
Cc: Sai Gowtham Ch <[email protected]>
Reviewed-by: Matthew Brost <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Nirmoy Das <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions