r=?' and display them via 'perf list'.
Changelog[v6]
[Jiri Olsa, Sukadev Bhattiprolu] Rather than display
'starting_index=$core' in perf.list and sysfs and expect user to
specify a value for 'starting_index', replace 'starting_index'
Define a lite version of the EVENT_DEFINE_RANGE_FORMAT() that avoids
defining helper functions for the bit-field ranges.
Signed-off-by: Sukadev Bhattiprolu
---
arch/powerpc/perf/hv-common.h | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/powerpc/perf/hv-common.h b/arch
From: Cody P Schafer
Helper for constructing static struct perf_pmu_events_attr s.
CC: Sukadev Bhattiprolu
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Cody P Schafer
---
include/linux/perf_event.h | 7 +++
1 file changed, 7 insertions(+)
diff --git a/include/linux/perf_event.h
From: Cody P Schafer
Add the remaining gpci requests that contain counters suitable for use
by perf. Omit those that don't contain any counters (but note their
ommision).
Changelog[v6]
[Jiri Olsa, Sukadev Bhattiprolu] Replace 'starting_index' with what
it reall
From: Cody P Schafer
Changelog[v6]
[Cody Schafer] Update Contact info to Linux on Power Developer list
CC: Sukadev Bhattiprolu
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Cody P Schafer
---
.../testing/sysfs-bus-event_source-devices-hv_24x7 | 22 ++
1
From: Cody P Schafer
Changelog[v6]:
- [Sukadev Bhattiprolu]: Update documentation of perf-list and
perf-record; Added documentation for perf-stat.
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Cody P Schafer
Signed-off-by: Sukadev Bhattiprolu
---
tools/perf
and fix a small conflict.
Changelog[v3]:
[Jiri Olsa] If the sysfs event file specifies 'param=val', make the
usage 'hv_24x7/event,param=123/' rather than 'hv_24x7/event,val=123/'.
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Sukadev Bhat
From: Cody P Schafer
This causes `perf list pmu` to show parameters for parameterized events
like:
pmu/event_name,param1=?,param2=?/ [Kernel PMU event]
An example:
hv_24x7/HPM_TLBIE__PHYS_CORE,core=?/ [Kernel PMU event]
Changelog[v6]
[Jir Olsa, Sukadev Bhattiprolu] Drop the
;perf list' will be displayed with '$xyz' in
them. For example:
hv_24x7/HPM_THREAD_NAP_CCYC__PHYS_CORE,core=?/
This means that when provided as an event, a value for ? must also
be supplied. For example:
perf stat -e \
'hv_24x7/HPM_THREA
a hypervisor). This isn't possible because
bindings between our cpus and physical cpus may not be fixed, and we
probably won't have a "cpu" on each physical cpu.
Changelog[v6]
Update event description to explain how required parameters
are displayed.
CC: Sukadev Bh
Catalog is (at the moment) only parsed on boot. It needs re-parsing
when a some hypervisor events occur. At that point we'll also need to
prevent old events from continuing to function (counter that is passed
in via spare space in the config values?).
Changelog[v6]
[Jiri Olsa, Suka
event. Eg if starting_index refers to a partition_id for an
event, allow user to specify a value for partition_id rather
than 'starting_index'. Also use a =? to indicate required
parameters: eg partition_id=?
CC: Sukadev Bhattiprolu
CC: Haren Myneni
CC: Cody P Sc
From: Cody P Schafer
(struct perf_pmu_events_attr) is defined in include/linux/perf_event.h,
but the only "show" for it is in x86 and contains x86 specific stuff.
Make a generic one for those of us who are just using the event_str.
CC: Sukadev Bhattiprolu
CC: Haren Myneni
CC: Cody
Michael Ellerman [m...@ellerman.id.au] wrote:
| On Tue, 2014-12-09 at 23:06 -0800, Sukadev Bhattiprolu wrote:
| > From 470c16c8955672103a9529c78dffbb239e9e27b8 Mon Sep 17 00:00:00 2001
| > From: Sukadev Bhattiprolu
| > Date: Tue, 9 Dec 2014 22:17:46 -0500
| > Subject: [PATCH 1/2] per
>From 982bf5a660ae33fbe2f9187187caa6752c66783d Mon Sep 17 00:00:00 2001
From: Sukadev Bhattiprolu
Date: Wed, 10 Dec 2014 01:43:34 -0500
Subject: [PATCH 2/2] power/perf: hv-24x7: Use kmem_cache_free() instead of
kfree
Use kmem_cache_free() to free a buffer allocated with kmem_cache_al
>From 470c16c8955672103a9529c78dffbb239e9e27b8 Mon Sep 17 00:00:00 2001
From: Sukadev Bhattiprolu
Date: Tue, 9 Dec 2014 22:17:46 -0500
Subject: [PATCH 1/2] perf/poweprc/hv-24x7: Use per-cpu page buffer
The 24x7 counters are continuously running and not updated on an interrupt.
So we record
Jiri Olsa [jo...@redhat.com] wrote:
| anyway we could assign directly to the param term name as you do,
| but I think we just need to mark the term as parametrized, like:
|
| in /sys/bus/event_source/devices/pmu/events/event_name you have:
| param2=?,bar=1,param1=?
I like the idea of just usin
Description of "event parameters" from the documentation patch:
Event parameters are a basic way for partial events to be specified in
sysfs with per-event names given to the fields that need to be filled in
when using a particular event.
It is intended for supporting cases where
Zijlstra] Use '$' to prefix parameterized events.
Changelog[v4]
[Jiri Olsa] If the parameter for an event in sysfs is 'param=val',
have perf-list show the event as 'param=?' rather than 'val=?'.
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by
perf-core and fix a small conflict.
Changelog[v3]:
[Jiri Olsa] If the sysfs event file specifies 'param=val', make the
usage 'hv_24x7/event,param=123/' rather than 'hv_24x7/event,val=123/'.
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Sukadev Bhat
From: Cody P Schafer
Changelog[v6]:
- [Sukadev Bhattiprolu]: Update documentation of perf-list and
perf-record; Added documentation for perf-stat.
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Cody P Schafer
Signed-off-by: Sukadev Bhattiprolu
---
tools/perf
a hypervisor). This isn't possible because
bindings between our cpus and physical cpus may not be fixed, and we
probably won't have a "cpu" on each physical cpu.
CC: Sukadev Bhattiprolu
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Cody P Schafer
---
Documentation/ABI/test
alues?).
Changelog[v5]
[Jiri Olsa, Peter Zijlstra] Prefix required parameters with '$'
to make it easy for user to recognize.
Changelog[v4]
[Sukadev Bhattiprolu] Use PHYS and VCPU in place of PHYSICAL and
VIRTUAL_PROCESSOR to shorten the names of the do
changes in naming).
In exchange for this macro disaster, we get autogenerated event listing
for GPCI in sysfs, build time field offset checking, and zero
duplication of information about GPCI requests.
CC: Sukadev Bhattiprolu
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Cody P Schafer
The current support for the 24x7 and GPCI counters in the kernel requires
users to specify the domain and offset of the event numerically, which is
obviously hard to use:
perf stat -C 0 -e \
'hv_24x7/domain=2,offset=0xd58,starting_index=0,lpar=0x/' \
sleep 1
This pat
From: Cody P Schafer
(struct perf_pmu_events_attr) is defined in include/linux/perf_event.h,
but the only "show" for it is in x86 and contains x86 specific stuff.
Make a generic one for those of us who are just using the event_str.
CC: Sukadev Bhattiprolu
CC: Haren Myneni
CC: Cody
From: Cody P Schafer
Add the remaining gpci requests that contain counters suitable for use
by perf. Omit those that don't contain any counters (but note their
ommision).
CC: Sukadev Bhattiprolu
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Cody P Schafer
---
arch/powerpc/perf/hv
From: Cody P Schafer
Helper for constructing static struct perf_pmu_events_attr s.
CC: Sukadev Bhattiprolu
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Cody P Schafer
---
include/linux/perf_event.h | 7 +++
1 file changed, 7 insertions(+)
diff --git a/include/linux/perf_event.h
From: Cody P Schafer
CC: Sukadev Bhattiprolu
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Cody P Schafer
---
.../testing/sysfs-bus-event_source-devices-hv_24x7 | 22 ++
1 file changed, 22 insertions(+)
diff --git a/Documentation/ABI/testing/sysfs-bus-event_source
l...@kernel.org [l...@kernel.org] wrote:
| From: Cong Wang
|
| 3.4.105-rc1 review patch. If anyone has any objections, please let me know.
|
|
| diff --git a/kernel/events/core.c b/kernel/events/core.c
| index 685ce46..c958be1 100644
| --- a/kernel/events/core.c
| +++ b/kernel/events/core.c
|
Andi Kleen [a...@firstfloor.org] wrote:
| Since it seems the download mechanism is controversal,
| I removed the downloader for now until a suitable distribution
| method with kernel.org can be established. This is just
| the rest of the perf JSON event code that should hopefully
| not be controv
affecting it in any manner.
|
| Signed-off-by: Anshuman Khandual
Except for some minor comments to one of the patches, the patchset
looks good to me. I was also able to run the included selftest on
a PowerVM guest.
Tested-by: Sukadev Bhattiprolu
| ---
| include/uapi/linux/elf.h | 5 +
| 1 file
Anshuman Khandual [khand...@linux.vnet.ibm.com] wrote:
| This patch enables get and set of transactional memory related register
| sets through PTRACE_GETREGSET-PTRACE_SETREGSET interface by implementing
| four new powerpc specific register sets i.e REGSET_TM_SPR, REGSET_TM_CGPR,
| REGSET_TM_CFPR,
Alexander Shishkin [alexander.shish...@linux.intel.com] wrote:
| From: Peter Zijlstra
|
| This patch introduces "AUX space" in the perf mmap buffer, intended for
| exporting high bandwidth data streams to userspace, such as instruction
| flow traces.
|
| AUX space is a ring buffer, defined by au
Commit-ID: 7d073b335edc8d97af730c2e3b83ed6642bd3c27
Gitweb: http://git.kernel.org/tip/7d073b335edc8d97af730c2e3b83ed6642bd3c27
Author: Sukadev Bhattiprolu
AuthorDate: Tue, 21 Oct 2014 17:09:58 -0700
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 29 Oct 2014 10:32:46 -0200
perf
Namhyung Kim [namhy...@kernel.org] wrote:
| > + if (dwfl_report_offline(dwfl, "", dso->long_name, -1) == NULL) {
| > + pr_debug("dwfl_report_offline() failed %s\n",
| > + dwarf_errmsg(-1));
| > + /*
| > +
Jiri Olsa [jo...@redhat.com] wrote:
| > + goto out;
| > + }
| > + dso->dwfl = dwfl;
|
| so by this we get powerpc arch code sharing dw handle via dso object,
| but we have lot of generic code too ;-)
Well, this applies to powerpc...
|
| could you make this
Arnaldo Carvalho de Melo [a...@kernel.org] wrote:
| Em Tue, Oct 21, 2014 at 11:56:10AM -0700, Sukadev Bhattiprolu escreveu:
| > >From 773a3608a0cd2daf02e244cb9ffbf5bb6a0e724e Mon Sep 17 00:00:00 2001
| > From: Sukadev Bhattiprolu
| > Date: Tue, 21 Oct 2014 13:20:22 -0500
| > Subj
>From 773a3608a0cd2daf02e244cb9ffbf5bb6a0e724e Mon Sep 17 00:00:00 2001
From: Sukadev Bhattiprolu
Date: Tue, 21 Oct 2014 13:20:22 -0500
Subject: [PATCH 1/1] perf/powerpc: Cache DWARF debug info
Cache the DWARF debug info for DSO so we don't have to rebuild it for
each address in the
Anshuman Khandual [khand...@linux.vnet.ibm.com] wrote:
| On 08/28/2014 03:05 AM, Sukadev Bhattiprolu wrote:
| >
| > I see these in arch/powerpc/include/asm/processor.h
| >
| > #ifdef CONFIG_PPC64
| > unsigned long dscr;
| > int dscr_inherit;
|
Sukadev Bhattiprolu [suka...@linux.vnet.ibm.com] wrote:
| Miscellaenous fixes for perf and 24x7 counters in powerpc.
|
| Patches 1,3,4 were submitted earlier as a part of the parametrized
| events for 24x7 counters. But they are not directly related to the
| parametrized events.
|
| Patch 2
Sometimes, eg: with a stripped vmlinux, we can open the file but
cannot load any symbols from it. Update error message accordingly
so the users can better understand the error.
Signed-off-by: Sukadev Bhattiprolu
---
tools/perf/util/map.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion
is hopefully easier to understand.
Signed-off-by: Sukadev Bhattiprolu
---
tools/perf/util/symbol.c | 50
1 file changed, 25 insertions(+), 25 deletions(-)
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c
index be84f7a..9b66e27
e78d3afac6492dcae52cd756394247997d6
not found, continuing without symbols
Signed-off-by: Sukadev Bhattiprolu
---
tools/perf/util/symbol.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c
index 9b66e27..a
Cody's email address has changed. Update the contact information for
the 24x7 and GPCI counters to the PowerPC developers mailing list.
Signed-off-by: Sukadev Bhattiprolu
---
.../ABI/testing/sysfs-bus-event_source-devices-hv_24x7 | 6 +++---
.../ABI/testing/sysfs-bus-event_source-de
required bytes into the given
buffer. Each call to catalog_read() returns at most one 4K page.
Given these requirements, we should be able to simplify the
catalog_read().
Signed-off-by: Sukadev Bhattiprolu
---
Changelog[v3]
[Michael Ellerman] offset_in_page must be based on offsetr
arbitrary event file contents.
CC: Haren Myneni
Signed-off-by: Cody P Schafer
Signed-off-by: Sukadev Bhattiprolu
---
.../testing/sysfs-bus-event_source-devices-events | 573 -
1 file changed, 573 deletions(-)
diff --git a/Documentation/ABI/testing/sysfs-bus-event_source-devi
From: Cody P Schafer
Add documentation for the , .scale, and .unit
files in sysfs.
.scale and .unit were undocumented.
was previously documented only for specific powerpc pmu events.
CC: Haren Myneni
Signed-off-by: Cody P Schafer
Signed-off-by: Sukadev Bhattiprolu
aligned stack
allocations
perf Documentation: sysfs events/ interfaces
perf Documentation: remove duplicated docs for powerpc cpu specific
events
Sukadev Bhattiprolu (2):
Simplify catalog_read()
powerpc: Update contact info in Documentation files
.../testing/sysfs-bus-event_source
unsie
Signed-off-by: Cody P Schafer
Signed-off-by: Sukadev Bhattiprolu
---
Changelog [v3]:
[Michael Ellerman] Cleanup code and use kmem..zalloc()
arch/powerpc/perf/hv-24x7.c | 55 ++---
1 file changed, 37 insertions(+), 18 deletions(-)
diff --git a
Michael Ellerman [m...@ellerman.id.au] wrote:
| > @@ -203,6 +125,7 @@ static ssize_t catalog_read(struct file *filp, struct
kobject *kobj,
| >
| > page_offset = offset / 4096;
| > page_count = count / 4096;
|
| I don't see where page_count is used.
Yes, I will remove it.
|
| > +
Jiri Olsa [jo...@redhat.com] wrote:
| On Wed, Sep 24, 2014 at 12:27:15PM -0700, Sukadev Bhattiprolu wrote:
| > From: Cody P Schafer
| >
| > Enable event specification like:
| >
| > pmu/event_name,param1=0x1,param2=0x4/
| >
| > Assuming that
| >
| > /sys/b
From: Cody P Schafer
(struct perf_pmu_events_attr) is defined in include/linux/perf_event.h,
but the only "show" for it is in x86 and contains x86 specific stuff.
Make a generic one for those of us who are just using the event_str.
CC: Sukadev Bhattiprolu
CC: Haren Myneni
CC: Cody
]
Changelog[v6]
[Jir Olsa] If the parameter for an event in sysfs is 'param=val',
have perf-list show the event as 'param=?' rather than 'val=?'.
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Cody P Schafer
Signed-off-by: Sukadev Bhattiprolu
-
From: Cody P Schafer
Changelog[v6]:
- [Sukadev Bhattiprolu]: Update documentation of perf-list and
perf-record; Added documentation for perf-stat.
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Cody P Schafer
Signed-off-by: Sukadev Bhattiprolu
---
tools/perf
From: Cody P Schafer
Add the remaining gpci requests that contain counters suitable for use
by perf. Omit those that don't contain any counters (but note their
ommision).
CC: Sukadev Bhattiprolu
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Cody P Schafer
---
arch/powerpc/perf/hv
From: Cody P Schafer
Helper for constructing static struct perf_pmu_events_attr s.
CC: Sukadev Bhattiprolu
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Cody P Schafer
---
include/linux/perf_event.h | 7 +++
1 file changed, 7 insertions(+)
diff --git a/include/linux/perf_event.h
a hypervisor). This isn't possible because
bindings between our cpus and physical cpus may not be fixed, and we
probably won't have a "cpu" on each physical cpu.
CC: Sukadev Bhattiprolu
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Cody P Schafer
---
Documentation/ABI/test
-core and fix a small conflict.
Changelog[v3]:
[Jiri Olsa] If the sysfs event file specifies 'param=val', make the
usage 'hv_24x7/event,param=123/' rather than 'hv_24x7/event,val=123/'.
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Sukadev Bhat
events occur. At that point we'll also need to
prevent old events from continuing to function (counter that is passed
in via spare space in the config values?).
Changelog[v6]
[Sukadev Bhattiprolu] Use PHYS and VCPU in place of PHYSICAL and
VIRTUAL_PROCESSOR to shorten the names o
From: Cody P Schafer
CC: Sukadev Bhattiprolu
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Cody P Schafer
---
.../testing/sysfs-bus-event_source-devices-hv_24x7 | 22 ++
1 file changed, 22 insertions(+)
diff --git a/Documentation/ABI/testing/sysfs-bus-event_source
changes in naming).
In exchange for this macro disaster, we get autogenerated event listing
for GPCI in sysfs, build time field offset checking, and zero
duplication of information about GPCI requests.
CC: Sukadev Bhattiprolu
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Cody P Schafer
What this patchset does:
- the first patch (override sysfs in tools/perf via SYSFS_PATH) was sent out
previously, but needed a resend anyhow. Having it is useful for testing the
later changes to tools/perf.
- the second patch is a bugfix to the powerpc hv-24x7 code which was
previously
arbitrary event file contents.
CC: Sukadev Bhattiprolu
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Cody P Schafer
---
.../testing/sysfs-bus-event_source-devices-events | 573 -
1 file changed, 573 deletions(-)
diff --git a/Documentation/ABI/testing/sysfs-bus-ev
required bytes into the given
buffer. Each call to catalog_read() returns at most one 4K page.
Given these requirements, we should be able to simplify the
catalog_read().
Signed-off-by: Sukadev Bhattiprolu
---
arch/powerpc/perf/hv-24x7.c | 92 +
1 file
From: Cody P Schafer
Add documentation for the , .scale, and .unit
files in sysfs.
.scale and .unit were undocumented.
was previously documented only for specific powerpc pmu events.
CC: Sukadev Bhattiprolu
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Cody P Schafer
---
.../testing
From: Cody P Schafer
Ian pointed out the use of __aligned(4096) caused rather large stack
consumption in single_24x7_request(), so use the kmem_cache
hv_page_cache (which we've already got set up for other allocations)
insead of allocating locally.
CC: Sukadev Bhattiprolu
CC: Haren Mynen
events
Sukadev Bhattiprolu (1):
Simplify catalog_read()
.../testing/sysfs-bus-event_source-devices-events | 611 ++---
arch/powerpc/perf/hv-24x7.c| 144 ++---
2 files changed, 96 insertions(+), 659 deletions(-)
--
1.8.3.1
--
To unsubscribe from this list
Aaro Koskinen [aaro.koski...@iki.fi] wrote:
| Hi,
|
| On Wed, Jun 25, 2014 at 08:49:03AM -0700, Sukadev Bhattiprolu wrote:
| > powerpc/perf: Adjust callchain based on DWARF debug info
| >
| > When saving the callchain on Power, the kernel conservatively saves excess
| > entries in t
From: Cody P Schafer
Helper for constructing static struct perf_pmu_events_attr s.
CC: Sukadev Bhattiprolu
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Cody P Schafer
---
include/linux/perf_event.h |7 +++
1 file changed, 7 insertions(+)
diff --git a/include/linux
]
Changelog[v6]
[Jir Olsa] If the parameter for an event in sysfs is 'param=val',
have perf-list show the event as 'param=?' rather than 'val=?'.
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Cody P Schafer
Signed-off-by: Sukadev Bhattiprolu
---
From: Cody P Schafer
(struct perf_pmu_events_attr) is defined in include/linux/perf_event.h,
but the only "show" for it is in x86 and contains x86 specific stuff.
Make a generic one for those of us who are just using the event_str.
CC: Sukadev Bhattiprolu
CC: Haren Myneni
CC: Cody
What this patchset does:
- the first patch (override sysfs in tools/perf via SYSFS_PATH) was sent out
previously, but needed a resend anyhow. Having it is useful for testing the
later changes to tools/perf.
- the second patch is a bugfix to the powerpc hv-24x7 code which was
previously
events occur. At that point we'll also need to
prevent old events from continuing to function (counter that is passed
in via spare space in the config values?).
Changelog[v6]
[Sukadev Bhattiprolu] Use PHYS and VCPU in place of PHYSICAL and
VIRTUAL_PROCESSOR to shorten the names o
changes in naming).
In exchange for this macro disaster, we get autogenerated event listing
for GPCI in sysfs, build time field offset checking, and zero
duplication of information about GPCI requests.
CC: Sukadev Bhattiprolu
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Cody P Schafer
a hypervisor). This isn't possible because
bindings between our cpus and physical cpus may not be fixed, and we
probably won't have a "cpu" on each physical cpu.
CC: Sukadev Bhattiprolu
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Cody P Schafer
---
.../testing/sysfs
From: Cody P Schafer
Changelog[v6]:
- [Sukadev Bhattiprolu]: Update documentation of perf-list and
perf-record; Added documentation for perf-stat.
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Cody P Schafer
Signed-off-by: Sukadev Bhattiprolu
---
tools/perf
From: Cody P Schafer
Add the remaining gpci requests that contain counters suitable for use
by perf. Omit those that don't contain any counters (but note their
ommision).
CC: Sukadev Bhattiprolu
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Cody P Schafer
---
arch/powerpc/perf/hv
From: Cody P Schafer
CC: Sukadev Bhattiprolu
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Cody P Schafer
---
.../testing/sysfs-bus-event_source-devices-hv_24x7 | 22
1 file changed, 22 insertions(+)
diff --git a/Documentation/ABI/testing/sysfs-bus-event_source
file specifies 'param=val', make the
usage 'hv_24x7/event,param=123/' rather than 'hv_24x7/event,val=123/'.
[Sukadev Bhattiprolu] If verbose option is set, print help message
if a required parameter is missing or invalid parameter is specified.
From: Cody P Schafer
Ian pointed out the use of __aligned(4096) caused rather large stack
consumption in single_24x7_request(), so use the kmem_cache
hv_page_cache (which we've already got set up for other allocations)
insead of allocating locally.
CC: Sukadev Bhattiprolu
CC: Haren Mynen
to not read first page.
Cody P Schafer (3):
powerpc/perf/hv-24x7: use kmem_cache instead of aligned stack
allocations
perf Documentation: sysfs events/ interfaces
perf Documentation: remove duplicated docs for powerpc cpu specific
events
Sukadev Bhattiprolu (1):
Simplify
arbitrary event file contents.
CC: Sukadev Bhattiprolu
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Cody P Schafer
---
.../testing/sysfs-bus-event_source-devices-events | 573
1 file changed, 573 deletions(-)
diff --git a/Documentation/ABI/testing/sysfs-bus-ev
required bytes into the given
buffer. Each call to catalog_read() returns at most one 4K page.
Given these requirements, we should be able to simplify the
catalog_read().
Signed-off-by: Sukadev Bhattiprolu
---
arch/powerpc/perf/hv-24x7.c | 92 +--
1 file
From: Cody P Schafer
Add documentation for the , .scale, and .unit
files in sysfs.
.scale and .unit were undocumented.
was previously documented only for specific powerpc pmu events.
CC: Sukadev Bhattiprolu
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Cody P Schafer
---
.../testing
Anshuman Khandual [khand...@linux.vnet.ibm.com] wrote:
| This patch enables get and set of miscellaneous registers through ptrace
| PTRACE_GETREGSET/PTRACE_SETREGSET interface by implementing new powerpc
| specific register set REGSET_MISC support corresponding to the new ELF
| core note NT_PPC_MI
Anshuman Khandual [khand...@linux.vnet.ibm.com] wrote:
| This patch enables get and set of transactional memory related register
| sets through PTRACE_GETREGSET/PTRACE_SETREGSET interface by implementing
| four new powerpc specific register sets i.e REGSET_TM_SPR, REGSET_TM_CGPR,
| REGSET_TM_CFPR,
Anton Blanchard [an...@samba.org] wrote:
| Fix a compile error, the prototype for pr_debug could not be found.
|
Arnaldo pushed this patch to Ingo recently.
https://lkml.org/lkml/2014/8/22/393
| Signed-off-by: Anton Blanchard
| ---
|
| Index: b/tools/perf/arch/powerpc/util/skip-callcha
Commit-ID: ad7e767a726dd7dffad45d7fcbf371094e7f2288
Gitweb: http://git.kernel.org/tip/ad7e767a726dd7dffad45d7fcbf371094e7f2288
Author: Sukadev Bhattiprolu
AuthorDate: Thu, 7 Aug 2014 00:27:00 -0700
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 20 Aug 2014 08:29:10 -0300
perf
Jiri Olsa [jo...@redhat.com] wrote:
| > Description of the sysfs contents when events are parameterized (copied
from an
| > included patch):
| >
| > Examples:
| >
| > domain=0x1,offset=0x8,starting_index=phys_cpu
| >
| > In the case of the last example, a value replacing "
Powerpc, we can skip the --events-file option
and run:
perf stat -e PM_CYC sleep 1
Signed-off-by: Sukadev Bhattiprolu
---
Changelog[v3]:
[Tobias Klauser]: Fix some changelog damage to patch.
Changelog[v2]:
[Michael Ellerman]: Use PVR instead of AUXV variables
tools/perf
Tobias Klauser [tklau...@distanz.ch] wrote:
| > diff --git a/tools/perf/arch/powerpc/util/header.c
b/tools/perf/arch/powerpc/util/header.c
| > index 6c1b8a7..1bb400e8 100644
| > --- a/tools/perf/arch/powerpc/util/header.c
| > +++ b/tools/perf/arch/powerpc/util/header.c
| > @@ -6,6 +6,7 @@
| >
|
arbitrary event file contents.
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Cody P Schafer
Signed-off-by: Sukadev Bhattiprolu
---
.../testing/sysfs-bus-event_source-devices-events | 573 -
1 file changed, 573 deletions(-)
diff --git a/Documentation/ABI/testing
by: Cody P Schafer
Signed-off-by: Sukadev Bhattiprolu
---
include/linux/perf_event.h | 3 +++
kernel/events/core.c | 8
2 files changed, 11 insertions(+)
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
index 707617a..cef4a56 100644
--- a/include/linux/perf_eve
]
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Cody P Schafer
Signed-off-by: Sukadev Bhattiprolu
---
tools/perf/util/pmu.c | 26 +-
1 file changed, 25 insertions(+), 1 deletion(-)
diff --git a/tools/perf/util/pmu.c b/tools/perf/util/pmu.c
index ee1c190..63ca8b4
a hypervisor). This isn't possible because
bindings between our cpus and physical cpus may not be fixed, and we
probably won't have a "cpu" on each physical cpu.
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Cody P Schafer
Signed-off-by: Sukadev Bhattiprolu
---
Document
orted-by: Ian Munsie
Signed-off-by: Cody P Schafer
Signed-off-by: Sukadev Bhattiprolu
---
arch/powerpc/perf/hv-24x7.c | 52 -
1 file changed, 37 insertions(+), 15 deletions(-)
diff --git a/arch/powerpc/perf/hv-24x7.c b/arch/powerpc/perf/hv-24x7.c
From: Cody P Schafer
What this patchset does:
- the first patch (override sysfs in tools/perf via SYSFS_PATH) was sent out
previously, but needed a resend anyhow. Having it is useful for testing the
later changes to tools/perf.
- the second patch is a bugfix to the powerpc hv-24x7 code w
: Cody P Schafer
Signed-off-by: Sukadev Bhattiprolu
---
tools/perf/util/parse-events.h | 1 +
tools/perf/util/pmu.c | 55 ++
2 files changed, 46 insertions(+), 10 deletions(-)
diff --git a/tools/perf/util/parse-events.h b/tools/perf/util/parse
From: Cody P Schafer
Add the remaining gpci requests that contain counters suitable for use
by perf. Omit those that don't contain any counters (but note their
ommision).
CC: Haren Myneni
CC: Cody P Schafer
Signed-off-by: Cody P Schafer
Signed-off-by: Sukadev Bhattiprolu
---
arch/po
601 - 700 of 884 matches
Mail list logo