Commit-ID: cfe0d8ba14a1d98245b371e486c68f37eba1ca52
Gitweb: http://git.kernel.org/tip/cfe0d8ba14a1d98245b371e486c68f37eba1ca52
Author: Runzhen Wang
AuthorDate: Fri, 28 Jun 2013 16:14:57 +0800
Committer: Arnaldo Carvalho de Melo
CommitDate: Fri, 12 Jul 2013 13:46:09 -0300
perf tools
Commit-ID: 7e40c92019cef784fffbdfc51c6e731e7ee6ba10
Gitweb: http://git.kernel.org/tip/7e40c92019cef784fffbdfc51c6e731e7ee6ba10
Author: Runzhen Wang
AuthorDate: Fri, 28 Jun 2013 16:14:56 +0800
Committer: Arnaldo Carvalho de Melo
CommitDate: Mon, 8 Jul 2013 17:40:05 -0300
perf tools
M_BR_MPRED" rather than "PM_BRU_MPRED".
- These are in the ABI/testing at this point rather than ABI/stable,
so hoping we have some wiggle room.
Signed-off-by: Runzhen Wang
---
.../testing/sysfs-bus-event_source-devices-events |2 +-
arch/powerpc/perf/power7-pmu.c
s raw code:
[root@localhost perf]# time ./event_code.sh
[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 0.003 MB perf.data (~112 samples) ]
real0m1.198s
user0m0.028s
sys 0m0.105s
Signed-off-by: Runzhen Wang
---
arch/powerpc/include/asm/perf_event_serv
_ATTR(_name, _code)
#include "power7-events-list.h"
#undef EVENT
to generate different outputs.
Thanks
Runzhen Wang
Runzhen Wang (2):
perf tools: fix a typo of a Power7 event name
perf tools: Make Power7 events available for perf
.../testing/sysfs-bus-event_so
s raw code:
[root@localhost perf]# time ./event_code.sh
[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 0.003 MB perf.data (~112 samples) ]
real0m1.198s
user0m0.028s
sys 0m0.105s
Signed-off-by: Runzhen Wang
---
arch/powerpc/include/asm/perf_event_serv
M_BR_MPRED" rather than "PM_BRU_MPRED".
- These are in the ABI/testing at this point rather than ABI/stable,
so hoping we have some wiggle room.
Signed-off-by: Runzhen Wang
---
.../testing/sysfs-bus-event_source-devices-events |2 +-
arch/powerpc/perf/power7-pmu.c
s named "power7-events-list.h",
and use several macros, such as,
#define EVENT(_name, _code) POWER_EVENT_ATTR(_name, _code)
#include "power7-events-list.h"
#undef EVENT
to generate different outputs.
Thanks
Runzhen Wang
Runzhen Wang (2):
perf tools
In the Power7 PMU guide:
https://www.power.org/documentation/commonly-used-metrics-for-performance-analysis/
PM_BRU_MPRED is referred to as PM_BR_MPRED.
This patch fix the typo by changing the name of the event in kernel and
documentation accordingly.
Signed-off-by: Runzhen Wang
On Wed, May 29, 2013 at 01:56:15PM +0200, Jiri Olsa wrote:
>On Mon, May 27, 2013 at 11:27:35PM +0800, Runzhen Wang wrote:
>> commit 0a720538e5dd3f424bfcc15c1e4af09df0becf92
>> and
>> commit 93cbb3985d5de867fb32e6e130fcfb1b5de4142b
>> move some contents of Makefile fr
arch/x86/include/perf_regs.h, that will cause the error.
The solution is to move the assignment statement of BASIC_CFLAGS ahead of
BASIC_CFLAGS += -DHAVE_PERF_REGS.
Signed-off-by: Runzhen Wang
---
tools/perf/config/Makefile | 33 +
1 file changed, 17 insertions
Sorry, I made a mistake.
There is no bug, please ignore my patch.
Sorry again. I will be careful next time.
On Mon, May 27, 2013 at 3:54 PM, Runzhen Wang wrote:
> For the latest perf core tree:
> (git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git),
> in util/unwind.
ERF_REG_IP’ undeclared (first use in this
function)
Changing #include "perf_regs.h" to #include will fix the
error.
Signed-off-by: Runzhen Wang
---
tools/perf/util/unwind.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/util/unwind.c b/tools/perf/util/un
On 05/08/2013 07:06 PM, Robert Richter wrote:
On 08.05.13 18:39:07, Xiao Guangrong wrote:
I remember that Wang has posted a similar patch to fix this bug several
weeks ago:
http://lkml.org/lkml/2013/4/24/70
But have no response yet.
Yes, this patch would fix the version tag too.
The patch
ping~ :)
On 04/16/2013 01:00 PM, Runzhen Wang wrote:
The perf --version can't print the right version
information when reset it to an earlier commit.
For example, at present the version is:
# ./perf --version
perf version 3.9.rc6.gf8378f
then, I reset it to an earlier version tag, say
From 4d629cfb265beece1aae2e3fdf603e36a321f785 Mon Sep 17 00:00:00 2001
From: Runzhen Wang
Date: Mon, 15 Apr 2013 23:17:15 -0400
Subject: [PATCH] perf tool: fix the perf --version bug
The perf --version can't print the right version
information when reset it to an earlier commit.
For ex
From 4d629cfb265beece1aae2e3fdf603e36a321f785 Mon Sep 17 00:00:00 2001
From: Runzhen Wang
Date: Mon, 15 Apr 2013 23:17:15 -0400
Subject: [PATCH] perf tool: fix the perf --version bug
The perf --version can't print the right version
information when reset it to an earlier commit.
For ex
17 matches
Mail list logo