diff options
author | Daniel Gomez <da.gomez@samsung.com> | 2025-02-24 07:23:13 +0100 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2025-02-27 11:01:15 -0800 |
commit | 89eb42b5539f6ae6a0cabcb39e5b6fcc83c106a1 (patch) | |
tree | a6b14f2edd25d61f257753b69405061e2995a675 /tools/perf/scripts/python/stackcollapse.py | |
parent | dd8c01e42f4c5c1eaf02f003d7d588ba6706aa71 (diff) |
drm/xe: xe_gen_wa_oob: replace program_invocation_short_name
program_invocation_short_name may not be available in other systems.
Instead, replace it with the argv[0] to pass the executable name.
Fixes build error when program_invocation_short_name is not available:
drivers/gpu/drm/xe/xe_gen_wa_oob.c:34:3: error: use of
undeclared identifier 'program_invocation_short_name' 34 |
program_invocation_short_name); | ^ 1 error
generated.
Suggested-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Daniel Gomez <da.gomez@samsung.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250224-macos-build-support-xe-v3-1-d2c9ed3a27cc@samsung.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions