quot;)
Cc: sta...@vger.kernel.org
Signed-off-by: Cody P Schafer
---
drivers/media/i2c/cx25840/cx25840-core.c | 3 ++-
drivers/media/i2c/cx25840/cx25840-core.h | 1 -
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/media/i2c/cx25840/cx25840-core.c
b/drivers/media/i2c/c
ds of rb_node & cgwb_congested_tree as required by
other users of those structures.
CC: Tejun Heo
Signed-off-by: Cody P Schafer
---
include/linux/rbtree.h | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/include/linux/rbtree.h b/include/linux/rbtree.h
inde
On Fri, Jan 30, 2015 at 4:46 PM, Sukadev Bhattiprolu
wrote:
> From: Cody P Schafer
>
> Signed-off-by: Cody P Schafer
> Signed-off-by: Sukadev Bhattiprolu
> ---
> Changelog[v6]
> Update Contact info to Linux on Power Developer list
>
> .../testing/sysfs-bus-e
On Thu, Feb 5, 2015 at 9:59 PM, Sukadev Bhattiprolu
wrote:
> From: Sukadev Bhattiprolu
> Date: Thu Feb 5 20:56:20 EST 2015 -0300
> Subject: [RFC][PATCH] perf: Implement read_group() PMU operation
>
> This is a lightly tested, exploratory patch to allow PMUs to return
> several counters at once.
Commit-ID: 688d4dfcdd624192cbf03c08402e444d1d11f294
Gitweb: http://git.kernel.org/tip/688d4dfcdd624192cbf03c08402e444d1d11f294
Author: Cody P Schafer
AuthorDate: Wed, 7 Jan 2015 17:13:50 -0800
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 21 Jan 2015 13:24:32 -0300
perf tools
Commit-ID: aaea36174991ff39c7a18044660db86527100c55
Gitweb: http://git.kernel.org/tip/aaea36174991ff39c7a18044660db86527100c55
Author: Cody P Schafer
AuthorDate: Wed, 7 Jan 2015 17:13:51 -0800
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 21 Jan 2015 13:24:33 -0300
perf tools
Commit-ID: f9ab9c196d015f3bd8f6bd1c30785c5a49542323
Gitweb: http://git.kernel.org/tip/f9ab9c196d015f3bd8f6bd1c30785c5a49542323
Author: Cody P Schafer
AuthorDate: Wed, 7 Jan 2015 17:13:53 -0800
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 21 Jan 2015 13:24:33 -0300
perf tools
Commit-ID: 98a43e0e9917059da32db89829b0eb95453a11ee
Gitweb: http://git.kernel.org/tip/98a43e0e9917059da32db89829b0eb95453a11ee
Author: Cody P Schafer
AuthorDate: Wed, 7 Jan 2015 17:13:52 -0800
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 21 Jan 2015 13:24:33 -0300
perf
On Thu, Dec 4, 2014 at 7:44 AM, Jiri Olsa wrote:
> On Tue, Dec 02, 2014 at 06:09:35PM -0800, Sukadev Bhattiprolu wrote:
>> From: Cody P Schafer
>>
>> Enable event specification like:
>>
>> pmu/event_name,param1=0x1,param2=0x4/
>>
>> Assuming t
sting/sysfs-bus-event_source-devices-hv_24x7
> @@ -21,3 +21,25 @@ Contact: Linux on PowerPC Developer List
>
> +Contact: Cody P Schafer
Probably want someone else to be the contact here.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel"
Commit-ID: b56d5beff4825f9f216f1fc4a54a5d07d4b68b71
Gitweb: http://git.kernel.org/tip/b56d5beff4825f9f216f1fc4a54a5d07d4b68b71
Author: Cody P Schafer
AuthorDate: Tue, 30 Sep 2014 23:03:20 -0700
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 15 Oct 2014 16:00:37 -0300
perf
Commit-ID: ed90a4466340e51699139ea83dbe0f4536360e6d
Gitweb: http://git.kernel.org/tip/ed90a4466340e51699139ea83dbe0f4536360e6d
Author: Cody P Schafer
AuthorDate: Tue, 30 Sep 2014 23:03:19 -0700
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 15 Oct 2014 15:54:40 -0300
perf
> +What: /sys/bus/event_source/devices/hv_24x7/event_descs/
> +Date: February 2014
> +Contact: Cody P Schafer
May want to change this contact email to an address that still works
(perhaps the ppc devel list?)
--
To unsubscribe from this list: send the line &qu
Commit-ID: 885b5930d6632fc7df55445d9021b87d8bb17a9b
Gitweb: http://git.kernel.org/tip/885b5930d6632fc7df55445d9021b87d8bb17a9b
Author: Cody P Schafer
AuthorDate: Fri, 15 Aug 2014 00:26:14 -0700
Committer: Arnaldo Carvalho de Melo
CommitDate: Fri, 15 Aug 2014 10:42:40 -0300
perf tools
Commit-ID: f2d9627b2b31506204417bb6842a7ea88970b700
Gitweb: http://git.kernel.org/tip/f2d9627b2b31506204417bb6842a7ea88970b700
Author: Cody P Schafer
AuthorDate: Tue, 27 May 2014 17:21:56 -0700
Committer: Jiri Olsa
CommitDate: Tue, 3 Jun 2014 21:34:29 +0200
perf tools: Allow
On Wed, May 28, 2014 at 6:00 PM, Joe Perches wrote:
> On Wed, 2014-05-28 at 17:11 -0500, Cody P Schafer wrote:
>> On Wed, May 28, 2014 at 5:05 PM, Cody P Schafer wrote:
>> > On Wed, May 28, 2014 at 3:45 AM, David Laight
>> > wrote:
>> >> From: Cody P Sc
On Wed, May 28, 2014 at 5:05 PM, Cody P Schafer wrote:
> On Wed, May 28, 2014 at 3:45 AM, David Laight wrote:
>> From: Cody P Schafer
>>> Rather manually specifying the size of the integer to be converted, key
>>> off of the type size. Reduces duplicate size info and t
On Tue, May 27, 2014 at 7:44 PM, Joe Perches wrote:
> On Tue, 2014-05-27 at 17:22 -0700, Cody P Schafer wrote:
>> Rather manually specifying the size of the integer to be converted, key
>> off of the type size. Reduces duplicate size info and the occurance of
>> certain typ
On Wed, May 28, 2014 at 3:45 AM, David Laight wrote:
> From: Cody P Schafer
>> Rather manually specifying the size of the integer to be converted, key
>> off of the type size. Reduces duplicate size info and the occurance of
>> certain types of bugs (using the w
Helper for constructing static struct perf_pmu_events_attr s.
CC: Sukadev Bhattiprolu
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 b/include/linux/perf_event.h
index 6c1d6dd..1313171 100644
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
Signed-off-by: Cody P Schafer
---
arch/powerpc/perf/hv-common.c | 10 +-
arch
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
Signed-off-by: Cody P Schafer
---
arch/powerpc/perf/hv-gpci-requests.h | 179 +++
1
we'll also need to
prevent old events from continuing to function (counter that is passed
in via spare space in the config values?).
CC: Sukadev Bhattiprolu
Signed-off-by: Cody P Schafer
---
arch/powerpc/perf/hv-24x7-catalog.h | 25 ++
arch/powerpc/perf/hv-24x7-domains.h | 19 +
arch/po
Rather manually specifying the size of the integer to be converted, key
off of the type size. Reduces duplicate size info and the occurance of
certain types of bugs (using the wrong sized conversion).
CC: Sukadev Bhattiprolu
Signed-off-by: Cody P Schafer
---
include/linux/byteorder.h | 34
CC: Sukadev Bhattiprolu
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-devices-hv_24x7
b/Documentation/ABI/testing/sysfs-bus
Enable event specification like:
pmu/event_name,param1=0x1,param2=0x4/
Assuming that
/sys/bus/event_source/devices/pmu/events/event_name
Contains something like
bar=param2,foo=1,baz=param1
CC: Sukadev Bhattiprolu
Signed-off-by: Cody P Schafer
---
tools/perf/util
CC: Sukadev Bhattiprolu
Signed-off-by: Cody P Schafer
---
tools/perf/Documentation/perf-list.txt | 13 +
tools/perf/Documentation/perf-record.txt | 5 +
2 files changed, 18 insertions(+)
diff --git a/tools/perf/Documentation/perf-list.txt
b/tools/perf/Documentation/perf
#x27;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
Signed-off-by: Cody P Schafer
---
Documentation/ABI/testing/sysfs-bus-event_source-devices-events | 6 ++
1 fi
Signed-off-by: Cody P Schafer
---
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 db53fac..7b8d067 100644
--- a/tools/perf/util/pmu.c
+++ b/tools/perf/util/pmu.c
@@ -741,10
(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
Signed-off-by: Cody P Schafer
---
inc
CC: Sukadev Bhattiprolu
Signed-off-by: Cody P Schafer
---
tools/perf/util/pmu.c | 4 ++--
tools/perf/util/pmu.h | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/tools/perf/util/pmu.c b/tools/perf/util/pmu.c
index 00a7dcb..906ae40 100644
--- a/tools/perf/util/pmu.c
Cody P Schafer
---
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
index e0766b8..9a7a830 100644
--- a/arch/powerpc/perf/hv-24x7.c
+++ b
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
Signed-off-by: Cody P Schafer
---
.../testing/sysfs-bus-event_source-devices-events | 60
tents.
CC: Sukadev Bhattiprolu
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-event_source-devices-events
b/Documentation/ABI/testing/sysfs-bus-ev
SYSFS_PATH and PROC_PATH environment variables now let the user override
the detection of sysfs and proc locations for testing purposes.
CC: Sukadev Bhattiprolu
Signed-off-by: Cody P Schafer
---
tools/lib/api/fs/fs.c | 43 ++-
1 file changed, 42
example:
hv_gpci/dtbp_ptitc,phys_processor_idx=?/
This means that when provided as an event, a value for
phys_processor_idx must
also be supplied. For example:
perf stat -e 'hv_gpci/dtbp_ptitc,phys_processor_idx=0x2/' ...
Cody P Schafer (16)
On 05/22/2014 04:49 PM, Stephen Rothwell wrote:
Hi Cody,
On Thu, 22 May 2014 15:44:25 -0700 Cody P Schafer
wrote:
if (ret) {
if (success_expected)
pr_err_ratelimited("hcall failed: %d %#x %#x %d => 0x%lx
(%ld) detail=0x%x failing
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.
Reported-by: Ian Munsie
Signed-off-by: Cody P Schafer
---
On 05/22/2014 03:38 PM, Stephen Rothwell wrote:
Hi Cody,
On Thu, 22 May 2014 15:29:08 -0700 Cody P Schafer
wrote:
- *res = be64_to_cpu(result_buffer.result);
+ *res = be64_to_cpu(result_buffer->result);
+ kfree(result_buffer);
+ kfree(request_buffer);
+ ret
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.
Reported-by: Ian Munsie
Signed-off-by: Cody P Schafer
---
On 05/22/2014 01:19 AM, Ian Munsie wrote:
Hi Cody,
I just tried building this with gcc 4.5, which failed with the following
warning (treated as an error):
cc1: warnings being treated as errors
arch/powerpc/perf/hv-24x7.c: In function 'single_24x7_request':
arch/powerpc/perf/hv-24x7.c:346:1: err
look at the KConfig to find out
that config DTL depends on config PPC_SPLPAR.
Essentially, this enables menuconfig to provide a visual hint about the
dependencies between options.
Mikey
On Mon, 2014-05-12 at 20:09 -0700, Cody P Schafer wrote:
Signed-off-by: Cody P Schafer
---
arch/powerpc/
Signed-off-by: Cody P Schafer
---
arch/powerpc/platforms/pseries/Kconfig | 20 ++--
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/arch/powerpc/platforms/pseries/Kconfig
b/arch/powerpc/platforms/pseries/Kconfig
index 2cb8b77..e00dd4d 100644
--- a/arch/powerpc
SYSFS_PATH and PROC_PATH environment variables now let the user override
the detection of sysfs and proc locations for testing purposes.
Signed-off-by: Cody P Schafer
---
Since v2: use strncpy() when copying into fs->path
Since v1: rebased onto acme's perf/core
tools/lib/api/fs/f
On 04/27/2014 09:47 PM, Benjamin Herrenschmidt wrote:
On Tue, 2014-04-15 at 10:10 -0700, Cody P Schafer wrote:
The catalog version number was changed from a be32 (with proceeding
32bits of padding) to a be64, update the code to treat it as a be64
Signed-off-by: Cody P Schafer
--
Have you
SYSFS_PATH and PROC_PATH environment variables now let the user override
the detection of sysfs and proc locations for testing purposes.
Signed-off-by: Cody P Schafer
---
Since v1: rebased onto acme's perf/core
tools/lib/api/fs/fs.c | 43 ++-
1
Commit-ID: c9e87a472594fd237b2d19dcbe4a3424297f0b1a
Gitweb: http://git.kernel.org/tip/c9e87a472594fd237b2d19dcbe4a3424297f0b1a
Author: Cody P Schafer
AuthorDate: Mon, 14 Apr 2014 12:47:01 +0200
Committer: Jiri Olsa
CommitDate: Tue, 15 Apr 2014 13:57:21 +0200
perf tools: Instead of
fixup for "powerpc/perf: Add support for the hv gpci (get performance
counter info) interface".
Makes the "not enabled" message less awful (and hidden unless
debugging).
Signed-off-by: Cody P Schafer
---
arch/powerpc/perf/hv-gpci.c | 4 ++--
1 file changed, 2 insert
- 24x7 and gpci probing now uses pr_debug() and doesn't pad to 80 characters
- Catalog access is fixed for LE kernels
- remove c99 feature sparse doesn't like
- 1 device attr made static
Cody P Schafer (6):
powerpc/perf/hv_24x7: probe errors changed to pr_debug(), padding
Signed-off-by: Cody P Schafer
---
arch/powerpc/perf/hv-24x7.c | 20
1 file changed, 16 insertions(+), 4 deletions(-)
diff --git a/arch/powerpc/perf/hv-24x7.c b/arch/powerpc/perf/hv-24x7.c
index f5bca73..3e8f60a 100644
--- a/arch/powerpc/perf/hv-24x7.c
+++ b/arch/powerpc
Signed-off-by: Cody P Schafer
---
arch/powerpc/perf/hv-gpci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/perf/hv-gpci.c b/arch/powerpc/perf/hv-gpci.c
index 8fee1dc..c9d399a 100644
--- a/arch/powerpc/perf/hv-gpci.c
+++ b/arch/powerpc/perf/hv-gpci.c
@@ -78,7
Signed-off-by: Cody P Schafer
---
arch/powerpc/perf/hv-24x7.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/perf/hv-24x7.c b/arch/powerpc/perf/hv-24x7.c
index 3e8f60a..95a67f8 100644
--- a/arch/powerpc/perf/hv-24x7.c
+++ b/arch/powerpc/perf/hv-24x7.c
@@ -170,7
fixup for "powerpc/perf: Add support for the hv 24x7 interface"
Makes the "not enabled" message less awful (and hides it in most cases).
Signed-off-by: Cody P Schafer
---
arch/powerpc/perf/hv-24x7.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/
The catalog version number was changed from a be32 (with proceeding
32bits of padding) to a be64, update the code to treat it as a be64
Signed-off-by: Cody P Schafer
---
arch/powerpc/perf/hv-24x7.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/powerpc/perf/hv
This gives us a real filename instead of having '' show up all
over the place when debugging.
Signed-off-by: Cody P Schafer
---
tools/perf/Makefile.perf | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf
ind
SYSFS_PATH and PROC_PATH environment variables now let the user override
the detection of sysfs and proc locations for testing purposes.
Signed-off-by: Cody P Schafer
---
tools/perf/util/fs.c | 36
1 file changed, 36 insertions(+)
diff --git a/tools/perf
Make the "not enabled" message less awful.
Signed-off-by: Cody P Schafer
---
arch/powerpc/perf/hv-24x7.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/perf/hv-24x7.c b/arch/powerpc/perf/hv-24x7.c
index 297c9105..3246ea2 100644
--- a/arch/powerpc/perf
Make the "not enabled" message less awful.
Signed-off-by: Cody P Schafer
---
arch/powerpc/perf/hv-gpci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/perf/hv-gpci.c b/arch/powerpc/perf/hv-gpci.c
index 278ba7b..f6c471d 100644
--- a/arch/powerpc/perf
kept them as pr_info() instead of converting to
pr_debug().
Cody P Schafer (2):
fixup: "powerpc/perf: Add support for the hv 24x7 interface"
fixup: "powerpc/perf: Add support for the hv gpci (get performance
counter info) interface"
arch/powerpc/perf/hv-24x7.c | 2 +
On 03/25/2014 03:43 AM, Anton Blanchard wrote:
Hi Cody,
hv-24x7: could not obtain capabilities, error 0x
fffe, not enabling
hv-gpci: could not obtain capabilities, error 0x
On 03/25/2014 03:43 AM, Anton Blanchard wrote:
Hi Cody,
hv-24x7: could not obtain capabilities, error 0x
fffe, not enabling
hv-gpci: could not obtain capabilities, error 0x
re instead (acme, feel like making one?).
--
Cody P Schafer (2):
perf Documentation: sysfs events/ interfaces
perf Documentation: remove duplicated docs for powerpc cpu specific
events
.../testing/sysfs-bus-event_source-devices-events | 92 +++---
1 file changed, 47 inserti
inevitably) add more
'event.' files.
Signed-off-by: Cody P Schafer
---
.../testing/sysfs-bus-event_source-devices-events | 59 ++
1 file changed, 59 insertions(+)
diff --git a/Documentation/ABI/testing/sysfs-bus-event_source-devices-events
b/Documentat
ned-off-by: Cody P Schafer
---
.../testing/sysfs-bus-event_source-devices-events | 57 --
1 file changed, 57 deletions(-)
diff --git a/Documentation/ABI/testing/sysfs-bus-event_source-devices-events
b/Documentation/ABI/testing/sysfs-bus-event_source-devices-events
index
On 03/04/2014 12:09 AM, Cody P Schafer wrote:
On 03/03/2014 09:19 PM, Michael Ellerman wrote:
On Thu, 2014-27-02 at 21:04:55 UTC, Cody P Schafer wrote:
Add PMU_FORMAT_RANGE() and PMU_FORMAT_RANGE_RESERVED() (for reserved
areas) which generate functions to extract the relevent bits from
event
shows that no one is using bin_attrs in a named attribute
group yet, so we can do this without breaking anything in usespace.
Note that I do not add is_visible() support to
bin_attributes, though that could be done as well.
Signed-off-by: Cody P Schafer
Signed-off-by: Greg Kroah-Hartman
tions.
Signed-off-by: Cody P Schafer
---
include/linux/perf_event.h | 1 +
kernel/events/core.c | 10 +-
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
index 5c12009..23da668 100644
--- a/include/linux/perf_event.h
Add PMU_FORMAT_RANGE() and PMU_FORMAT_RANGE_RESERVED() (for reserved
areas) which generate functions to extract the relevent bits from
event->attr.config{,1,2} for use by sw-like pmus where the
'config{,1,2}' values don't map directly to hardware registers.
Signed-off-
gpci and 24x7 expose some device specific attributes. Add some
documentation for them.
Signed-off-by: Cody P Schafer
---
.../testing/sysfs-bus-event_source-devices-hv_24x7 | 23
.../testing/sysfs-bus-event_source-devices-hv_gpci | 43 ++
2 files changed, 66
7; '
sleep 0.1
Signed-off-by: Cody P Schafer
---
arch/powerpc/perf/hv-24x7.c | 493
1 file changed, 493 insertions(+)
create mode 100644 arch/powerpc/perf/hv-24x7.c
diff --git a/arch/powerpc/perf/hv-24x7.c b/arch/powerpc/perf/hv-24x7.c
new fi
Signed-off-by: Cody P Schafer
---
arch/powerpc/perf/Makefile | 2 ++
arch/powerpc/platforms/pseries/Kconfig | 12
2 files changed, 14 insertions(+)
diff --git a/arch/powerpc/perf/Makefile b/arch/powerpc/perf/Makefile
index 60d71ee..f9c083a 100644
--- a/arch/powerpc
n linux at this time.
Signed-off-by: Cody P Schafer
---
arch/powerpc/perf/hv-gpci.h | 73 +
1 file changed, 73 insertions(+)
create mode 100644 arch/powerpc/perf/hv-gpci.h
diff --git a/arch/powerpc/perf/hv-gpci.h b/arch/powerpc/perf/hv-gpci.h
new
n overflow, these are completely disjoint from the
typical power pmu.
This method of obtaining performance counters from the hypervisor is
intended to paritialy replace the gpci interface.
Signed-off-by: Cody P Schafer
---
arch/powerpc/perf/hv-24x7-catalog.h | 33 +++
arch/powerpc/perf
s are simply exposed in sysfs to inform the user.
Signed-off-by: Cody P Schafer
---
arch/powerpc/perf/hv-common.c | 39 +++
arch/powerpc/perf/hv-common.h | 17 +
2 files changed, 56 insertions(+)
create mode 100644 arch/powerpc/perf/hv-common.c
c
give the user 1024 bytes to play with
- clarify some comments (the list of fw versions is now labeled)
- provide and event_24x7_request() that wraps single_24x7_request()
- probably some other small fixes I'm forgetting.
Cody P Schafer (11):
sysfs: create bin_attributes under the requested grou
Signed-off-by: Cody P Schafer
---
arch/powerpc/include/asm/hvcall.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/powerpc/include/asm/hvcall.h
b/arch/powerpc/include/asm/hvcall.h
index d8b600b..5dbbb29 100644
--- a/arch/powerpc/include/asm/hvcall.h
+++ b/arch/powerpc/include/asm
dex=0,starting_index=0x,request=0x10/'
-r 0 -C 0 -x ' ' sleep 0.1
Signed-off-by: Cody P Schafer
---
arch/powerpc/perf/hv-gpci.c | 277
1 file changed, 277 insertions(+)
create mode 100644 arch/powerpc/perf/hv-gpci.c
diff --git a/arch/po
On 03/03/2014 09:19 PM, Michael Ellerman wrote:
On Thu, 2014-27-02 at 21:04:55 UTC, Cody P Schafer wrote:
Add PMU_FORMAT_RANGE() and PMU_FORMAT_RANGE_RESERVED() (for reserved
areas) which generate functions to extract the relevent bits from
event->attr.config{,1,2} for use by sw-like pmus wh
On 03/03/2014 09:19 PM, Michael Ellerman wrote:
On Thu, 2014-27-02 at 21:04:56 UTC, Cody P Schafer wrote:
Rather an having every pmu that needs a function that just returns 0 for
.event_idx define their own copy, reuse the one in kernel/events/core.c.
Rename from perf_swevent_event_idx
bytes to play with
- clarify some comments (the list of fw versions is now labeled)
- provide and event_24x7_request() that wraps single_24x7_request()
- probably some other small fixes I'm forgetting.
Cody P Schafer (11):
sysfs: create bin_attributes under the requested group
perf: ad
Add PMU_FORMAT_RANGE() and PMU_FORMAT_RANGE_RESERVED() (for reserved
areas) which generate functions to extract the relevent bits from
event->attr.config{,1,2} for use by sw-like pmus where the
'config{,1,2}' values don't map directly to hardware registers.
Signed-off-
n linux at this time.
Signed-off-by: Cody P Schafer
---
arch/powerpc/perf/hv-gpci.h | 73 +
1 file changed, 73 insertions(+)
create mode 100644 arch/powerpc/perf/hv-gpci.h
diff --git a/arch/powerpc/perf/hv-gpci.h b/arch/powerpc/perf/hv-gpci.h
new
dex=0,starting_index=0x,request=0x10/'
-r 0 -C 0 -x ' ' sleep 0.1
Signed-off-by: Cody P Schafer
---
arch/powerpc/perf/hv-gpci.c | 277
1 file changed, 277 insertions(+)
create mode 100644 arch/powerpc/perf/hv-gpci.c
diff --git a/arch/po
Signed-off-by: Cody P Schafer
---
arch/powerpc/perf/Makefile | 2 ++
arch/powerpc/platforms/pseries/Kconfig | 12
2 files changed, 14 insertions(+)
diff --git a/arch/powerpc/perf/Makefile b/arch/powerpc/perf/Makefile
index 60d71ee..f9c083a 100644
--- a/arch/powerpc
s are simply exposed in sysfs to inform the user.
Signed-off-by: Cody P Schafer
---
arch/powerpc/perf/hv-common.c | 39 +++
arch/powerpc/perf/hv-common.h | 17 +
2 files changed, 56 insertions(+)
create mode 100644 arch/powerpc/perf/hv-common.c
c
shows that no one is using bin_attrs in a named attribute
group yet, so we can do this without breaking anything in usespace.
Note that I do not add is_visible() support to
bin_attributes, though that could be done as well.
Signed-off-by: Cody P Schafer
Signed-off-by: Greg Kroah-Hartman
---
No
Signed-off-by: Cody P Schafer
---
arch/powerpc/include/asm/hvcall.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/powerpc/include/asm/hvcall.h
b/arch/powerpc/include/asm/hvcall.h
index d8b600b..5dbbb29 100644
--- a/arch/powerpc/include/asm/hvcall.h
+++ b/arch/powerpc/include/asm
n overflow, these are completely disjoint from the
typical power pmu.
This method of obtaining performance counters from the hypervisor is
intended to paritialy replace the gpci interface.
Signed-off-by: Cody P Schafer
---
arch/powerpc/perf/hv-24x7-catalog.h | 33 +++
arch/powerpc/perf
7; '
sleep 0.1
Signed-off-by: Cody P Schafer
---
arch/powerpc/perf/hv-24x7.c | 492
1 file changed, 492 insertions(+)
create mode 100644 arch/powerpc/perf/hv-24x7.c
diff --git a/arch/powerpc/perf/hv-24x7.c b/arch/powerpc/perf/hv-24x7.c
new fi
gpci and 24x7 expose some device specific attributes. Add some
documentation for them.
Signed-off-by: Cody P Schafer
---
.../testing/sysfs-bus-event_source-devices-hv_24x7 | 23
.../testing/sysfs-bus-event_source-devices-hv_gpci | 43 ++
2 files changed, 66
tions.
Signed-off-by: Cody P Schafer
---
include/linux/perf_event.h | 1 +
kernel/events/core.c | 10 +-
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
index 3da5081..24a7b45 100644
--- a/include/linux/perf_event.h
On 02/26/2014 12:29 AM, Peter Zijlstra wrote:
On Tue, Feb 25, 2014 at 01:38:31PM -0800, Cody P Schafer wrote:
On 02/25/2014 02:20 AM, Peter Zijlstra wrote:
On Tue, Feb 25, 2014 at 02:33:26PM +1100, Michael Ellerman wrote:
On Fri, 2014-14-02 at 22:02:06 UTC, Cody P Schafer wrote:
Export the
On 02/24/2014 08:53 PM, Madhavan Srinivasan wrote:
On Saturday 22 February 2014 05:44 AM, Cody P Schafer wrote:
/sys/devices/system/cpu/cpu*/smt-snooze-delay was converted into a NOP
in commit 3fa8cad82b94d0bed002571bd246f2299ffc876b, and now does
nothing. Add a pr_warn() to convince any users
On 02/25/2014 12:33 PM, Cody P Schafer wrote:
On 02/24/2014 07:33 PM, Michael Ellerman wrote:
On Fri, 2014-14-02 at 22:02:05 UTC, Cody P Schafer wrote:
Add PMU_RANGE_ATTR() and PMU_RANGE_RESV() (for reserved areas) which
generate functions to extract the relevent bits from
event->attr.con
On 02/25/2014 02:20 AM, Peter Zijlstra wrote:
On Tue, Feb 25, 2014 at 02:33:26PM +1100, Michael Ellerman wrote:
On Fri, 2014-14-02 at 22:02:06 UTC, Cody P Schafer wrote:
Export the swevent hrtimer helpers currently only used in events/core.c
to allow the addition of architecture specific sw
On 02/24/2014 07:33 PM, Michael Ellerman wrote:
On Fri, 2014-14-02 at 22:02:14 UTC, Cody P Schafer wrote:
Signed-off-by: Cody P Schafer
---
arch/powerpc/perf/Makefile | 2 ++
arch/powerpc/platforms/Kconfig.cputype | 6 ++
2 files changed, 8 insertions(+)
diff --git a/arch
On 02/24/2014 07:33 PM, Michael Ellerman wrote:
On Fri, 2014-14-02 at 22:02:12 UTC, Cody P Schafer wrote:
This provides a basic link between perf and hv_gpci. Notably, it does
not yet support transactions and does not list any events (they can
still be manually composed).
Can you explain how
On 02/24/2014 07:33 PM, Michael Ellerman wrote:
[PATCH v2 07/11] powerpc: add a shared interface to get gpci version and
capabilities
All the patches that touch perf should be "powerpc/perf: foo"
Ok.
On Fri, 2014-14-02 at 22:02:11 UTC, Cody P Schafer wrote:
...
I realise
On 02/24/2014 07:33 PM, Michael Ellerman wrote:
On Fri, 2014-14-02 at 22:02:08 UTC, Cody P Schafer wrote:
Signed-off-by: Cody P Schafer
---
arch/powerpc/include/asm/hvcall.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/powerpc/include/asm/hvcall.h
b/arch/powerpc/include
On 02/24/2014 07:33 PM, Michael Ellerman wrote:
On Fri, 2014-14-02 at 22:02:13 UTC, Cody P Schafer wrote:
This provides a basic interface between hv_24x7 and perf. Similar to
the one provided for gpci, it lacks transaction support and does not
list any events.
Signed-off-by: Cody P Schafer
1 - 100 of 452 matches
Mail list logo