mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
gpu: nvgpu: Add debugfs wrapper for exposing profilers
The current debugfs code is completely specific to FIFO's kickoff profiler. But exposing these debugfs nodes is really a perfectly generic operation to any given profiler. Therefore add a generic debugfs interface for exposing profilers. Any code that implements a profiler can now use a single function call to export a profiler to the GPU debugfs area. JIRA NVGPU-5606 Change-Id: I67a5bd9998fcfac94678e465442b9a38ab7e7612 Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2358382 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
@@ -86,6 +86,8 @@ debug:
|
||||
os/linux/debug_s_param.h,
|
||||
os/linux/debug_volt.c,
|
||||
os/linux/debug_volt.h,
|
||||
os/linux/swprofile_debugfs.c,
|
||||
os/linux/swprofile_debugfs.h,
|
||||
os/linux/fecs_trace_linux.c,
|
||||
os/linux/fecs_trace_linux.h,
|
||||
os/linux/nvlink_probe.c ]
|
||||
|
||||
Reference in New Issue
Block a user