Re: [PATCH v3 00/15] perf python: Fix python extension bugs from v19 review
Namhyung Kim <[email protected]>
| Newsgroups | org.kernel.vger.linux-perf-users,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 09 Aug 2026 00:14:39 -0700, Ian Rogers wrote: > Phase 1 of splitting the v19 review patches into smaller fixes. > These patches address issues identified in the python extension during > the review of the v19 script porting series, as well as fixing several > pre-existing bugs and leaks. > > v3: > - Addressed review feedback from Namhyung Kim and Sashiko AI: > - Dropped "perf data: Fix directory file descriptor leak in perf_data__switch" > to avoid Use-After-Free during directory mode file rotation. > - Added list == NULL check in pyrf_counts_values_set_values to safely > handle attribute deletion (del obj.values). > - Preserved errno before calling intlist__delete(skiplist) in cmd_test > error path to prevent clobbering the return error code. > - Added CHECK_INITIALIZED to pyrf_pmu__repr to prevent NULL pointer > dereferences on uninitialized PMU objects. > - Fixed duplicate patch title from v2. > > [...] Applied to perf-tools-next, thanks! Best regards, Namhyung