~mmach/netext73/mesa-ryzen

« back to all changes in this revision

Viewing changes to src/gallium/drivers/freedreno/freedreno_tracepoints.py

  • Committer: mmach
  • Date: 2023-11-02 21:31:35 UTC
  • Revision ID: netbit73@gmail.com-20231102213135-18d4tzh7tj0uz752
2023-11-02 22:11:57

Show diffs side-by-side

added added

removed removed

Lines of Context:
123
123
begin_end_tp('vsc_overflow_test')
124
124
begin_end_tp('prologue')
125
125
 
126
 
# For GMEM pass, where this could either be a clear or resolve
127
 
begin_end_tp('clear_restore',
 
126
# Either sysmem or gmem clears
 
127
begin_end_tp('clears',
128
128
    args=[TracepointArg(type='uint16_t', var='fast_cleared', c_format='0x%x')],
129
129
    tp_print=['fast_cleared: 0x%x', '__entry->fast_cleared'],
130
130
)
131
131
 
132
 
begin_end_tp('resolve')
 
132
begin_end_tp('tile_loads',
 
133
    args=[TracepointArg(type='uint16_t', var='load', c_format='0x%x')],
 
134
    tp_print=['load=0x%x', '__entry->load'],
 
135
)
 
136
 
 
137
begin_end_tp('tile_stores',
 
138
    args=[TracepointArg(type='uint16_t', var='store', c_format='0x%x')],
 
139
    tp_print=['store: 0x%x', '__entry->store'],
 
140
)
133
141
 
134
142
singular_tp('start_tile',
135
143
    args=[TracepointArg(type='uint16_t', var='bin_h', c_format='%u'),
157
165
          TracepointArg(type='uint16_t', var='local_size_z', c_format='%u'),
158
166
          TracepointArg(type='uint32_t', var='num_groups_x', c_format='%u'),
159
167
          TracepointArg(type='uint32_t', var='num_groups_y', c_format='%u'),
160
 
          TracepointArg(type='uint32_t', var='num_groups_z', c_format='%u')]
 
168
          TracepointArg(type='uint32_t', var='num_groups_z', c_format='%u'),
 
169
          TracepointArg(type='uint32_t', var='shader_id',    c_format='%u')]
161
170
)
162
171
 
163
172
utrace_generate(cpath=args.src,