diff options
| author | Ian Rogers <irogers@google.com> | 2026-08-09 00:14:47 -0700 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2026-08-09 21:58:11 -0700 |
| commit | 9a142beb1eba42b986dc7016f4fc1a3bc28b8c09 (patch) | |
| tree | 9b347d949e9956b342c198b579df14aaa0703182 /scripts/basic | |
| parent | 612aca22a978d43f6e6765272676a17afdba8572 (diff) | |
| download | linux-9a142beb1eba42b986dc7016f4fc1a3bc28b8c09.tar.gz linux-9a142beb1eba42b986dc7016f4fc1a3bc28b8c09.zip | |
perf python: Validate CPU and thread maps in pyrf_evsel__open
Add explicit Py_TYPE checks to ensure the arguments passed are
actually of the correct pyrf_thread_map and pyrf_cpu_map types.
Fixes: 877108e42b1b ("perf tools: Initial python binding")
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
