On March 25, 2021 11:38:01 AM GMT-03:00, Peter Zijlstra
wrote:
>On Thu, Mar 25, 2021 at 10:01:35AM -0300, Arnaldo Carvalho de Melo
>wrote:.
>> > > Also for CPU_FTR_ARCH_31, capture the two cycle counter
>information in
>> > > two 16 bit field
On March 18, 2021 6:14:34 PM GMT-03:00, Jiri Olsa wrote:
>On Thu, Mar 18, 2021 at 03:52:51AM +, Song Liu wrote:
>>
>>
>> > On Mar 17, 2021, at 6:11 AM, Arnaldo Carvalho de Melo
> wrote:
>> >
>> > Em Wed, Mar 17, 2021 at 02:29:28P
>+// SPDX-License-Identifier: GPL-2.0
>+#include
>+#include
>+#include
>+
>+#include "../../../util/event.h"
>+#include "../../../util/synthetic-events.h"
>+#include "../../../util/machine.h"
>+#include "../../../util/tool.h"
>+#
would be overwritten, something like making a range read only and then
when the event would be _really_ consumed the tooling would mark it as
so... Have to think about it more tho :-\
- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a mes
Em Thu, Oct 24, 2013 at 02:12:29PM +0100, David Ahern escreveu:
> On 10/24/13 1:27 PM, Arnaldo Melo wrote:
> The driving use case is my perf-daemon:
> https://github.com/dsahern/linux/blob/perf-sched-timehist-3.11/tools/perf/schedmon.c,
> line 271.
>
> Rather than have the p
On May 1, 2020 8:25:52 AM GMT-03:00, Jiri Olsa wrote:
>On Wed, Apr 29, 2020 at 10:11:03AM -0300, Arnaldo Carvalho de Melo
>wrote:
>> From: Arnaldo Carvalho de Melo
>>
>> I.e. so far we had just one event in that side band thread, a dummy
>one
>> with attr.bp
On April 28, 2020 6:58:46 PM GMT-03:00, Joe Perches wrote:
>On Tue, 2020-04-28 at 14:50 -0300, Arnaldo Carvalho de Melo wrote:
>> Em Sun, Apr 26, 2020 at 08:31:05PM +0800, Zou Wei escreveu:
>> > This issue was detected by using the Coccinelle software:
>> >
>&
duces a libtracefs, that is to handle all the work needed to
>interact with the tracefs directory. This will also be useful for perf
>to read the event directory without having to open code that work.
>
>I'm all for giving perf the functionality of ftrace, but I would like
>to have
,Stephane Eranian
From: Arnaldo Carvalho de Melo
Message-ID: <79bcbaf7-bf5f-4556-a923-56e9d82fb...@gmail.com>
On May 15, 2020 4:42:46 PM GMT-03:00, Andrii Nakryiko
wrote:
>On Fri, May 15, 2020 at 10:01 AM Arnaldo Carvalho de Melo
> wrote:
>>
>> Em Fri, May 15, 2020
On May 11, 2020 2:26:20 PM GMT-03:00, "Gustavo A. R. Silva"
wrote:
>On Mon, May 11, 2020 at 12:48:12PM -0300, Arnaldo Carvalho de Melo
>wrote:
>> Em Thu, May 07, 2020 at 02:06:15PM -0500, Gustavo A. R. Silva
>escreveu:
>> > The current codebase makes use
zeof operator is being incorrectly/erroneously applied to
>zero-length arrays and the result is zero. Such instances may be hiding
>some bugs. So, this work (flexible-array member conversions) will also
>help to get completely rid of those sorts of issues.
>
>This issue was found with
Em Fri, Dec 08, 2017 at 06:48:17PM +0100, Michael Petlan escreveu:
> Hi Arnaldo, so I have tried what you've suggested and looks good.
> Patch is attached. Sorry for not posting it in-text, but I need to
> fix my mail client first, since it screwes some patches up due to
> flowed
or event better return -ENOMEM.
>
> Neither makes sense: the callers won't handle it and it's not a bug.
> If you're out of memory in user space the only thing you can do is to
> exit.
Nope, just propagate it back and handle at the callers, the memory
exhaustion may be
x27;m moving the initialization to outside the struct named initialization
block, i.e.:
@@ -32,9 +32,10 @@ static int __test__sw_clock_freq(enum perf_sw_ids clock_id)
.exclude_kernel = 1,
.disabled = 1,
.freq = 1,
- .sample_freq = 1,
://lkml.kernel.org/r/1361374353-30385-3-git-send-email...@alien8.de
Signed-off-by: Arnaldo Carvalho de Melo
---
Makefile |4 ++--
tools/scripts/Makefile.include |2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 6fccf65
-send-email-namhy...@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/util/evsel.c |5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/tools/perf/util/evsel.c b/tools/perf/util/evsel.c
index dc16231..7fde9fb 100644
--- a/tools/perf/util/evsel.c
+++ b/tools
/1363326533-3310-4-git-send-email-namhy...@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/builtin-record.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c
index 80cc3ea..9f2344a 100644
--- a/tools
:
http://lkml.kernel.org/r/1362462812-30885-8-git-send-email-namhy...@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/ui/browsers/annotate.c |2 +-
tools/perf/util/annotate.c| 14 +++---
tools/perf/util/annotate.h|8 ++--
3 files changed, 14
From: Arnaldo Carvalho de Melo
Hi Ingo,
Please consider pulling,
- Arnaldo
The following changes since commit d1398ccfec56e54010476efd6a316427d29045a6:
perf tools: Fix LIBNUMA build with glibc 2.12 and older. (2013-03-14 08:06:21
-0300)
are available in the git repository at
FAILED in non
verbose mode ]
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/Makefile |1 +
tools/perf/tests/bp_signal_overflow.c | 126 +
tools/perf/tests/builtin-test.c |4 +
tools/perf/tests/tests.h |1
-namhy...@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/util/trace-event-read.c | 201
1 files changed, 0 insertions(+), 201 deletions(-)
diff --git a/tools/perf/util/trace-event-read.c
b/tools/perf/util/trace-event-read.c
index 3741572
From: Arnaldo Carvalho de Melo
Reducing the noise in the main logic.
Cc: David Ahern
Cc: Frederic Weisbecker
Cc: Jiri Olsa
Cc: Mike Galbraith
Cc: Namhyung Kim
Cc: Paul Mackerras
Cc: Peter Zijlstra
Cc: Stephane Eranian
Link: http://lkml.kernel.org/n/tip-o219lnci04hlilxi6711w
phane Eranian
Cc: Thomas Gleixner
Cc: Vince Weaver
Link:
http://lkml.kernel.org/r/1362940871-24486-6-git-send-email-jo...@redhat.com
[ committer note: s/pr_err/pr_debug/g i.e. print just OK or FAILED in non
verbose mode ]
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/Makefile |
-email...@alien8.de
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/vm/Makefile | 17 --
tools/vm/page-types.c | 85 -
2 files changed, 21 insertions(+), 81 deletions(-)
diff --git a/tools/vm/Makefile b/tools/vm/Makefile
index
/1363326533-3310-3-git-send-email-namhy...@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/builtin-trace.c | 16 +++-
1 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c
index 49fedb5..ab3ed4a 100644
From: Namhyung Kim
Add missing perf_evlist__close() function.
Signed-off-by: Namhyung Kim
Cc: David Ahern
Cc: Ingo Molnar
Cc: Jiri Olsa
Cc: Paul Mackerras
Cc: Peter Zijlstra
Link:
http://lkml.kernel.org/r/1363326533-3310-6-git-send-email-namhy...@kernel.org
Signed-off-by: Arnaldo
org/r/1363173585-9754-6-git-send-email-namhy...@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/util/trace-event-info.c |3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/tools/perf/util/trace-event-info.c
b/tools/perf/util/trace-event-info.c
index 3c
: Namhyung Kim
Cc: Paul Mackerras
Cc: Pekka Enberg
Cc: Peter Zijlstra
Link:
http://lkml.kernel.org/r/1362462812-30885-9-git-send-email-namhy...@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/util/annotate.c | 130 +---
tools/perf/util
From: Namhyung Kim
Add missing evlist cleanup functions.
Signed-off-by: Namhyung Kim
Cc: David Ahern
Cc: Ingo Molnar
Cc: Jiri Olsa
Cc: Paul Mackerras
Cc: Peter Zijlstra
Link:
http://lkml.kernel.org/r/1363326533-3310-5-git-send-email-namhy...@kernel.org
Signed-off-by: Arnaldo Carvalho de
From: liguang
Signed-off-by: liguang
Cc: Ingo Molnar
Cc: Jiri Olsa
Cc: Namhyung Kim
Cc: Paul Mackerras
Cc: Pekka Enberg
Cc: Peter Zijlstra
Link:
http://lkml.kernel.org/r/1361851974-25307-1-git-send-email-lig.f...@cn.fujitsu.com
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf
Link: http://lkml.kernel.org/r/1361785972-7431-5-git-send-email-jo...@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/tests/attr/test-record-C0 | 13 +
1 files changed, 13 insertions(+), 0 deletions(-)
create mode 100644 tools/perf/tests/attr/test-record-C0
diff --git a/tools/
-email-namhy...@kernel.org
[ committer note: Moved .sample_freq to outside named init block to cope with
some gcc versions ]
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/Makefile |1 +
tools/perf/tests/builtin-test.c |4 +
tools/perf/tests/sw-clock.c | 119
From: Namhyung Kim
It's a pair of perf_evlist__open().
Signed-off-by: Namhyung Kim
Cc: David Ahern
Cc: Ingo Molnar
Cc: Jiri Olsa
Cc: Paul Mackerras
Cc: Peter Zijlstra
Link:
http://lkml.kernel.org/r/1363326533-3310-1-git-send-email-namhy...@kernel.org
Signed-off-by: Arnaldo Carval
-by: Borislav Petkov
Reported-by: Jiri Olsa
Link: http://lkml.kernel.org/r/1362338733-8718-1-git-send-email...@alien8.de
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/lib/lk/Makefile |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/lib/lk/Makefile b/tools/lib/lk
87obeljax4@sejong.aot.lge.com
[ committer note: Fixup conflicts with f4c66b4 ( bp overflow tests ) ]
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/Makefile |1 +
tools/perf/tests/builtin-test.c |4 +
tools/perf/tests/task-exit.c| 123 +++
tools/
-send-email-namhy...@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/util/trace-event-info.c | 12
1 files changed, 0 insertions(+), 12 deletions(-)
diff --git a/tools/perf/util/trace-event-info.c
b/tools/perf/util/trace-event-info.c
index 5c1509a..b0bbd76 100644
the
loop with Ctrl+C.
Signed-off-by: Frederik Deweerdt
Cc: Ingo Molnar
Cc: Paul Mackerras
Cc: Peter Zijlstra
Link: http://lkml.kernel.org/r/20130301180227.ga24...@ks398093.ip-192-95-24.net
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/Documentation/perf-stat.txt |2 +-
tools
:
http://lkml.kernel.org/r/1362462812-30885-2-git-send-email-namhy...@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/builtin-annotate.c | 16 +---
tools/perf/builtin-top.c |2 +-
tools/perf/ui/browsers/annotate.c | 30
From: Borislav Petkov
Move them to util.c and simplify code a bit.
Signed-off-by: Borislav Petkov
Cc: Ingo Molnar
Cc: Steven Rostedt
Link: http://lkml.kernel.org/r/1361374353-30385-6-git-send-email...@alien8.de
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/lib/lk/debugfs.c
...@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/ui/gtk/annotate.c | 18 --
1 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/tools/perf/ui/gtk/annotate.c b/tools/perf/ui/gtk/annotate.c
index 6e2fc7e..f538794 100644
--- a/tools/perf/ui/gtk/annotate.c
group) event
regardless of event group feature.
Signed-off-by: Namhyung Kim
Cc: Andi Kleen
Cc: Ingo Molnar
Cc: Jiri Olsa
Cc: Paul Mackerras
Cc: Pekka Enberg
Cc: Peter Zijlstra
Link:
http://lkml.kernel.org/r/1362462812-30885-7-git-send-email-namhy...@kernel.org
Signed-off-by: Arnaldo Carvalho de
-9754-5-git-send-email-namhy...@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/util/trace-event-info.c |7 ---
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/tools/perf/util/trace-event-info.c
b/tools/perf/util/trace-event-info.c
index 783ab51..3c452b5 1
Link:
http://lkml.kernel.org/r/1363173585-9754-4-git-send-email-namhy...@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/util/trace-event-info.c |7 ---
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/tools/perf/util/trace-event-info.c
b/tools/perf/util/
mhyung Kim
Cc: Oleg Nesterov
Cc: Paul Mackerras
Cc: Peter Zijlstra
Link: http://lkml.kernel.org/r/1361785972-7431-4-git-send-email-jo...@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/tests/attr.py |1 +
tools/perf/tests/attr/base-record |1 +
tools/perf/
org/r/1362462812-30885-4-git-send-email-namhy...@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/util/annotate.c | 49 ++-
1 files changed, 30 insertions(+), 19 deletions(-)
diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annot
: Peter Zijlstra
Link:
http://lkml.kernel.org/r/1362462812-30885-10-git-send-email-namhy...@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/ui/browsers/annotate.c | 14 +++---
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/tools/perf/ui/browsers/annotate.c
Pekka Enberg
Cc: Peter Zijlstra
Link:
http://lkml.kernel.org/r/1362462812-30885-11-git-send-email-namhy...@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/ui/browsers/annotate.c | 50 ++--
tools/perf/util/annotate.c|4 +-
tools
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/builtin-trace.c |7 ---
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c
index f0c20ef..49fedb5 100644
--- a/tools/perf/builtin-trace.c
+++ b/tools/perf/builtin
i Olsa
Cc: Paul Mackerras
Cc: Pekka Enberg
Cc: Peter Zijlstra
Link:
http://lkml.kernel.org/r/1362462812-30885-3-git-send-email-namhy...@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/util/annotate.c | 20
1 files changed, 20 insertions(+), 0 deletion
Ahern
Cc: Frederic Weisbecker
Cc: Ingo Molnar
Cc: Namhyung Kim
Cc: Oleg Nesterov
Cc: Paul Mackerras
Cc: Peter Zijlstra
Link: http://lkml.kernel.org/r/1361785972-7431-3-git-send-email-jo...@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/tests/attr.c |9 +++--
tool
aa84: retq
...
Signed-off-by: Namhyung Kim
Cc: Andi Kleen
Cc: Ingo Molnar
Cc: Jiri Olsa
Cc: Paul Mackerras
Cc: Pekka Enberg
Cc: Peter Zijlstra
Link:
http://lkml.kernel.org/r/1362462812-30885-6-git-send-email-namhy...@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/Docume
ff-by: Borislav Petkov
Cc: Ingo Molnar
Cc: Steven Rostedt
Link: http://lkml.kernel.org/r/1361374353-30385-4-git-send-email...@alien8.de
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/scripts/Makefile.include |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/tools/sc
From: David Ahern
As the now only user, machine__process_exit_event, that is what tools
use to process PERF_RECORD_EXIT events, is on the same object file.
Signed-off-by: David Ahern
Link:
http://lkml.kernel.org/r/1363151248-16674-5-git-send-email-dsah...@gmail.com
Signed-off-by: Arnaldo
From: Wei Yongjun
Signed-off-by: Wei Yongjun
Cc: Ingo Molnar
Cc: Paul Mackerras
Cc: Peter Zijlstra
Link:
http://lkml.kernel.org/r/CAPgLHd9=exah1hv4jevvta4tzfsjnx+8+g3zqmmukqq5qrq...@mail.gmail.com
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/builtin-report.c |1 -
1 files
hecked in every time.
Signed-off-by: Namhyung Kim
Cc: Andi Kleen
Cc: Ingo Molnar
Cc: Jiri Olsa
Cc: Paul Mackerras
Cc: Pekka Enberg
Cc: Peter Zijlstra
Link:
http://lkml.kernel.org/r/1362462812-30885-5-git-send-email-namhy...@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/
Cc: Peter Zijlstra
Link: http://lkml.kernel.org/r/878v5tl2vc@sejong.aot.lge.com
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/ui/browsers/annotate.c | 93 +---
1 files changed, 75 insertions(+), 18 deletions(-)
diff --git a/tools/perf/ui/browsers
http://lkml.kernel.org/r/1362987798-24969-1-git-send-email-namhy...@kernel.org
[ committer note: replaced spaces with tabs in some of the affected lines ]
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/builtin-record.c |2 +-
tools/perf/builtin-stat.c |
4-git-send-email-namhy...@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/builtin-record.c|3 ++-
tools/perf/builtin-trace.c |3 ++-
tools/perf/tests/perf-record.c |2 +-
tools/perf/util/evlist.c |3 ++-
tools/perf/util/evlist.h |1 +
5
namhy...@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/builtin-record.c|3 ++-
tools/perf/builtin-trace.c |2 +-
tools/perf/tests/perf-record.c |3 ++-
tools/perf/util/evlist.c |6 --
tools/perf/util/evlist.h |3 ++-
5 files change
Link: http://lkml.kernel.org/r/1361785972-7431-6-git-send-email-jo...@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/tests/attr/test-stat-C0 |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
create mode 100644 tools/perf/tests/attr/test-stat-C0
diff --git a/tools/perf/tests
...@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/util/evlist.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tools/perf/util/evlist.c b/tools/perf/util/evlist.c
index a199f18..a482547 100644
--- a/tools/perf/util/evlist.c
+++ b/tools/perf/util/evlist.c
/1362987798-24969-3-git-send-email-namhy...@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/builtin-stat.c|4 ++--
tools/perf/util/evlist.c | 37 +++--
tools/perf/util/thread_map.h |5 +
3 files changed, 30 insertions(+), 16
vid Ahern
Cc: Ingo Molnar
Cc: Jiri Olsa
Cc: Paul Mackerras
Cc: Peter Zijlstra
Link:
http://lkml.kernel.org/r/1362987798-24969-5-git-send-email-namhy...@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/builtin-record.c|2 +-
tools/perf/builtin-trace.c |2 +-
too
Rostedt
Link: http://lkml.kernel.org/r/1361374353-30385-5-git-send-email...@alien8.de
[ committer note: Add tools/lib/lk/ to perf's MANIFEST so that its tarballs
continue to build ]
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/Makefile | 16 -
tools/lib/lk/Mak
/r/1362987798-24969-7-git-send-email-namhy...@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/builtin-stat.c | 58 +---
1 files changed, 7 insertions(+), 51 deletions(-)
diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c
: Arnaldo Carvalho de Melo
---
tools/perf/arch/arm/util/dwarf-regs.c |5 +
tools/perf/arch/powerpc/util/dwarf-regs.c |5 +
tools/perf/arch/s390/util/dwarf-regs.c|2 +-
tools/perf/arch/sh/util/dwarf-regs.c |2 +-
tools/perf/arch/sparc/util/dwarf-regs.c |2
-send-email-dsah...@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/util/session.c | 12
tools/perf/util/session.h |1 -
2 files changed, 0 insertions(+), 13 deletions(-)
diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c
index bd85280..ab265c2
From: David Ahern
Leftovers from before libtraceevent integration.
Signed-off-by: David Ahern
Link:
http://lkml.kernel.org/r/1363151248-16674-3-git-send-email-dsah...@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/util/trace-event-parse.c | 37
.de
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/util/debugfs.c | 13 +
1 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/tools/perf/util/debugfs.c b/tools/perf/util/debugfs.c
index dd8b193..e55495c 100644
--- a/tools/perf/util/debugfs.c
+++ b/tools/perf/util
ode lies at the end of the
function, i.e. in source and binary code it has a lower chance of
polluting brain and CPU caches, and we don't need to call N functions
if we'll bail out when the one of them fails.
I.e. nothing new here, just follow kernel coding style, move
along :-)
-
0
perf report: Fix build with NO_NEWT=1
Thanks for reporting!
- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
rr(). I mean, if the old code would kill the
> > process, why just keep it as a debug output?
> Please see my other reply.
Ditto.
> Arnaldo, can you give me your direction/preference?
Yeah, I think that lower levels should emit a debug if it helps
developers and advanced users to re
l, perf.
> > Ok, so I have created a topic tree for this, tip:perf/x86.
> > I have applied the kernel bits (with some minor renaming
> > changes). Arnaldo, if you agree with the tooling bits you can
> > merge that branch into your tree and apply the tooling bits from
>
Em Wed, Feb 06, 2013 at 03:46:02PM +0100, Stephane Eranian escreveu:
> tools/perf/builtin-stat.c | 126
> +
Added the missing 'perf stat' man page entry based on the changeset
comments,
- Arnaldo
--
To unsubscribe from this lis
ggested-by: Arnaldo Carvalho de Melo
Cc: Ingo Molnar
Cc: Jiri Olsa
Cc: Paul Mackerras
Cc: Peter Zijlstra
Cc: Stephane Eranian
Link:
http://lkml.kernel.org/r/1360130237-9963-2-git-send-email-namhy...@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/builtin-annotate.c | 3 ++-
not initialized.
Signed-off-by: Namhyung Kim
Acked-by: Jiri Olsa
Cc: Ingo Molnar
Cc: Paul Mackerras
Cc: Peter Zijlstra
Cc: Stephane Eranian
Link:
http://lkml.kernel.org/r/1360130237-9963-3-git-send-email-namhy...@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/util/sort
: Frederic Weisbecker
Cc: Ingo Molnar
Cc: Namhyung Kim
Cc: Paul Mackerras
Cc: Peter Zijlstra
Link: http://lkml.kernel.org/r/1359971803-2343-2-git-send-email-jo...@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/util/parse-events.c | 8
1 file changed, 8 deletions
an upcoming patch set.
Signed-off-by: Stephane Eranian
Acked-by: Jiri Olsa
Tested-by: Jiri Olsa
Acked-by: Namhyung Kim
Cc: Ingo Molnar
Cc: Jiri Olsa
Cc: Namhyung Kim
Cc: Peter Zijlstra
Link: http://lkml.kernel.org/r/20130131125437.GA3656@quad
Signed-off-by: Arnaldo Carvalho de Melo
---
to
perf tree
Signed-off-by: Feng Tang
Cc: Andi Kleen
Cc: Ingo Molnar
Cc: Namhyung Kim
Cc: Peter Zijlstra
Link:
http://lkml.kernel.org/r/1359873501-24541-1-git-send-email-feng.t...@intel.com
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/ui/browsers/hists.c | 112 +
From: Arnaldo Carvalho de Melo
Hi Ingo,
Please consider pulling,
- Arnaldo
The following changes since commit 0fbdad078a70ed72248c3d30fe32e45e83be00d1:
perf/x86: Allow for architecture specific RDPMC indexes (2013-02-06 19:45:24
+0100)
are available in the git repository at
http://lkml.kernel.org/r/1360080351-3246-2-git-send-email-jo...@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/scripts/perl/rwtop.pl | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/tools/perf/scripts/perl/rwtop.pl b/tools/perf/scripts/perl/rwtop.pl
index 4bb
by: Jiri Olsa
Acked-by: Namhyung Kim
Cc: Corey Ashford
Cc: Frederic Weisbecker
Cc: Ingo Molnar
Cc: Namhyung Kim
Cc: Paul Mackerras
Cc: Peter Zijlstra
Link:
http://lkml.kernel.org/r/1359981185-16819-2-git-send-email-jo...@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/ui
g/r/1360098762-61827-1-git-send-email-dsah...@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/perf.h| 26 --
tools/perf/util/evlist.c | 4 ++--
tools/perf/util/evlist.h | 29 -
3 files changed, 30 insertions(+), 29 deletions(-)
d
: Added missing man page entry based on above comments ]
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/Documentation/perf-stat.txt | 9 ++-
tools/perf/builtin-stat.c | 126 ++---
2 files changed, 123 insertions(+), 12 deletions(-)
diff --git a/tools
Cc: Andi Kleen
Cc: Ingo Molnar
Cc: Namhyung Kim
Cc: Peter Zijlstra
Link:
http://lkml.kernel.org/r/1359873501-24541-2-git-send-email-feng.t...@intel.com
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/builtin-report.c | 38 +++---
1 file changed, 27 in
;
"{cycles:G,cache-misses:H}:uG"
Plus fixing test__group2 test.
Signed-off-by: Jiri Olsa
Cc: Corey Ashford
Cc: Frederic Weisbecker
Cc: Ingo Molnar
Cc: Namhyung Kim
Cc: Paul Mackerras
Cc: Peter Zijlstra
Link: http://lkml.kernel.org/r/1359971803-2343-3-git-send-email-jo...@redhat.com
S
Eranian
Cc: Andi Kleen
Cc: Ingo Molnar
Cc: Jiri Olsa
Cc: Namhyung Kim
Cc: Peter Zijlstra
Link:
http://lkml.kernel.org/r/1360161962-9675-2-git-send-email-eran...@google.com
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/util/cpumap.c | 54
t__sym_cmp().
Signed-off-by: Namhyung Kim
Acked-by: Jiri Olsa
Cc: Ingo Molnar
Cc: Paul Mackerras
Cc: Peter Zijlstra
Cc: Stephane Eranian
Link:
http://lkml.kernel.org/r/1360130237-9963-1-git-send-email-namhy...@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/util/s
From: Borislav Petkov
Check whether both executables are present on the system before
continuing with the build instead of failing halfway, if either are
missing.
Signed-off-by: Borislav Petkov
Link: http://lkml.kernel.org/r/1359979554-9160-1-git-send-email...@alien8.de
Signed-off-by: Arnaldo
c: Paul Mackerras
Cc: Peter Zijlstra
Link:
http://lkml.kernel.org/r/1359594349-25912-1-git-send-email-paul.gortma...@windriver.com
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/util/callchain.c | 2 +-
tools/perf/util/header.c| 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --g
From: Arnaldo Carvalho de Melo
So that we fix this regression:
[root@sandy linux]# perf test -v 15
15: Try 'use perf' in python, checking link problems :
--- start ---
Traceback (most recent call last):
File "", line 1, in
ImportError: /home/acme/git/build
From: Arnaldo Carvalho de Melo
So that we avoid dragging symbol.o into the python binding.
Cc: David Ahern
Cc: Frederic Weisbecker
Cc: Jiri Olsa
Cc: Mike Galbraith
Cc: Namhyung Kim
Cc: Paul Mackerras
Cc: Peter Zijlstra
Cc: Stephane Eranian
Link: http://lkml.kernel.org/n/tip
gt; Signed-off-by: Namhyung Kim
> ---
> tools/perf/builtin-annotate.c | 17 +++--
You forgot to add the entry in the man page...
- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majo
ing this fix now, as it improves things, but this seemingly
needless speciations looks insane, would be great to have at least
tools/perf/ using the same stuff as its landlord, the kernel.
- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of
Em Mon, Apr 01, 2013 at 08:35:16PM +0900, Namhyung Kim escreveu:
> This is a couple of bugfix, cleanup and enhancement for sort keys.
Applied 1-4.
- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.ke
What I expected was that the result was this:
perf report --sort addr | grep -v ^# | sort -k2 -n | less
And in hexadecimal, can you fix this?
- Arnaldo
Em Wed, Apr 03, 2013 at 09:26:12PM +0900, Namhyung Kim escreveu:
> static void hists__set_unres_dso_col_len(struct hists *hists, int
lobal variable, making it impossible to use different sort orders in
the same session, if we ever want to do that :-)
- Arnaldo
> Signed-off-by: Namhyung Kim
> ---
> tools/perf/ui/browsers/hists.c | 9 ++---
> 1 file changed, 2 insertions(+), 7 deletions(-)
>
> diff
his that are clear cleanups are best
positioned in the start of the patch series.
- Arnaldo
> Signed-off-by: Namhyung Kim
> ---
> tools/perf/builtin-diff.c | 4 +---
> tools/perf/builtin-report.c | 20 +---
> tools/perf/builtin-top.c| 4 +---
> to
Em Mon, Jan 28, 2013 at 11:45:56PM +0100, Stephane Eranian escreveu:
> On Mon, Jan 28, 2013 at 8:21 PM, Arnaldo Carvalho de Melo
> wrote:
> > Em Mon, Jan 28, 2013 at 07:26:17PM +0100, Stephane Eranian escreveu:
> >> On Mon, Jan 28, 2013 at 6:59 PM, Arnaldo Carvalho de Melo
&
Em Thu, Jan 24, 2013 at 11:45:58PM -0300, Arnaldo Carvalho de Melo escreveu:
> Em Fri, Jan 25, 2013 at 10:44:44AM +0900, Namhyung Kim escreveu:
> > From: Namhyung Kim
> >
> > The ->counts field was never freed in the current code. Add
> > perf_evsel__free_counts(
1 - 100 of 17687 matches
Mail list logo