diff options
| author | Matthew Brost <matthew.brost@intel.com> | 2025-08-29 10:22:31 -0700 |
|---|---|---|
| committer | Matthew Brost <matthew.brost@intel.com> | 2025-09-02 22:23:07 -0700 |
| commit | 56e6d568854519ed8e3f57444b8073a32d963fe6 (patch) | |
| tree | 87165648c6fba53885d6e4c508019c1dbb9bef61 /tools/perf/scripts/python/libxed.py | |
| parent | 8d6f16f1f082881aa50ea7ae537b604dec647ed6 (diff) | |
drm/xe: Add clearing stats to GT debugfs
It helpful to clear GT stats, run a test cases which is being profiled,
and look at the results of the stats from the individual test case. Make
stats entry writable and upon write clear the stats.
v5:
- Drop clear_stats debugfs entry (Lucas)
v6:
- Use xe_gt_stats_clear rather than helper (Michal)
- Rework loop in xe_gt_stats_clear (Michal)
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://lore.kernel.org/r/20250829172232.1308004-2-matthew.brost@intel.com
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
