mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-21 21:58:10 +02:00
sysmacros.h defines macros `minor()` and `major()`. These macros conflict with a definition of `minor()` in the Perfetto SDK header. Move the sysmacros.h include to intel_perf.c because the Perfetto header is only included at the same time as intel_perf.h not *.c (in intel_driver_ds.cc). Unbeknown to anyone, the definition of `minor()` in the Perfetto header is being replaced with the macro. See the MR attachment for an example. Signed-off-by: Renato Pereyra <renatopereyra@chromium.org> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29974> |
||
|---|---|---|
| .. | ||
| i915 | ||
| xe | ||
| gen_perf.py | ||
| intel_perf.c | ||
| intel_perf.h | ||
| intel_perf_common.c | ||
| intel_perf_common.h | ||
| intel_perf_mdapi.c | ||
| intel_perf_mdapi.h | ||
| intel_perf_private.h | ||
| intel_perf_query.c | ||
| intel_perf_query.h | ||
| intel_perf_query_layout.c | ||
| intel_perf_regs.h | ||
| intel_perf_setup.h | ||
| meson.build | ||
| oa-acmgt1.xml | ||
| oa-acmgt2.xml | ||
| oa-acmgt3.xml | ||
| oa-adl.xml | ||
| oa-bdw.xml | ||
| oa-bxt.xml | ||
| oa-cflgt2.xml | ||
| oa-cflgt3.xml | ||
| oa-chv.xml | ||
| oa-dg1.xml | ||
| oa-ehl.xml | ||
| oa-glk.xml | ||
| oa-hsw.xml | ||
| oa-icl.xml | ||
| oa-kblgt2.xml | ||
| oa-kblgt3.xml | ||
| oa-lnl.xml | ||
| oa-mtlgt2.xml | ||
| oa-mtlgt3.xml | ||
| oa-rkl.xml | ||
| oa-sklgt2.xml | ||
| oa-sklgt3.xml | ||
| oa-sklgt4.xml | ||
| oa-tglgt1.xml | ||
| oa-tglgt2.xml | ||