summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMatthew Brost <matthew.brost@intel.com>2024-08-01 18:41:17 +0300
committerMatthew Brost <matthew.brost@intel.com>2024-08-01 21:00:12 +0300
commit53369581dc0c68a5700ed51e1660f44c4b2bb524 (patch)
treed9eea326859f049e4df4bced7c3af8934b405eed /tools/perf/scripts/python/export-to-postgresql.py
parentc3bc97d2f102ddd5a8341eeb2dbae2a3e98bb46a (diff)
downloadlinux-53369581dc0c68a5700ed51e1660f44c4b2bb524.tar.xz
drm/printer: Allow NULL data in devcoredump printer
We want to determine the size of the devcoredump before writing it out. To that end, we will run the devcoredump printer with NULL data to get the size, alloc data based on the generated offset, then run the devcorecump again with a valid data pointer to print. This necessitates not writing data to the data pointer on the initial pass, when it is NULL. v5: - Better commit message (Jonathan) - Add kerenl doc with examples (Jani) Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Acked-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240801154118.2547543-3-matthew.brost@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions