diff options
author | Nirmoy Das <nirmoy.das@intel.com> | 2024-08-10 22:15:18 +0300 |
---|---|---|
committer | Nirmoy Das <nirmoy.das@intel.com> | 2024-08-12 20:08:53 +0300 |
commit | acc4e41ec41fa28ae9fbdb1a2750525a7a242743 (patch) | |
tree | 1d280543570c2d3e0e3113dc0de58f8b91a12681 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 08b5a4798713f4331317272752b27b1c4f6a246d (diff) | |
download | linux-acc4e41ec41fa28ae9fbdb1a2750525a7a242743.tar.xz |
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 <lucas.demarchi@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Sai Gowtham Ch <sai.gowtham.ch@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240810191522.18616-1-nirmoy.das@intel.com
Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions