summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorsukadev@linux.vnet.ibm.com <sukadev@linux.vnet.ibm.com>2014-09-30 23:03:18 -0700
committerMichael Ellerman <mpe@ellerman.id.au>2014-10-07 16:57:10 +1100
commit56f12bee55d740dc47eed0ca9d5c72cffdffd6cf (patch)
tree67352cbe11600450a97f3c49e3a18eb48e8914f4 /Documentation/ABI
parent48bee8a6c98e34367fa9d5e1be14109c92cbbb3b (diff)
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>
Diffstat (limited to 'Documentation/ABI')
0 files changed, 0 insertions, 0 deletions