summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorMichal Wajdeczko <michal.wajdeczko@intel.com>2025-07-02 16:25:04 +0200
committerMichal Wajdeczko <michal.wajdeczko@intel.com>2025-07-10 16:00:13 +0200
commit621a4220793b6d7bf29c66e2d82b9290225b2cf6 (patch)
tree86e053031e67209fe01269c18bbe1dfc23fba8f7 /tools/perf/util/scripting-engines/trace-event-python.c
parent1fbe023d30da84d11299dfab496f40daae423940 (diff)
drm/xe/guc: Don't allocate temporary policies object
Since we are already using reusable buffer objects from the GuC buffer cache, we can directly write into their CPU pointers and spare unnecessary temporary allocation. While around, also make sure to clear obtained buffer, to avoid sending some stale data. Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Cc: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Matthew Brost <matthew.brost@intel.com> Link: https://lore.kernel.org/r/20250702142504.1656-1-michal.wajdeczko@intel.com
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions