Re: [8/9] powerpc/hv-24x7: Break up single_24x7_request

2015-03-23 Thread Sukadev Bhattiprolu
Michael Ellerman [m...@ellerman.id.au] wrote: | > +static void start_24x7_get_data(struct hv_24x7_request_buffer *request_buffer, | > + struct hv_24x7_data_result_buffer *result_buffer) | > +{ | | Just init_24x7_request() ? Sure. | | > + | > + memset(request_buffer, 0, 4096

Re: [8/9] powerpc/hv-24x7: Break up single_24x7_request

2015-03-16 Thread Michael Ellerman
On Tue, 2015-17-02 at 22:00:33 UTC, Sukadev Bhattiprolu wrote: > Break up the function single_24x7_request() into smaller functions. > This would later enable us to "prepare" a multi-event request > buffer and then submit a single hcall for several events. This looks fine, though the names are a b

[PATCH 8/9] powerpc/hv-24x7: Break up single_24x7_request

2015-02-17 Thread Sukadev Bhattiprolu
Break up the function single_24x7_request() into smaller functions. This would later enable us to "prepare" a multi-event request buffer and then submit a single hcall for several events. Signed-off-by: Sukadev Bhattiprolu --- arch/powerpc/perf/hv-24x7.c | 56 +---