Re: [PATCH i-g-t v2 0/4] tools/gputop: Add PMU stats

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 20/12/2024 00:37, Vinay Belgaumkar wrote:
Use the PMU support being added in
https://patchwork.freedesktop.org/series/139121/ to add freq/c6 stats.

Brace yourself for the customary "why". So yes, why?

Gputop so far was a reference showcase for DRM fdinfo, nothing more. Why add a _subset_ of PMU stats to it? Any other drivers could be wired up? How far do people intend to grow it, considering alternatives with nicer UI and more featureful exist?

Or in case the conclusion ends up being "yes", then lets at least share some more code between intel_gpu_top and this work. Ie. make it in a way gputop completely subsumes and replaces intel_gpu_top might be an idea.

Regards,

Tvrtko

Cc: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx>
Cc: Lucas De Marchi <lucas.demarchi@xxxxxxxxx>
Cc: Kamil Konieczny <kamil.konieczny@xxxxxxxxxxxxxxx>
Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar@xxxxxxxxx>

Vinay Belgaumkar (4):
   tools/gputop: Define data structs for PMU stats
   lib/igt_drm_clients: Add pdev and driver info
   lib/igt_perf: Add utils to extract PMU event info
   tools/gputop: Add GT freq and c6 stats

  lib/igt_drm_clients.c |   6 ++
  lib/igt_drm_clients.h |   4 +
  lib/igt_perf.c        |  68 +++++++++++++
  lib/igt_perf.h        |   2 +
  tools/gputop.c        | 225 ++++++++++++++++++++++++++++++++++++++++++
  tools/meson.build     |   2 +-
  6 files changed, 306 insertions(+), 1 deletion(-)




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux