diff options
| author | Ian Rogers <irogers@google.com> | 2026-08-09 00:14:50 -0700 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2026-08-09 22:02:38 -0700 |
| commit | b3d7c6c1a998c0dd4607558893ba03a374ee343f (patch) | |
| tree | 3ddfd953a1ab3cd0a071b4adaa880b6f2e6f38ee /scripts/Makefile.thinlto | |
| parent | b365402cd5ea9e932b1458ee966d2258105da75d (diff) | |
| download | linux-b3d7c6c1a998c0dd4607558893ba03a374ee343f.tar.gz linux-b3d7c6c1a998c0dd4607558893ba03a374ee343f.zip | |
perf python: Add thread and PMU uninitialized checks
Add CHECK_INITIALIZED checks to the thread attribute getters
(get_pid, get_tid, get_ppid) to prevent crashes if they are accessed
before being properly initialized.
Fixes: 3b96bf7af60d ("perf python: Add python session abstraction wrapping perf's session")
Signed-off-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
