diff options
author | Ritesh Harjani <ritesh.list@gmail.com> | 2023-05-15 16:10:42 +0530 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2023-06-15 00:02:10 -0400 |
commit | 36c9b4504088089185f7743433c914935b518ab2 (patch) | |
tree | 2fb60b6ef783c3ba96daa6e0bc4739f0f05e36fe /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0b956de1512e23329aa27f60fe4a8b3e6afc7d6a (diff) |
ext4: Change remaining tracepoints to use folio
ext4_readpage() is converted to ext4_read_folio() hence change the
related tracepoint from trace_ext4_readpage(page) to
trace_ext4_read_folio(folio). Do the same for
trace_ext4_releasepage(page) to trace_ext4_release_folio(folio)
As a minor bit of optimization to avoid an extra dereferencing,
since both of the above functions already were dereferencing
folio->mapping->host, hence change the tracepoint argument to take
(inode, folio).
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Link: https://lore.kernel.org/r/caba2b3c0147bed4ea7706767dc1d19cd0e29ab0.1684122756.git.ritesh.list@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions