]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
perf tools: Cope with differences for lib/list_sort.c copy from the kernel
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 30 Sep 2024 20:13:48 +0000 (17:13 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 2 Oct 2024 18:07:32 +0000 (15:07 -0300)
commit36110669ddf832e6c9ceba4dd203749d5be31d31
treeddbeff7f10f9bf1862cbc1ccf65d434cfe61b4f2
parentcd46ea5ab48667e9522608533b9a24e3028fa368
perf tools: Cope with differences for lib/list_sort.c copy from the kernel

With 6d74e1e371d43a7b ("tools/lib/list_sort: remove redundant code for
cond_resched handling") we need to use the newly added hunk based
exceptions when comparing the copy we carry in tools/lib/ to the
original file, do it by adding the hunks that we know will be the
expected diff.

If at some point the original file is updated in other parts, then we
should flag and check the file for update.

Acked-by: Kuan-Wei Chiu <visitorckw@gmail.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Link: https://lore.kernel.org/lkml/20240930202136.16904-3-acme@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/check-header_ignore_hunks/lib/list_sort.c [new file with mode: 0644]
tools/perf/check-headers.sh