summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorMario Limonciello (AMD) <superm1@kernel.org>2026-03-11 10:18:42 -0700
committerLizhi Hou <lizhi.hou@amd.com>2026-03-11 11:37:36 -0700
commitf66d6cc6891e41be96380261943837b1909107b3 (patch)
treeaa1cd4054417ac141294566f8efb6d8e26bb426c /tools/perf/scripts/python/bin/stackcollapse-record
parentf3bffef037fb4aedd6c0b7d066ad4cdcda75409a (diff)
accel/amdxdna: Support sensors for column utilization
The AMD PMF driver provides realtime column utilization (npu_busy) metrics for the NPU. Extend the DRM_IOCTL_AMDXDNA_GET_INFO sensor query to expose these metrics to userspace. Add AMDXDNA_SENSOR_TYPE_COLUMN_UTILIZATION to the sensor type enum and update aie2_get_sensors() to return both the total power and up to 8 column utilization sensors if the user buffer permits. Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org> Reviewed-by: Lizhi Hou <lizhi.hou@amd.com> [lizhi: support legacy tool which uses small buffer. checkpatch cleanup] Signed-off-by: Lizhi Hou <lizhi.hou@amd.com> Link: https://patch.msgid.link/20260311171842.473453-1-lizhi.hou@amd.com
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions