summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2025-07-10 13:33:46 -0700
committerLucas De Marchi <lucas.demarchi@intel.com>2025-07-14 13:20:02 -0700
commit76650bcf2ae49106a9164406c90feba4c3135763 (patch)
tree74f739c34436fd4ba160355a79edf139056d073c /tools/perf/util/scripting-engines/trace-event-python.c
parentb533b8e5a1f90aa15bb6e021cbf84cba2ea23e00 (diff)
drm/xe/lrc: Reduce scope of empty lrc data
The only case in which new lrc data is created from scratch is when it's called prior to recording the default lrc. There's no need to check for NULL init_data since in that case the function already failed: just move the allocation where it's needed. Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com> Reviewed-by: Matthew Brost <matthew.brost@intel.com> Link: https://lore.kernel.org/r/20250710-lrc-refactors-v2-1-a5e2ca03f6bd@intel.com Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions