* FAILED: patch "[PATCH] Revert "perf report: Append inlines to non-DWARF callchains"" failed to apply to 6.4-stable tree
@ 2023-08-12 16:50 gregkh
2023-08-15 18:03 ` [PATCH 6.4.y 1/1] Revert "perf report: Append inlines to non-DWARF callchains" acme
2023-08-15 18:04 ` FAILED: patch "[PATCH] Revert "perf report: Append inlines to non-DWARF callchains"" failed to apply to 6.4-stable tree Arnaldo Carvalho de Melo
0 siblings, 2 replies; 5+ messages in thread
From: gregkh @ 2023-08-12 16:50 UTC (permalink / raw)
To: acme, acme, adrian.hunter, alexander.shishkin, andrii.nakryiko,
asavkov, hawk, irogers, jolsa, mark.rutland, mhiramat,
milian.wolff, mingo, namhyung, peterz
Cc: stable
The patch below does not apply to the 6.4-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable@vger.kernel.org>.
To reproduce the conflict and resubmit, you may use the following commands:
git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-6.4.y
git checkout FETCH_HEAD
git cherry-pick -x c0b067588a4836b762cfc6a4c83f122ca1dbb93a
# <resolve conflicts, build, test, etc.>
git commit -s
git send-email --to '<stable@vger.kernel.org>' --in-reply-to '2023081251-conceal-stool-53f1@gregkh' --subject-prefix 'PATCH 6.4.y' HEAD^..
Possible dependencies:
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
From c0b067588a4836b762cfc6a4c83f122ca1dbb93a Mon Sep 17 00:00:00 2001
From: Arnaldo Carvalho de Melo <acme@kernel.org>
Date: Tue, 1 Aug 2023 18:42:47 -0300
Subject: [PATCH] Revert "perf report: Append inlines to non-DWARF callchains"
This reverts commit 46d21ec067490ab9cdcc89b9de5aae28786a8b8e.
The tests were made with a specific workload, further tests on a
recently updated fedora 38 system with a system wide perf.data file
shows 'perf report' taking excessive time resolving inlines in vmlinux,
so lets revert this until a full investigation and improvement on the
addr2line support code is made.
Reported-by: Jesper Dangaard Brouer <hawk@kernel.org>
Acked-by: Artem Savkov <asavkov@redhat.com>
Tested-by: Jesper Dangaard Brouer <hawk@kernel.org>
Cc: Andrii Nakryiko <andrii.nakryiko@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Milian Wolff <milian.wolff@kdab.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/ZMl8VyhdwhClTM5g@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
diff --git a/tools/perf/util/machine.c b/tools/perf/util/machine.c
index 4e62843d51b7..f4cb41ee23cd 100644
--- a/tools/perf/util/machine.c
+++ b/tools/perf/util/machine.c
@@ -45,7 +45,6 @@
static void __machine__remove_thread(struct machine *machine, struct thread_rb_node *nd,
struct thread *th, bool lock);
-static int append_inlines(struct callchain_cursor *cursor, struct map_symbol *ms, u64 ip);
static struct dso *machine__kernel_dso(struct machine *machine)
{
@@ -2385,10 +2384,6 @@ static int add_callchain_ip(struct thread *thread,
ms.maps = maps__get(al.maps);
ms.map = map__get(al.map);
ms.sym = al.sym;
-
- if (!branch && append_inlines(cursor, &ms, ip) == 0)
- goto out;
-
srcline = callchain_srcline(&ms, al.addr);
err = callchain_cursor_append(cursor, ip, &ms,
branch, flags, nr_loop_iter,
^ permalink raw reply related [flat|nested] 5+ messages in thread* [PATCH 6.4.y 1/1] Revert "perf report: Append inlines to non-DWARF callchains"
2023-08-12 16:50 FAILED: patch "[PATCH] Revert "perf report: Append inlines to non-DWARF callchains"" failed to apply to 6.4-stable tree gregkh
@ 2023-08-15 18:03 ` acme
2023-08-21 16:42 ` Greg KH
2023-08-15 18:04 ` FAILED: patch "[PATCH] Revert "perf report: Append inlines to non-DWARF callchains"" failed to apply to 6.4-stable tree Arnaldo Carvalho de Melo
1 sibling, 1 reply; 5+ messages in thread
From: acme @ 2023-08-15 18:03 UTC (permalink / raw)
To: stable
Cc: Arnaldo Carvalho de Melo, Jesper Dangaard Brouer, Artem Savkov,
Andrii Nakryiko, Namhyung Kim, Adrian Hunter, Alexander Shishkin,
Ian Rogers, Ingo Molnar, Jiri Olsa, Mark Rutland,
Masami Hiramatsu, Milian Wolff, Peter Zijlstra,
Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo <acme@kernel.org>
This reverts commit 46d21ec067490ab9cdcc89b9de5aae28786a8b8e.
The tests were made with a specific workload, further tests on a
recently updated fedora 38 system with a system wide perf.data file
shows 'perf report' taking excessive time resolving inlines in vmlinux,
so lets revert this until a full investigation and improvement on the
addr2line support code is made.
Reported-by: Jesper Dangaard Brouer <hawk@kernel.org>
Acked-by: Artem Savkov <asavkov@redhat.com>
Tested-by: Jesper Dangaard Brouer <hawk@kernel.org>
Cc: Andrii Nakryiko <andrii.nakryiko@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Milian Wolff <milian.wolff@kdab.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/ZMl8VyhdwhClTM5g@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
(cherry picked from commit c0b067588a4836b762cfc6a4c83f122ca1dbb93a)
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
tools/perf/util/machine.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/tools/perf/util/machine.c b/tools/perf/util/machine.c
index 9e02e19c1b7a9ab6..4d564e0698dfc466 100644
--- a/tools/perf/util/machine.c
+++ b/tools/perf/util/machine.c
@@ -44,7 +44,6 @@
#include <linux/zalloc.h>
static void __machine__remove_thread(struct machine *machine, struct thread *th, bool lock);
-static int append_inlines(struct callchain_cursor *cursor, struct map_symbol *ms, u64 ip);
static struct dso *machine__kernel_dso(struct machine *machine)
{
@@ -2371,10 +2370,6 @@ static int add_callchain_ip(struct thread *thread,
ms.maps = al.maps;
ms.map = al.map;
ms.sym = al.sym;
-
- if (!branch && append_inlines(cursor, &ms, ip) == 0)
- return 0;
-
srcline = callchain_srcline(&ms, al.addr);
err = callchain_cursor_append(cursor, ip, &ms,
branch, flags, nr_loop_iter,
--
2.41.0
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [PATCH 6.4.y 1/1] Revert "perf report: Append inlines to non-DWARF callchains"
2023-08-15 18:03 ` [PATCH 6.4.y 1/1] Revert "perf report: Append inlines to non-DWARF callchains" acme
@ 2023-08-21 16:42 ` Greg KH
0 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2023-08-21 16:42 UTC (permalink / raw)
To: acme
Cc: stable, Jesper Dangaard Brouer, Artem Savkov, Andrii Nakryiko,
Namhyung Kim, Adrian Hunter, Alexander Shishkin, Ian Rogers,
Ingo Molnar, Jiri Olsa, Mark Rutland, Masami Hiramatsu,
Milian Wolff, Peter Zijlstra, Arnaldo Carvalho de Melo
On Tue, Aug 15, 2023 at 03:03:42PM -0300, acme@kernel.org wrote:
> From: Arnaldo Carvalho de Melo <acme@kernel.org>
>
> This reverts commit 46d21ec067490ab9cdcc89b9de5aae28786a8b8e.
>
> The tests were made with a specific workload, further tests on a
> recently updated fedora 38 system with a system wide perf.data file
> shows 'perf report' taking excessive time resolving inlines in vmlinux,
> so lets revert this until a full investigation and improvement on the
> addr2line support code is made.
>
> Reported-by: Jesper Dangaard Brouer <hawk@kernel.org>
> Acked-by: Artem Savkov <asavkov@redhat.com>
> Tested-by: Jesper Dangaard Brouer <hawk@kernel.org>
> Cc: Andrii Nakryiko <andrii.nakryiko@gmail.com>
> Cc: Namhyung Kim <namhyung@kernel.org>
> Cc: Adrian Hunter <adrian.hunter@intel.com>
> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
> Cc: Ian Rogers <irogers@google.com>
> Cc: Ingo Molnar <mingo@redhat.com>
> Cc: Jiri Olsa <jolsa@kernel.org>
> Cc: Mark Rutland <mark.rutland@arm.com>
> Cc: Masami Hiramatsu <mhiramat@kernel.org>
> Cc: Milian Wolff <milian.wolff@kdab.com>
> Cc: Peter Zijlstra <peterz@infradead.org>
> Link: https://lore.kernel.org/r/ZMl8VyhdwhClTM5g@kernel.org
> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
> (cherry picked from commit c0b067588a4836b762cfc6a4c83f122ca1dbb93a)
> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Now queued up, thanks.
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: FAILED: patch "[PATCH] Revert "perf report: Append inlines to non-DWARF callchains"" failed to apply to 6.4-stable tree
2023-08-12 16:50 FAILED: patch "[PATCH] Revert "perf report: Append inlines to non-DWARF callchains"" failed to apply to 6.4-stable tree gregkh
2023-08-15 18:03 ` [PATCH 6.4.y 1/1] Revert "perf report: Append inlines to non-DWARF callchains" acme
@ 2023-08-15 18:04 ` Arnaldo Carvalho de Melo
2023-08-21 16:41 ` Greg KH
1 sibling, 1 reply; 5+ messages in thread
From: Arnaldo Carvalho de Melo @ 2023-08-15 18:04 UTC (permalink / raw)
To: gregkh
Cc: acme, adrian.hunter, alexander.shishkin, andrii.nakryiko, asavkov,
hawk, irogers, jolsa, mark.rutland, mhiramat, milian.wolff, mingo,
namhyung, peterz, stable
Em Sat, Aug 12, 2023 at 06:50:51PM +0200, gregkh@linuxfoundation.org escreveu:
>
> The patch below does not apply to the 6.4-stable tree.
> If someone wants it applied there, or to any other stable or longterm
> tree, then please email the backport, including the original git commit
> id to <stable@vger.kernel.org>.
>
> To reproduce the conflict and resubmit, you may use the following commands:
>
> git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-6.4.y
> git checkout FETCH_HEAD
> git cherry-pick -x c0b067588a4836b762cfc6a4c83f122ca1dbb93a
> # <resolve conflicts, build, test, etc.>
> git commit -s
> git send-email --to '<stable@vger.kernel.org>' --in-reply-to '2023081251-conceal-stool-53f1@gregkh' --subject-prefix 'PATCH 6.4.y' HEAD^..
Had to add "--no-cover-letter":
[acme@quaco perf-tools-next]$ git send-email --to '<stable@vger.kernel.org>' --in-reply-to '2023081251-conceal-stool-53f1@gregkh' --subject-prefix 'PATCH 6.4.y' HEAD^..
/tmp/5jnzQlFK3_/0000-cover-letter.patch
/tmp/5jnzQlFK3_/0001-Revert-perf-report-Append-inlines-to-non-DWARF-callc.patch
Refusing to send because the patch
/tmp/5jnzQlFK3_/0000-cover-letter.patch
has the template subject '*** SUBJECT HERE ***'. Pass --force if you really want to send.
[acme@quaco perf-tools-next]$
[acme@quaco perf-tools-next]$
[acme@quaco perf-tools-next]$
[acme@quaco perf-tools-next]$ man git-send-email
[acme@quaco perf-tools-next]$
[acme@quaco perf-tools-next]$ git send-email --no-cover-letter
Sent.
> Possible dependencies:
>
>
>
> thanks,
>
> greg k-h
>
> ------------------ original commit in Linus's tree ------------------
>
> From c0b067588a4836b762cfc6a4c83f122ca1dbb93a Mon Sep 17 00:00:00 2001
> From: Arnaldo Carvalho de Melo <acme@kernel.org>
> Date: Tue, 1 Aug 2023 18:42:47 -0300
> Subject: [PATCH] Revert "perf report: Append inlines to non-DWARF callchains"
>
> This reverts commit 46d21ec067490ab9cdcc89b9de5aae28786a8b8e.
>
> The tests were made with a specific workload, further tests on a
> recently updated fedora 38 system with a system wide perf.data file
> shows 'perf report' taking excessive time resolving inlines in vmlinux,
> so lets revert this until a full investigation and improvement on the
> addr2line support code is made.
>
> Reported-by: Jesper Dangaard Brouer <hawk@kernel.org>
> Acked-by: Artem Savkov <asavkov@redhat.com>
> Tested-by: Jesper Dangaard Brouer <hawk@kernel.org>
> Cc: Andrii Nakryiko <andrii.nakryiko@gmail.com>
> Cc: Namhyung Kim <namhyung@kernel.org>
> Cc: Adrian Hunter <adrian.hunter@intel.com>
> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
> Cc: Ian Rogers <irogers@google.com>
> Cc: Ingo Molnar <mingo@redhat.com>
> Cc: Jiri Olsa <jolsa@kernel.org>
> Cc: Mark Rutland <mark.rutland@arm.com>
> Cc: Masami Hiramatsu <mhiramat@kernel.org>
> Cc: Milian Wolff <milian.wolff@kdab.com>
> Cc: Peter Zijlstra <peterz@infradead.org>
> Link: https://lore.kernel.org/r/ZMl8VyhdwhClTM5g@kernel.org
> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
>
> diff --git a/tools/perf/util/machine.c b/tools/perf/util/machine.c
> index 4e62843d51b7..f4cb41ee23cd 100644
> --- a/tools/perf/util/machine.c
> +++ b/tools/perf/util/machine.c
> @@ -45,7 +45,6 @@
>
> static void __machine__remove_thread(struct machine *machine, struct thread_rb_node *nd,
> struct thread *th, bool lock);
> -static int append_inlines(struct callchain_cursor *cursor, struct map_symbol *ms, u64 ip);
>
> static struct dso *machine__kernel_dso(struct machine *machine)
> {
> @@ -2385,10 +2384,6 @@ static int add_callchain_ip(struct thread *thread,
> ms.maps = maps__get(al.maps);
> ms.map = map__get(al.map);
> ms.sym = al.sym;
> -
> - if (!branch && append_inlines(cursor, &ms, ip) == 0)
> - goto out;
> -
> srcline = callchain_srcline(&ms, al.addr);
> err = callchain_cursor_append(cursor, ip, &ms,
> branch, flags, nr_loop_iter,
>
--
- Arnaldo
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: FAILED: patch "[PATCH] Revert "perf report: Append inlines to non-DWARF callchains"" failed to apply to 6.4-stable tree
2023-08-15 18:04 ` FAILED: patch "[PATCH] Revert "perf report: Append inlines to non-DWARF callchains"" failed to apply to 6.4-stable tree Arnaldo Carvalho de Melo
@ 2023-08-21 16:41 ` Greg KH
0 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2023-08-21 16:41 UTC (permalink / raw)
To: Arnaldo Carvalho de Melo
Cc: acme, adrian.hunter, alexander.shishkin, andrii.nakryiko, asavkov,
hawk, irogers, jolsa, mark.rutland, mhiramat, milian.wolff, mingo,
namhyung, peterz, stable
On Tue, Aug 15, 2023 at 03:04:40PM -0300, Arnaldo Carvalho de Melo wrote:
> Em Sat, Aug 12, 2023 at 06:50:51PM +0200, gregkh@linuxfoundation.org escreveu:
> >
> > The patch below does not apply to the 6.4-stable tree.
> > If someone wants it applied there, or to any other stable or longterm
> > tree, then please email the backport, including the original git commit
> > id to <stable@vger.kernel.org>.
> >
> > To reproduce the conflict and resubmit, you may use the following commands:
> >
> > git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-6.4.y
> > git checkout FETCH_HEAD
> > git cherry-pick -x c0b067588a4836b762cfc6a4c83f122ca1dbb93a
> > # <resolve conflicts, build, test, etc.>
> > git commit -s
> > git send-email --to '<stable@vger.kernel.org>' --in-reply-to '2023081251-conceal-stool-53f1@gregkh' --subject-prefix 'PATCH 6.4.y' HEAD^..
>
> Had to add "--no-cover-letter":
That's odd, is "cover letter" a default setting somewhere? I've never
seen that triggered, but then I don't use git send-email with a patch
range...
thanks,
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-08-21 16:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-12 16:50 FAILED: patch "[PATCH] Revert "perf report: Append inlines to non-DWARF callchains"" failed to apply to 6.4-stable tree gregkh
2023-08-15 18:03 ` [PATCH 6.4.y 1/1] Revert "perf report: Append inlines to non-DWARF callchains" acme
2023-08-21 16:42 ` Greg KH
2023-08-15 18:04 ` FAILED: patch "[PATCH] Revert "perf report: Append inlines to non-DWARF callchains"" failed to apply to 6.4-stable tree Arnaldo Carvalho de Melo
2023-08-21 16:41 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox