summaryrefslogtreecommitdiff
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2024-07-03 20:21:16 +0300
committerNamhyung Kim <namhyung@kernel.org>2024-07-08 08:26:27 +0300
commit88076e4699ce490aabe89037190d4749ab346b29 (patch)
tree7fc4bdb9a72eac762aa8f95bd4ca7c40ce578a5b /scripts/clang-tools/gen_compile_commands.py
parent83a7eefedc9b56fe7bfeff13b6c7356688ffa670 (diff)
downloadlinux-88076e4699ce490aabe89037190d4749ab346b29.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 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions