diff options
author | Ian Rogers <irogers@google.com> | 2024-07-03 20:21:16 +0300 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2024-07-04 00:59:15 +0300 |
commit | feaaa8be0b1efce6e8fb4222654413246bdc30aa (patch) | |
tree | 77cfa97e8c568fb28a9c2bfdd4727c281d2b4be5 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 2eae307ec529a48dd6de89c86d0df62c7f5fc537 (diff) | |
download | linux-feaaa8be0b1efce6e8fb4222654413246bdc30aa.tar.xz |
perf comm str: Avoid sort during insert
The array is sorted, so just move the elements and insert in order.
Fixes: 13ca628716c6 ("perf comm: Add reference count checking to 'struct comm_str'")
Reported-by: Matt Fleming <matt@readmodwrite.com>
Signed-off-by: Ian Rogers <irogers@google.com>
Tested-by: Matt Fleming <matt@readmodwrite.com>
Cc: Steinar Gunderson <sesse@google.com>
Cc: Athira Rajeev <atrajeev@linux.vnet.ibm.com>
Link: https://lore.kernel.org/r/20240703172117.810918-2-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions