diff options
author | Steven Rostedt (Google) <[email protected]> | 2024-01-04 16:57:14 -0500 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2024-01-04 17:11:58 -0500 |
commit | 704f960dbee2f1634f4b4e16f208cb16eaf41c1e (patch) | |
tree | 46c0ff0987ba4d65f80a2fdadbf56d6930643bdb /scripts/gdb/linux/utils.py | |
parent | 1e4624eb5a0ecaae0d2c4e3019bece119725bb98 (diff) |
eventfs: Read ei->entries before ei->children in eventfs_iterate()
In order to apply a shortcut to skip over the current ctx->pos
immediately, by using the ei->entries array, the reading of that array
should be first. Moving the array reading before the linked list reading
will make the shortcut change diff nicer to read.
Link: https://lore.kernel.org/all/CAHk-=wiKwDUDv3+jCsv-uacDcHDVTYsXtBR9=6sGM5mqX+DhOg@mail.gmail.com/
Link: https://lore.kernel.org/linux-trace-kernel/[email protected]
Cc: Masami Hiramatsu <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Christian Brauner <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions