mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 13:10:10 +01:00
util/u_trace: Fix iteration over config_control
Fixes: e1811af75d
("util/perf: add options to enable/disable tracepoints")
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16781>
This commit is contained in:
parent
e9d4c29f6a
commit
8d34cc2471
1 changed files with 1 additions and 0 deletions
|
|
@ -316,6 +316,7 @@ static const struct debug_control config_control[] = {
|
|||
% for toggle_name in TRACEPOINTS_TOGGLES.keys():
|
||||
{ "${toggle_name}", ${trace_toggle_name.upper()}_${toggle_name.upper()}, },
|
||||
% endfor
|
||||
{ NULL, 0, },
|
||||
};
|
||||
uint64_t ${trace_toggle_name} = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue