diff options
| author | Andrii Nakryiko <[email protected]> | 2024-07-29 10:40:44 -0700 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-09-01 20:43:30 -0700 |
| commit | 00bd8ec2f7cb40e438f5c9eb9ea2110d1ce5e165 (patch) | |
| tree | b3734f5d71f1b9312fde08488440e09577c43cb9 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | b6e21b71208f289a796d786bd695ec25eae4ed9a (diff) | |
fs/procfs: remove build ID-related code duplication in PROCMAP_QUERY
A piece of build ID handling code in PROCMAP_QUERY ioctl() was
accidentally duplicated. It wasn't meant to be part of ed5d583a88a9
("fs/procfs: implement efficient VMA querying API for /proc/<pid>/maps")
commit, which is what introduced duplication.
It has no correctness implications, but we unnecessarily perform the same
work twice, if build ID parsing is requested. Drop the duplication.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: ed5d583a88a9 ("fs/procfs: implement efficient VMA querying API for /proc/<pid>/maps")
Signed-off-by: Andrii Nakryiko <[email protected]>
Reported-by: Jann Horn <[email protected]>
Cc: Alexey Dobriyan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions