kernel_optimize_test/arch/powerpc/perf
sukadev@linux.vnet.ibm.com 56f12bee55 powerpc/perf/hv-24x7: Simplify catalog_read()
catalog_read() implements the read interface for the sysfs file

	/sys/bus/event_source/devices/hv_24x7/interface/catalog

It essentially takes a buffer, an offset and count as parameters
to the read() call.  It makes a hypervisor call to read a specific
page from the catalog and copy the 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 <sukadev@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2014-10-07 16:57:10 +11:00
..
bhrb.S
callchain.c
core-book3s.c
core-fsl-emb.c
e500-pmu.c
e6500-pmu.c
hv-24x7-catalog.h
hv-24x7.c powerpc/perf/hv-24x7: Simplify catalog_read() 2014-10-07 16:57:10 +11:00
hv-24x7.h
hv-common.c
hv-common.h
hv-gpci.c
hv-gpci.h
Makefile
mpc7450-pmu.c
power4-pmu.c
power5-pmu.c
power5+-pmu.c
power6-pmu.c
power7-events-list.h
power7-pmu.c
power8-pmu.c
ppc970-pmu.c