diff options
| author | Ian Rogers <irogers@google.com> | 2026-08-09 00:14:49 -0700 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2026-08-09 21:58:11 -0700 |
| commit | b365402cd5ea9e932b1458ee966d2258105da75d (patch) | |
| tree | 30588dac8f91b70071bfcec0b7755ef7146b5f8d /scripts/basic | |
| parent | 0b274050c4d427828595c12c2e4e53d98612b4f9 (diff) | |
| download | linux-b365402cd5ea9e932b1458ee966d2258105da75d.tar.gz linux-b365402cd5ea9e932b1458ee966d2258105da75d.zip | |
perf python: Zero initialize perf_data in pyrf_data__init
Replace path clearing with memset so the entire struct is zeroed,
preventing uninitialized fields from causing errors later.
Fixes: 4cd0142f7dec ("perf python: Add wrapper for perf_data file abstraction")
Signed-off-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
