perf-tools-fixes for v6.10
Hi Linus,
Please consider pulling the following changes in perf tools for v6.10.
Thanks,
Namhyung
The following changes since commit 83a7eefedc9b56fe7bfeff13b6c7356688ffa670:
Linux 6.10-rc3 (2024-06-09 14:19:43 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools.git tags/perf-tools-fixes-for-v6.10-2024-07-08
for you to fetch changes up to 7b2450bb40275802b73593331b0db2fc147ae2b7:
perf dsos: When adding a dso into sorted dsos maintain the sort order (2024-07-07 22:26:29 -0700)
----------------------------------------------------------------
perf tools: Fix the performance issue for v6.10
These addresses the performance issues reported by Matt, Namhyung and Linus. Recently it changed processing comm string and DSO with sorted arrays but it required to sort the array whenever it adds a new entry. This caused a performance issue and fix is to enhance the sorting by finding the insertion point in the sorted array and to shift righthand side using memmove().
----------------------------------------------------------------
Ian Rogers (2):
perf comm str: Avoid sort during insert
perf dsos: When adding a dso into sorted dsos maintain the sort order
tools/perf/util/comm.c | 29 ++++++++++++++++++----------- tools/perf/util/dsos.c | 26 +++++++++++++++++++++----- 2 files changed, 39 insertions(+), 16 deletions(-)
The pull request you sent on Mon, 8 Jul 2024 08:08:20 -0700:
The pull request you sent on Mon, 8 Jul 2024 08:08:20 -0700:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools.gittags/perf-tools-fixes-for-v6.10-2024-07-08
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/4376e966ecb78c520b0faf239d118ecfab42a119
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html