summaryrefslogtreecommitdiff
path: root/src/amd/common/ac_rgp.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>2023-04-26 17:02:38 +0200
committerMarge Bot <emma+marge@anholt.net>2023-04-28 16:55:13 +0000
commit559d3b0f9ab79ffeff1aaddb3dd6b9f313d71ff6 (patch)
tree795e63418a9469f3e5062baef8c13a66a9f78363 /src/amd/common/ac_rgp.h
parentc2d312c4016eb00f3e3c2ee8814a477cfccdff08 (diff)
ac,radv,radeonsi: rename thread_trace to sqtt everywhere
SQTT stands for SQ Thread Trace but it's shorter. Note that environment variables aren't renamed because this might break external applications. This renames: - ac_thread_trace_data to ac_sqtt (this is the main struct) - ac_thread_trace_info to ac_sqtt_data_info - ac_thread_trace_se to ac_sqtt_data_se - ac_thread_trace to ac_sqtt_trace (this contains trace only) Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22732>
Diffstat (limited to 'src/amd/common/ac_rgp.h')
-rw-r--r--src/amd/common/ac_rgp.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/amd/common/ac_rgp.h b/src/amd/common/ac_rgp.h
index c33129d5762..b8eda7a990b 100644
--- a/src/amd/common/ac_rgp.h
+++ b/src/amd/common/ac_rgp.h
@@ -32,8 +32,8 @@
#include "util/simple_mtx.h"
struct radeon_info;
-struct ac_thread_trace;
-struct ac_thread_trace_data;
+struct ac_sqtt_trace;
+struct ac_sqtt;
struct ac_spm_trace;
enum rgp_hardware_stages {
@@ -188,10 +188,8 @@ struct rgp_clock_calibration {
simple_mtx_t lock;
};
-int
-ac_dump_rgp_capture(struct radeon_info *info,
- struct ac_thread_trace *thread_trace,
- const struct ac_spm_trace *spm_trace);
+int ac_dump_rgp_capture(struct radeon_info *info, struct ac_sqtt_trace *sqtt_trace,
+ const struct ac_spm_trace *spm_trace);
void
ac_rgp_file_write_elf_object(FILE *output, size_t file_elf_start,