diff options
| author | Anubhav Shelat <ashelat@redhat.com> | 2026-07-15 09:52:22 -0400 |
|---|---|---|
| committer | Steven Rostedt <rostedt@goodmis.org> | 2026-08-08 12:42:09 -0400 |
| commit | 3cf6ee903ca0f895d10e5f59f13497e1aa29bb73 (patch) | |
| tree | f8ce6ed045a6c56bd580af1a4a9e2536a5740b36 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 075b74841bd0065a3bda3440873c747938e69b68 (diff) | |
eventfs: Define event fields before directory creation
Move the event_define_fields() call in event_create_dir() before the
eventfs directory creation. Previously, a failure after directory
creation wouldn't clean up eventfs_inode because the error path didn't
call eventfs_remove_dir(). This eliminates the need to clean up the
eventfs directories if event_define_fields() fails.
Link: https://patch.msgid.link/20260715135231.338535-3-ashelat@redhat.com
Signed-off-by: Anubhav Shelat <ashelat@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
