Re: [PATCH v3 1/7] perf probe: Improve detection of file/function name in the probe pattern

2015-04-28 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 28, 2015 at 05:35:34PM +0530, Naveen N. Rao escreveu: > Currently, perf probe considers patterns including a '.' to be a file. > However, this causes problems on powerpc ABIv1 where all functions have > a leading '.': > > $ perf probe -F | grep schedule_timeout_interruptible > .sch

Re: [PATCH v3 2/7] perf probe/ppc: Fix symbol fixup issues due to ELF type

2015-04-28 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 28, 2015 at 05:35:35PM +0530, Naveen N. Rao escreveu: > If using the symbol table, symbol addresses are not being fixed up > properly, resulting in probes being placed at wrong addresses: > > # perf probe do_fork > Added new event: > probe:do_fork(on do_fork) > > You

Re: [PATCH v3 0/7] Fixes for perf probe issues on ppc

2015-04-28 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 28, 2015 at 05:35:33PM +0530, Naveen N. Rao escreveu: > This patchset fixes various issues with perf probe on powerpc across ABIv1 and > ABIv2: > - in the presence of DWARF debug-info, > - in the absence of DWARF, but with the symbol table, and > - in the absence of debug-info, but with

Re: [PATCH v3 0/7] Fixes for perf probe issues on ppc

2015-04-28 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 28, 2015 at 09:42:17PM +0530, Naveen N. Rao escreveu: > On 2015/04/28 10:54AM, Arnaldo Carvalho de Melo wrote: > > Em Tue, Apr 28, 2015 at 05:35:33PM +0530, Naveen N. Rao escreveu: > > > This patchset fixes various issues with perf probe on powerpc across > >

Re: [PATCH v3 0/7] Fixes for perf probe issues on ppc

2015-05-04 Thread Arnaldo Carvalho de Melo
Em Wed, Apr 29, 2015 at 11:07:58AM +0530, Srikar Dronamraju escreveu: > * Arnaldo Carvalho de Melo [2015-04-28 10:54:53]: > > > Em Tue, Apr 28, 2015 at 05:35:33PM +0530, Naveen N. Rao escreveu: > > > This patchset fixes various issues with perf probe on powerpc ac

[PATCH 05/21] perf probe ppc64le: Prefer symbol table lookup over DWARF

2015-05-04 Thread Arnaldo Carvalho de Melo
atsu Cc: Michael Ellerman Cc: Sukadev Bhattiprolu Cc: linuxppc-dev@lists.ozlabs.org Link: http://lkml.kernel.org/r/88a10e22f4aaba2aef812824ca4b10d7beeea012.1430217967.git.naveen.n@linux.vnet.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/arch/powerpc/util/sym-handling.c

[PATCH 12/21] perf probe: Improve detection of file/function name in the probe pattern

2015-05-04 Thread Arnaldo Carvalho de Melo
aveen.n@linux.vnet.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/probe-event.c | 29 ++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/tools/perf/util/probe-event.c b/tools/perf/util/probe-event.c index eb75a5e..416c10f 1006

[GIT PULL 00/21] perf/core improvements and fixes

2015-05-04 Thread Arnaldo Carvalho de Melo
perf probe fixes for better support powerpc (Naveen Rao) Signed-off-by: Arnaldo Carvalho de Melo Adrian Hunter (3): perf evlist: Amend mmap ref counting for the AUX area mmap perf script: Always allow fields 'addr

[PATCH 02/21] perf probe ppc: Use the right prefix when ignoring SyS symbols on ppc

2015-05-04 Thread Arnaldo Carvalho de Melo
amatsu Cc: Michael Ellerman Cc: Sukadev Bhattiprolu Cc: linuxppc-dev@lists.ozlabs.org Link: http://lkml.kernel.org/r/adf1f98b121ecaf292777fe5cc69fe1038feabce.1430217967.git.naveen.n@linux.vnet.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/arch/powerpc/util/sym-handl

[PATCH 04/21] perf probe ppc64le: Fix ppc64 ABIv2 symbol decoding

2015-05-04 Thread Arnaldo Carvalho de Melo
Cc: Michael Ellerman Cc: Sukadev Bhattiprolu Cc: linuxppc-dev@lists.ozlabs.org Link: http://lkml.kernel.org/r/ab9cc5e2b9de4cbaaf50f6ef2346a6a81100bad1.1430217967.git.naveen.n@linux.vnet.ibm.com Signed-off-by: Naveen N. Rao Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/arch/powerpc

[PATCH 06/21] perf probe ppc64le: Fixup function entry if using kallsyms lookup

2015-05-04 Thread Arnaldo Carvalho de Melo
by: Srikar Dronamraju Cc: Ananth N Mavinakayanahalli Cc: Masami Hiramatsu Cc: Michael Ellerman Cc: Sukadev Bhattiprolu Cc: linuxppc-dev@lists.ozlabs.org Link: http://lkml.kernel.org/r/92253021e77a104b23b615c8c23bf9501dfe60bf.1430217967.git.naveen.n@linux.vnet.ibm.com Signed-off-by: Arnaldo C

[PATCH 03/21] perf probe ppc: Enable matching against dot symbols automatically

2015-05-04 Thread Arnaldo Carvalho de Melo
ink: http://lkml.kernel.org/r/652a8f3bfa919bd02a1836a128370eaed59b4a34.1430217967.git.naveen.n@linux.vnet.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/arch/powerpc/util/sym-handling.c | 13 + tools/perf/util/map.c | 5 + tools/perf/util/map.h | 3

[PATCH 01/21] perf probe ppc: Fix symbol fixup issues due to ELF type

2015-05-04 Thread Arnaldo Carvalho de Melo
.vnet.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/arch/powerpc/util/Build | 1 + tools/perf/arch/powerpc/util/sym-handling.c | 19 +++ tools/perf/util/symbol-elf.c| 8 ++-- tools/perf/util/symbol.h| 4

Re: [PATCH v13 12/14] perf, tools: Add support for event list topics

2015-06-03 Thread Arnaldo Carvalho de Melo
Em Wed, Jun 03, 2015 at 05:57:33AM -0700, Andi Kleen escreveu: > > please split at least the jevents Topic parsing from the rest > > idelay also the alias update and the display change > > What's the point of all these splits? It's already one logical unit, > not too large, and is bisectable. Eas

[GIT PULL 00/15] perf/core improvements and fixes

2014-10-15 Thread Arnaldo Carvalho de Melo
Documentation (Masanari Iida) * Improve callchains when using libunwind (Namhyung Kim) Signed-off-by: Arnaldo Carvalho de Melo Lines starting with '#' will be ignored. Alexander Yarygin (2): perf session: Add optio

[PATCH 02/15] perf Documentation: sysfs events/ interfaces

2014-10-15 Thread Arnaldo Carvalho de Melo
-off-by: Arnaldo Carvalho de Melo --- .../testing/sysfs-bus-event_source-devices-events | 60 ++ 1 file changed, 60 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-event_source-devices-events b/Documentation/ABI/testing/sysfs-bus-event_source-devices-events

[PATCH 03/15] perf Documentation: Remove Ruplicated docs for powerpc cpu specific events

2014-10-15 Thread Arnaldo Carvalho de Melo
ink: http://lkml.kernel.org/r/1412143402-26061-5-git-send-email-suka...@linux.vnet.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- .../testing/sysfs-bus-event_source-devices-events | 573 - 1 file changed, 573 deletions(-) diff --git a/Documentation/ABI/testing/sysfs-bus-event_sour

Re: [RFC PATCH 2/8] perf probe powerpc: Fix symbol fixup issues due to ELF type

2014-12-09 Thread Arnaldo Carvalho de Melo
Em Tue, Dec 09, 2014 at 11:04:00PM +0530, Naveen N. Rao escreveu: > If using the symbol table, symbol addresses are not being fixed up > properly, resulting in probes being placed at wrong addresses: > > # perf probe do_fork > Added new event: > probe:do_fork(on do_fork) > > You

Re: [RFC PATCH 8/8] perf probe powerpc: Fixup function entry if using kallsyms lookup

2014-12-09 Thread Arnaldo Carvalho de Melo
Em Tue, Dec 09, 2014 at 11:04:06PM +0530, Naveen N. Rao escreveu: > On powerpc ABIv2, if no debug-info is found and we use kallsyms, > we need to fixup the function entry to point to the local entry point. > Use offset of 8 since current toolchains always generate 2 > instructions (8 bytes). Hi Mi

Re: [PATCH v6 1/4] tools/perf: support parsing parameterized events

2015-01-06 Thread Arnaldo Carvalho de Melo
Em Tue, Jan 06, 2015 at 10:42:20AM +0100, Jiri Olsa escreveu: > On Tue, Dec 23, 2014 at 11:58:50AM -0800, Sukadev Bhattiprolu wrote: > > From a24b480ff54381a7e092597864cf615162afdd60 Mon Sep 17 00:00:00 2001 > > From: Cody P Schafer > > Date: Wed, 24 Sep 2014 12:27:15 -0700 > > Subject: [PATCH 1/4

Re: [PATCH v7 0/4] Add support for parametrized events

2015-01-12 Thread Arnaldo Carvalho de Melo
Em Thu, Jan 08, 2015 at 10:54:34AM +0100, Jiri Olsa escreveu: > for the patchset: > > Acked-by: Jiri Olsa Applied to perf/core Thanks, - Arnaldo ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-de

[GIT PULL 00/66] perf/core improvements and fixes

2013-05-30 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit c0ffaf3655fab1909a920c8f30ba1722932d01bb: watchdog: Remove softlockup_thresh from Documentation (2013-05-28 11:28:20 +0200) are available in the git repository at: git

[PATCH 56/66] perf: Power7 Update testing ABI to list CPI-stack events

2013-05-30 Thread Arnaldo Carvalho de Melo
Mackerras Cc: linuxppc-...@ozlabs.org Link: http://lkml.kernel.org/r/20130406170623.ga...@us.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- .../testing/sysfs-bus-event_source-devices-events | 32 ++ 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a

[PATCH 55/66] perf: Power7: Make CPI stack events available in sysfs

2013-05-30 Thread Arnaldo Carvalho de Melo
7; /bin/ls Signed-off-by: Sukadev Bhattiprolu Acked-by: Paul Mackerras Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-...@ozlabs.org Link: http://lkml.kernel.org/r/20130406164803.ga...@us.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- arch/powerpc/perf/power7-

[PATCH 12/23] perf tools: fix a typo of a Power7 event name

2013-07-10 Thread Arnaldo Carvalho de Melo
Cc: Michael Ellerman Cc: Paul Mackerras Cc: Runzhen Wang Cc: Sukadev Bhattiprolu Cc: Xiao Guangrong Link: http://lkml.kernel.org/r/1372407297-6996-2-git-send-email-runz...@linux.vnet.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- .../ABI/testing/sysfs-bus-event_source-devices-events

[GIT PULL 00/23] perf/urgent fixes

2013-07-10 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Hi Ingo, Please consider pulling, Regards, - Arnaldo The following changes since commit e5302920da9ef23f9d19d4e9ac85704cc25bee7a: perf: Fix interrupt handler timing harness (2013-07-05 08:54:43 +0200) are available in the git repository at: git

[PATCH 13/76] perf tools: Make Power7 events available for perf

2013-07-18 Thread Arnaldo Carvalho de Melo
man Cc: icyco...@gmail.com Cc: linuxppc-dev@lists.ozlabs.org Cc: Michael Ellerman Cc: Paul Mackerras Cc: Runzhen Wang Cc: Sukadev Bhattiprolu Cc: Xiao Guangrong Link: http://lkml.kernel.org/r/1372407297-6996-3-git-send-email-runz...@linux.vnet.ibm.com Signed-off-by: Arnaldo Carvalh

[GIT PULL 00/76] perf/core improvements and fixes

2013-07-18 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Hi Ingo, Please consider pulling. There was a long delay in processing patches related to my vacations that took longer than antecipated to being addressed. With the recent acme/perf/urgent merge and this one I get closer to processing

Re: [RFC PATCH] perf/kvm: Guest Symbol Resolution for powerpc

2015-06-16 Thread Arnaldo Carvalho de Melo
Em Tue, Jun 16, 2015 at 08:20:53AM +0530, Hemant Kumar escreveu: > "perf kvm {record|report}" is used to record and report the performance > profile of any workload on a guest. From the host, we can collect > guest kernel statistics which is useful in finding out any contentions > in guest kernel s

[PATCH 05/13] perf pmu: Use __weak definition from

2015-06-23 Thread Arnaldo Carvalho de Melo
s.org Link: http://lkml.kernel.org/r/1433921123-25327-4-git-send-email-suka...@linux.vnet.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/pmu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/perf/util/pmu.c b/tools/perf/util/pmu.c index 0f

[GIT PULL 00/13] perf/core improvements and fixes

2015-06-23 Thread Arnaldo Carvalho de Melo
(Sukadev Bhattiprolu) - Split perf_pmu__new_alias() (Sukadev Bhattiprolu) Signed-off-by: Arnaldo Carvalho de Melo Adrian Hunter (3): perf session: Print a newline when dumping PERF_RECORD_FINISHED_ROUND perf tool

[PATCH 06/13] perf pmu: Split perf_pmu__new_alias()

2015-06-23 Thread Arnaldo Carvalho de Melo
Kleen Cc: Madhavan Srinivasan Cc: Michael Ellerman Cc: Namhyung Kim Cc: linuxppc-dev@lists.ozlabs.org Link: http://lkml.kernel.org/r/1433921123-25327-5-git-send-email-suka...@linux.vnet.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/pmu.c | 42

[PATCH 07/13] perf tools: Allow events with dot

2015-06-23 Thread Arnaldo Carvalho de Melo
nuxppc-dev@lists.ozlabs.org Link: http://lkml.kernel.org/r/1433921123-25327-8-git-send-email-suka...@linux.vnet.ibm.com Signed-off-by: Sukadev Bhattiprolu Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/parse-events.l | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --g

Re: [GIT PULL 00/13] perf/core improvements and fixes

2015-06-25 Thread Arnaldo Carvalho de Melo
Em Thu, Jun 25, 2015 at 09:31:41AM +0200, Ingo Molnar escreveu: > Pulled, thanks a lot Arnaldo! > > Btw., one small thing I noticed about the status line in perf top: if I ever > use > 'f' to freeze/unfreeze events, the following message: > > Press 'f' to disable the events or 'h' to see othe

Re: [PATCH 6/6][v3] perf: Document the ABI of perf sysfs entries

2013-01-15 Thread Arnaldo Carvalho de Melo
Em Wed, Jan 09, 2013 at 05:07:03PM -0800, Sukadev Bhattiprolu escreveu: > [PATCH 6/6][v3] perf: Document the ABI of perf sysfs entries > > This patchset addes two new sets of files to sysfs: > > - generic and POWER-specific perf events in /sys/devices/cpu/events/ > - perf event config

Re: [PATCH 6/6][v3] perf: Document the ABI of perf sysfs entries

2013-01-18 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 18, 2013 at 09:46:54AM -0800, Sukadev Bhattiprolu escreveu: > Jiri Olsa [jo...@redhat.com] wrote: > | Maybe it'd worth to mention, that it does not need to be just 'event', > | but anything from /sys/bus/event_source/devices//format directory, > | like > | > | The can be mu

[PATCH 59/74] perf tools: Fix PMU format parsing test failure

2013-01-24 Thread Arnaldo Carvalho de Melo
continues to pass on x86. Signed-off-by: Sukadev Bhattiprolu Acked-by: Jiri Olsa Cc: Anton Blanchard Cc: Jiri Olsa Cc: Paul Mackerras Cc: linuxppc-...@ozlabs.org Link: http://lkml.kernel.org/r/20130117172814.ga18...@us.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/inc

[GIT PULL 00/74] perf/core improvements and fixes

2013-01-24 Thread Arnaldo Carvalho de Melo
attiprolu. . Fix possible (unlikely) buffer overflow, from Thomas Jarosch. . Multiple 'perf script' fixes, from Tom Zanussi. . Add missing field in PERF_RECORD_SAMPLE documentation, from Vince Weaver. Signed-off-by: Arnaldo Carvalho de Melo ------

[PATCH 16/21] perf tools, powerpc: Fix compile warnings in tests/attr.c

2013-01-30 Thread Arnaldo Carvalho de Melo
Jiri Olsa Cc: Michael Ellerman Cc: linuxppc-...@ozlabs.org Link: http://lkml.kernel.org/r/20130124054439.ga31...@us.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/tests/attr.c | 5 + 1 file changed, 5 insertions(+) diff --git a/tools/perf/tests/attr.c b/tools/perf/tests/attr.c index

[GIT PULL 00/21] perf/core improvements and fixes

2013-01-30 Thread Arnaldo Carvalho de Melo
/attr.c, from Sukadev Bhattiprolu. . Fix double free, pclose instead of fclose, leaks and double fclose errors found with the cppcheck tool, from Thomas Jarosch. Signed-off-by: Arnaldo Carvalho de Melo ------------ Arnaldo Carvalho de

[PATCH 24/25] perf/POWER7: Make some POWER7 events available in sysfs

2013-01-31 Thread Arnaldo Carvalho de Melo
: Peter Zijlstra Cc: Robert Richter Cc: Stephane Eranian Cc: linuxppc-...@ozlabs.org Link: http://lkml.kernel.org/r/20130123062528.ge13...@us.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- arch/powerpc/include/asm/perf_event_server.h | 3 +++ arch/powerpc/perf/power7-pmu.

[PATCH 25/25] perf: Document the ABI of perf sysfs entries

2013-01-31 Thread Arnaldo Carvalho de Melo
g/r/20130123062645.gg13...@us.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- Documentation/ABI/stable/sysfs-devices-cpu-events | 0 .../testing/sysfs-bus-event_source-devices-events | 62 ++ 2 files changed, 62 insertions(+) delete mode 100644 Documentation/ABI/stable/sys

[GIT PULL 00/25] perf/core improvements and fixes

2013-01-31 Thread Arnaldo Carvalho de Melo
does nothing. So if you want enable event group view by default you can set it in ~/.perfconfig file: $ cat ~/.perfconfig [report] group = true It can be overridden with command line if you want: $ perf report --no-group Signed-off-by: Arnaldo Carvalho de Melo

[PATCH 23/25] perf/POWER7: Make generic event translations available in sysfs

2013-01-31 Thread Arnaldo Carvalho de Melo
: Jiri Olsa Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Robert Richter Cc: Stephane Eranian Cc: linuxppc-...@ozlabs.org Link: http://lkml.kernel.org/r/20130123062454.gd13...@us.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- Documentation/ABI/stable/sysfs-devices-cpu-events | 0 arch/powerpc

[PATCH 21/25] perf/Power7: Use macros to identify perf events

2013-01-31 Thread Arnaldo Carvalho de Melo
Cc: Jiri Olsa Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Robert Richter Cc: Stephane Eranian Cc: linuxppc-...@ozlabs.org Link: http://lkml.kernel.org/r/20130123062353.gb13...@us.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- arch/powerpc/perf/power7-pmu.c | 28

[PATCH 22/25] perf: Make EVENT_ATTR global

2013-01-31 Thread Arnaldo Carvalho de Melo
...@us.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- arch/x86/kernel/cpu/perf_event.c | 13 +++-- include/linux/perf_event.h | 11 +++ 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/arch/x86/kernel/cpu/perf_event.c b/arch/x86/kernel/cpu/perf_event.c index

[PATCH 7/8] perf/POWER7: Create a sysfs format entry for Power7 events

2013-03-14 Thread Arnaldo Carvalho de Melo
54826.ga14...@us.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- arch/powerpc/perf/power7-pmu.c | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/perf/power7-pmu.c b/arch/powerpc/perf/power7-pmu.c index b554879..3c475d6 100644 --- a/arch/powerpc/perf/po

[GIT PULL 0/8] perf/urgent fixes

2013-03-14 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit cb16b91a449afd01b85ec4e59f30449d11c4acd7: s390: Fix a header dependencies related build error (2013-03-11 10:43:35 +0100) are available in the git repository at: git

Re: [PATCH v2 05/14] tools/perf: annotate list_head with type info

2014-08-15 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 15, 2014 at 12:26:14AM -0700, Sukadev Bhattiprolu escreveu: > From: Cody P Schafer This one can be cherry picked, done. - Arnaldo ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[GIT PULL 00/18] perf/core improvements and fixes

2014-08-15 Thread Arnaldo Carvalho de Melo
ed list_head members with type info. (Cody P Schafer) . Add the triplet used for arm64 by Android (Elliott Hughes) . Replace thread unsafe strerror() with strerror_r() accross the whole tools/perf/ tree (Masami Hiramatsu) Sign

[GIT PULL 00/18] perf/core improvements and fixes

2014-08-15 Thread Arnaldo Carvalho de Melo
ed list_head members with type info. (Cody P Schafer) . Add the triplet used for arm64 by Android (Elliott Hughes) . Replace thread unsafe strerror() with strerror_r() accross the whole tools/perf/ tree (Masami Hiramatsu) Sign

[PATCH 04/18] perf tools: Annotate PMU related list_head members with type info

2014-08-15 Thread Arnaldo Carvalho de Melo
: linuxppc-dev@lists.ozlabs.org Link: http://lkml.kernel.org/r/1408087583-32239-6-git-send-email-suka...@linux.vnet.ibm.com Signed-off-by: Sukadev Bhattiprolu Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/pmu.c | 4 ++-- tools/perf/util/pmu.h | 6 +++--- 2 files changed, 5

Re: [PATCH V4 00/10] perf: New conditional branch filter

2013-12-06 Thread Arnaldo Carvalho de Melo
Em Thu, Dec 05, 2013 at 03:47:54PM +1100, Michael Ellerman escreveu: > On Wed, 2013-12-04 at 16:02 +0530, Anshuman Khandual wrote: > > This patchset is the re-spin of the original branch stack > > sampling > > patchset which introduced new PERF_SAMPLE_BRANCH_COND branch filter. This >

Re: [RFC PATCH 0/8] Fix perf probe issues on powerpc

2015-01-21 Thread Arnaldo Carvalho de Melo
Em Tue, Dec 09, 2014 at 11:03:58PM +0530, Naveen N. Rao escreveu: > This patchset fixes various issues with perf probe on powerpc > across ABIv1 and ABIv2: > - in the presence of DWARF debug-info, > - in the absence of DWARF, but with the symbol table, and > - in the absence of debug-info, but with

[GIT PULL 00/26] perf/core improvements and fixes

2015-01-26 Thread Arnaldo Carvalho de Melo
mem' (Stephane Eranian) - 'perf diff' output improvements (Namhyung Kim) - Fix error reporting for evsel pgfault constructor (Arnaldo Carvalho de Melo) Infrastructure: - Move debugfs sterrno like method to tools/lib/ so that it may be used by other tools, as 'perf probe'

[PATCH 08/26] perf tools: Support parsing parameterized events

2015-01-26 Thread Arnaldo Carvalho de Melo
Carvalho de Melo --- tools/perf/util/parse-events.h | 1 + tools/perf/util/pmu.c | 74 +++--- 2 files changed, 64 insertions(+), 11 deletions(-) diff --git a/tools/perf/util/parse-events.h b/tools/perf/util/parse-events.h index db2cf78ff0f3..ca226cef8460

[PATCH 09/26] perf tools: Extend format_alias() to include event parameters

2015-01-26 Thread Arnaldo Carvalho de Melo
Acked-by: Jiri Olsa Cc: Cody P Schafer Cc: Haren Myneni Cc: Jiri Olsa Cc: Michael Ellerman Cc: Paul Mackerras Cc: Peter Zijlstra Cc: linuxppc-dev@lists.ozlabs.org Link: http://lkml.kernel.org/r/1420679633-28856-3-git-send-email-suka...@linux.vnet.ibm.com Signed-off-by: Arnaldo Carvalho de

[PATCH 11/26] perf tools: Document parameterized and symbolic events

2015-01-26 Thread Arnaldo Carvalho de Melo
/1420679633-28856-5-git-send-email-suka...@linux.vnet.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/Documentation/perf-list.txt | 13 + tools/perf/Documentation/perf-record.txt | 12 tools/perf/Documentation/perf-stat.txt | 20 3 files

[PATCH 10/26] perf Documentation: Add event parameters

2015-01-26 Thread Arnaldo Carvalho de Melo
n Myneni Cc: Jiri Olsa Cc: Michael Ellerman Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Sukadev Bhattiprolu Cc: linuxppc-dev@lists.ozlabs.org Link: http://lkml.kernel.org/r/1420679633-28856-4-git-send-email-suka...@linux.vnet.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- Documentatio

Re: [GIT PULL 00/26] perf/core improvements and fixes

2015-01-28 Thread Arnaldo Carvalho de Melo
Em Wed, Jan 28, 2015 at 03:50:15PM +0100, Ingo Molnar escreveu: > Pulled, thanks a lot Arnaldo! Thanks! > Note that there was some minimal interaction with Frederic's > pending perf/hw_breakpoint work, in tools/perf/Documentation/perf-record.txt. > > I resolved the conflict and merged perf/hw_

Re: [PATCH v7 0/4] Add support for parametrized events

2015-01-28 Thread Arnaldo Carvalho de Melo
Em Wed, Jan 28, 2015 at 11:37:53AM +0100, Jiri Olsa escreveu: > On Wed, Jan 28, 2015 at 11:54:38AM +1100, Michael Ellerman wrote: > > On Tue, 2015-01-27 at 11:02 +0100, Jiri Olsa wrote: > > > On Mon, Jan 26, 2015 at 05:43:03PM -0800, Sukadev Bhattiprolu wrote: > > > > > > SNIP > > > > > > > > >

Re: [PATCH v7 0/4] Add support for parametrized events

2015-01-30 Thread Arnaldo Carvalho de Melo
Em Thu, Jan 29, 2015 at 03:28:43PM +1100, Michael Ellerman escreveu: > On Mon, 2015-01-26 at 17:43 -0800, Sukadev Bhattiprolu wrote: > > Description of "event parameters" from the documentation patch: > > > > Cody P Schafer (6): > > perf: provide sysfs_show for struct perf_pmu_events_attr > >

Re: [PATCHv2 3/8] perf probe powerpc: Fix symbol fixup issues due to ELF type

2015-03-12 Thread Arnaldo Carvalho de Melo
Em Mon, Dec 15, 2014 at 08:20:33PM +0530, Naveen N. Rao escreveu: > If using the symbol table, symbol addresses are not being fixed up > properly, resulting in probes being placed at wrong addresses: > > # perf probe do_fork > Added new event: > probe:do_fork(on do_fork) > > You

Re: [PATCHv2 2/8] perf probe: Improve detection of file/function name in the probe pattern

2015-03-12 Thread Arnaldo Carvalho de Melo
Em Mon, Dec 15, 2014 at 08:20:32PM +0530, Naveen N. Rao escreveu: > Currently, perf probe considers patterns including a '.' to be a file. > However, this causes problems on powerpc ABIv1 where all functions have > a leading '.': > > $ perf probe -F | grep schedule_timeout_interruptible > .sch

Re: [PATCHv2 2/8] perf probe: Improve detection of file/function name in the probe pattern

2015-03-12 Thread Arnaldo Carvalho de Melo
Em Thu, Mar 12, 2015 at 05:24:14PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Mon, Dec 15, 2014 at 08:20:32PM +0530, Naveen N. Rao escreveu: > > Currently, perf probe considers patterns including a '.' to be a file. > > However, this causes problems on powerpc ABIv1

Re: [PATCHv2 4/8] perf probe powerpc: Handle powerpc dot symbols

2015-03-12 Thread Arnaldo Carvalho de Melo
Em Mon, Dec 15, 2014 at 08:20:34PM +0530, Naveen N. Rao escreveu: > Fix up various perf aspects related to ppc64's usage of dot functions: > - ignore leading '.' when generating event names and when looking for > existing events. > - use the proper prefix when ignoring SyS symbol lookups. > > Si

Re: [PATCHv2 5/8] perf probe powerpc: Allow matching against dot symbols

2015-03-12 Thread Arnaldo Carvalho de Melo
Em Mon, Dec 15, 2014 at 08:20:35PM +0530, Naveen N. Rao escreveu: > Allow perf probe to work on powerpc ABIv1 without the need to specify > the leading dot '.' for functions. 'perf probe do_fork' works with this > patch. > > Introduce HAVE_ARCH_SYMBOL_HANDLING to indicate need for special > handli

Re: [PATCHv2 6/8] perf tools powerpc: Fix PPC64 ELF ABIv2 symbol decoding

2015-03-12 Thread Arnaldo Carvalho de Melo
Em Mon, Dec 15, 2014 at 08:20:36PM +0530, Naveen N. Rao escreveu: > PPC64 ELF ABIv2 has a Global Entry Point (GEP) and a Local Entry Point > (LEP). For purposes of probing, we need the LEP. Offset to the LEP is > encoded in st_other. > > Signed-off-by: Ananth N Mavinakayanahalli > Signed-off-by:

Re: [PATCHv2 8/8] perf probe powerpc: Fixup function entry if using kallsyms lookup

2015-03-12 Thread Arnaldo Carvalho de Melo
Em Mon, Dec 15, 2014 at 08:20:38PM +0530, Naveen N. Rao escreveu: > On powerpc ABIv2, if no debug-info is found and we use kallsyms, we need > to fixup the function entry to point to the local entry point. Use > offset of 8 since current toolchains always generate 2 instructions (8 > bytes). So

Re: [PATCH 1/1] perf tools: Fix build break on powerpc

2016-03-28 Thread Arnaldo Carvalho de Melo
Em Sat, Mar 26, 2016 at 11:01:47AM -0700, Sukadev Bhattiprolu escreveu: > From 502e8236082412db1d33abfad95aaf14b539502e Mon Sep 17 00:00:00 2001 > From: Sukadev Bhattiprolu > Date: Sat, 26 Mar 2016 17:31:39 -0400 > Subject: [PATCH 1/1] perf tools: Fix build break on powerpc > MIME-Version: 1.0 > C

Re: [PATCH 1/1] perf tools: Fix build break on powerpc

2016-03-28 Thread Arnaldo Carvalho de Melo
ources") seems to have accidentially removed the inclusion of "util/header.h" from "arch/powerpc/util/header.c". "util/header.h" provides the prototype for get_cpuid() and is needed to build perf on Powerpc: arch/powerpc/util/header.c

Re: [PATCH 1/1] perf tools: Fix build break on powerpc

2016-03-28 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 28, 2016 at 09:35:31AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Sun, Mar 27, 2016 at 01:19:03PM +0200, Jiri Olsa escreveu: > > On Sat, Mar 26, 2016 at 11:01:47AM -0700, Sukadev Bhattiprolu wrote: > > > From 502e8236082412db1d33abfad95aaf14b539502e Mon Se

Re: [PATCH 1/1] perf tools: Fix build break on powerpc

2016-03-28 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 28, 2016 at 10:21:45AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Mon, Mar 28, 2016 at 09:35:31AM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Sun, Mar 27, 2016 at 01:19:03PM +0200, Jiri Olsa escreveu: > > > On Sat, Mar 26, 2016 at 11:01:47AM -0700, Sukadev

[GIT PULL 0/2] perf/urgent fixes

2016-03-30 Thread Arnaldo Carvalho de Melo
owerPC is big endian only (Anton Blanchard) Signed-off-by: Arnaldo Carvalho de Melo Andres Freund (1): perf hists: Fix determination of a callchain node's childlessness Anton Blanchard (1): perf jit: genelf makes

[PATCH 2/2] perf jit: genelf makes assumptions about endian

2016-03-30 Thread Arnaldo Carvalho de Melo
ct: Add jitdump mmap injection support") Link: http://lkml.kernel.org/r/20160329175944.33a211cc@kryten Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/genelf.h | 24 ++-- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/tools/perf/util/genelf

Re: [PATCH] perf jit: genelf makes assumptions about endian

2016-03-30 Thread Arnaldo Carvalho de Melo
Em Wed, Mar 30, 2016 at 01:38:20PM +1100, Michael Ellerman escreveu: > On Tue, 2016-03-29 at 17:59 +1100, Anton Blanchard wrote: > > > Commit 9b07e27f88b9 ("perf inject: Add jitdump mmap injection support") > > incorrectly assumed that PowerPC is big endian only. > > > > Simplify things by consol

Re: [PATCH V11 0/4]perf/powerpc: Add ability to sample intr machine state in powerpc

2016-04-19 Thread Arnaldo Carvalho de Melo
Em Mon, Apr 18, 2016 at 03:17:11PM +0530, Anju T escreveu: > On Saturday 20 February 2016 10:32 AM, Anju T wrote: > >This short patch series adds the ability to sample the interrupted > >machine state for each hardware sample. > > > >To test this patchset, > >Eg: > > > >$ perf record -I? # li

Re: [PATCH V11 0/4]perf/powerpc: Add ability to sample intr machine state in powerpc

2016-04-20 Thread Arnaldo Carvalho de Melo
Em Wed, Apr 20, 2016 at 02:55:58PM +1000, Michael Ellerman escreveu: > On Wed, 2016-04-20 at 00:57 -0300, Arnaldo Carvalho de Melo wrote: > > Em Mon, Apr 18, 2016 at 03:17:11PM +0530, Anju T escreveu: > > > On Saturday 20 February 2016 10:32 AM, Anju T wrote: > > >

Re: [PATCH 0/3] Add support for perf user stack dump in powerpc

2016-04-28 Thread Arnaldo Carvalho de Melo
/libc-2.17.so) > > > > > Arnaldo, Michael, > Can we take this through powerpc/next as well since this pretty much > rides on the recent perf regs work? I haven't tested with the bits that touch the common code, have you? But I think i

Re: [PATCH 0/3] Add support for perf user stack dump in powerpc

2016-04-28 Thread Arnaldo Carvalho de Melo
Em Thu, Apr 28, 2016 at 09:44:29PM +0530, Naveen N. Rao escreveu: > On 2016/04/28 12:29PM, Arnaldo Carvalho de Melo wrote: > > Em Thu, Apr 28, 2016 at 07:53:41PM +0530, Naveen N. Rao escreveu: > > > On 2016/04/28 03:01PM, Chandan Kumar wrote: > > > > This patch set e

Re: [PATCH v6 1/2] perf,kvm/powerpc: Add kvm_perf.h for powerpc

2015-08-31 Thread Arnaldo Carvalho de Melo
Em Mon, Aug 31, 2015 at 12:18:00PM +0530, Hemant Kumar escreveu: > To analyze the exit events with perf, we need to export the related > tracepoints through kvm_perf.h. kvm_perf.h is to be added in the > arch/powerpc directory, where the kvm tracepoints needed to trace the > KVM exit events are def

Re: [PATCH v6 1/2] perf,kvm/powerpc: Add kvm_perf.h for powerpc

2015-09-04 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 01, 2015 at 12:18:47PM +0530, Hemant Kumar escreveu: > >Should I try to process the 5 together, applying thest two first? > Yes, this patchset needs to be applied before applying the other patchset, > since there is a direct dependency on these two for the tooling part to > work. >

Re: [PATCH v6 1/2] perf,kvm/powerpc: Add kvm_perf.h for powerpc

2015-09-08 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 08, 2015 at 06:33:45PM +1000, Michael Ellerman escreveu: > On Tue, 2015-09-08 at 10:26 +0530, Hemant Kumar wrote: > > > > On 09/07/2015 10:40 AM, Michael Ellerman wrote: > > > On Fri, 2015-09-04 at 17:51 -0300, Arnaldo Carvalho de Melo wrote: > > >>

Re: [PATCH v16 00/16] perf, tools: Add support for PMU events in JSON format

2015-09-10 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 10, 2015 at 11:06:55AM -0700, Sukadev Bhattiprolu escreveu: > Sukadev Bhattiprolu [suka...@linux.vnet.ibm.com] wrote: > | I added Andi's patch https://lkml.org/lkml/2015/8/28/521 to 'json-v16' > branch. > | and created a new branch, 'json-files-7' with updated to Intel data files. > |

Re: [PATCH v2] perf: Fix build break on powerpc due to sample_reg_masks

2015-09-30 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 30, 2015 at 09:09:09PM +0200, Jiri Olsa escreveu: > On Wed, Sep 30, 2015 at 11:28:36AM -0700, Sukadev Bhattiprolu wrote: > > From e29a7236122c4d807ec9ebc721b5d7d75c8d Mon Sep 17 00:00:00 2001 > > From: Sukadev Bhattiprolu > > Date: Thu, 24 Sep 2015 17:53:49 -0400 > > Subject: [PATC

[PATCH 05/16] perf tools: Fix build break on powerpc due to sample_reg_masks

2015-09-30 Thread Arnaldo Carvalho de Melo
Link: http://lkml.kernel.org/r/20150930182836.ga27...@us.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/Build | 2 +- tools/perf/util/perf_regs.c | 2 ++ tools/perf/util/perf_regs.h | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/perf/util/Build

[GIT PULL 00/16] perf/core improvements and fixes

2015-09-30 Thread Arnaldo Carvalho de Melo
09-30 18:34:39 -0300) perf/core improvements and fixes: User visible: - By default use the most precise "cycles" hw counter available, i.e. when the user doesn't specify any event, it will try using cycles:ppp, cycles:pp, etc (

Re: [PATCH v2] perf: Fix build break on powerpc due to sample_reg_masks

2015-10-07 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 07, 2015 at 11:46:38AM +1100, Michael Ellerman escreveu: > On Wed, 2015-09-30 at 16:45 -0300, Arnaldo Carvalho de Melo wrote: > > Em Wed, Sep 30, 2015 at 09:09:09PM +0200, Jiri Olsa escreveu: > > > On Wed, Sep 30, 2015 at 11:28:36AM -0700, Sukadev Bhattiprolu w

[PATCH 1/1] perf tools: Fix build break on powerpc due to sample_reg_masks

2015-10-07 Thread Arnaldo Carvalho de Melo
2836.ga27...@us.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/Build | 2 +- tools/perf/util/perf_regs.c | 2 ++ tools/perf/util/perf_regs.h | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/perf/util/Build b/tools/perf/util/Build index 349bc96ca

[GIT PULL 0/1] perf/urgent fix

2015-10-07 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit 097f70b3c4d84ffccca15195bdfde3a37c0a7c0f: Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus (2015-09-27 18:22:34 -0400) are availa

Re: [PATCH v4] perf: bpf: Fix build breakage due to libbpf

2015-12-16 Thread Arnaldo Carvalho de Melo
inition. > > > > Also, since libbpf require $(srctree) now, detect the path of > > srctree like perf. > > > > Signed-off-by: Naveen N. Rao > > Signed-off-by: Wang Nan > > Acked-by: Jiri Olsa > > Cc: Arnaldo Carvalho de Melo > > Cc: Sukadev Bhatt

Re: [PATCH v4] perf: bpf: Fix build breakage due to libbpf

2015-12-17 Thread Arnaldo Carvalho de Melo
Em Thu, Dec 17, 2015 at 10:37:14AM +0530, Naveen N. Rao escreveu: > On 2015/12/17 09:29AM, Wang Nan wrote: > > The whole thread is: > > > > [PATCH v3 0/3] perf build: PowerPC: Fix build breakage due to libbpf: > > http://lkml.kernel.org/g/1450150557-127942-1-git-send-email-wangn...@huawei.com > >

Re: [PATCH v4] perf: bpf: Fix build breakage due to libbpf

2016-01-07 Thread Arnaldo Carvalho de Melo
Em Thu, Jan 07, 2016 at 12:28:15PM +0530, Naveen N. Rao escreveu: > On 2015/12/17 09:19AM, Arnaldo Carvalho de Melo wrote: > > Em Thu, Dec 17, 2015 at 10:37:14AM +0530, Naveen N. Rao escreveu: > > > On 2015/12/17 09:29AM, Wang Nan wrote: > > > > The whole thread is:

Re: [PATCH v4] perf: bpf: Fix build breakage due to libbpf

2016-01-07 Thread Arnaldo Carvalho de Melo
Em Thu, Jan 07, 2016 at 12:28:15PM +0530, Naveen N. Rao escreveu: > On 2015/12/17 09:19AM, Arnaldo Carvalho de Melo wrote: > > Em Thu, Dec 17, 2015 at 10:37:14AM +0530, Naveen N. Rao escreveu: > > > On 2015/12/17 09:29AM, Wang Nan wrote: > > > > The whole thread is:

Re: [PATCH v4] perf: bpf: Fix build breakage due to libbpf

2016-01-07 Thread Arnaldo Carvalho de Melo
Em Thu, Jan 07, 2016 at 05:39:57PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Thu, Jan 07, 2016 at 12:28:15PM +0530, Naveen N. Rao escreveu: > > Can you please push at least the initial 3 patches of this for v4.4? > > Wang Nan has posted v6 here: > > ht

Re: [PATCH v4] perf: bpf: Fix build breakage due to libbpf

2016-01-08 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 08, 2016 at 11:09:35AM +0530, Naveen N. Rao escreveu: > On 2016/01/07 05:39PM, Arnaldo Carvalho de Melo wrote: > > Em Thu, Jan 07, 2016 at 12:28:15PM +0530, Naveen N. Rao escreveu: > > > On 2015/12/17 09:19AM, Arnaldo Carvalho de Melo wrote: > > > > Em T

Re: [PATCH v4] perf: bpf: Fix build breakage due to libbpf

2016-01-08 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 08, 2016 at 09:31:46PM +0800, Wangnan (F) escreveu: > On 2016/1/8 20:51, Arnaldo Carvalho de Melo wrote: > >Em Fri, Jan 08, 2016 at 11:09:35AM +0530, Naveen N. Rao escreveu: > >>On 2016/01/07 05:39PM, Arnaldo Carvalho de Melo wrote: > >>>Em Thu, Jan 07, 20

[GIT PULL 00/16] perf/core improvements and fixes

2016-01-29 Thread Arnaldo Carvalho de Melo
ile, speeding up the 'make -C tools/perf build-test' target (Wang Nan) - Reduce the number of tests the 'build-test' target do to those that don't pollute the source tree (Arnaldo Carvalho de Melo) - Improve the output of the build tests a bit by aligning the name o

[PATCH 14/16] perf kvm/powerpc: Port perf kvm stat to powerpc

2016-01-29 Thread Arnaldo Carvalho de Melo
el Ellerman Cc: Naveen N. Rao Cc: Paul Mackerras Cc: Scott Wood Cc: Srikar Dronamraju Cc: linuxppc-dev@lists.ozlabs.org Link: http://lkml.kernel.org/r/1453962787-15376-3-git-send-email-hem...@linux.vnet.ibm.com Signed-off-by: Srikar Dronamraju Signed-off-by: Arnaldo Carvalho de Mel

[PATCH 13/16] perf kvm/{x86,s390}: Remove const from kvm_events_tp

2016-01-29 Thread Arnaldo Carvalho de Melo
2-git-send-email-hem...@linux.vnet.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/arch/s390/util/kvm-stat.c | 2 +- tools/perf/arch/x86/util/kvm-stat.c | 2 +- tools/perf/util/kvm-stat.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/perf/arch

  1   2   3   4   5   >