Re: [PATCH v6 1/2]: perf util: map data buffer for preserving collected data

2018-09-04 Thread Alexey Budankov
Hi, On 04.09.2018 20:34, Andi Kleen wrote: >> .sample = process_sample_event, >> @@ -1678,6 +1680,8 @@ static struct option __record_options[] = { >>"signal"), >> OPT_BOOLEAN(0, "dry-run", _run, >> "Parse options then exit"), >> +

Re: [PATCH v6 1/2]: perf util: map data buffer for preserving collected data

2018-09-04 Thread Alexey Budankov
Hi, On 04.09.2018 20:34, Andi Kleen wrote: >> .sample = process_sample_event, >> @@ -1678,6 +1680,8 @@ static struct option __record_options[] = { >>"signal"), >> OPT_BOOLEAN(0, "dry-run", _run, >> "Parse options then exit"), >> +

Re: [PATCH v6 1/2]: perf util: map data buffer for preserving collected data

2018-09-04 Thread Andi Kleen
> .sample = process_sample_event, > @@ -1678,6 +1680,8 @@ static struct option __record_options[] = { > "signal"), > OPT_BOOLEAN(0, "dry-run", _run, > "Parse options then exit"), > + OPT_INTEGER(0, "aio", _cblocks, > +

Re: [PATCH v6 1/2]: perf util: map data buffer for preserving collected data

2018-09-04 Thread Andi Kleen
> .sample = process_sample_event, > @@ -1678,6 +1680,8 @@ static struct option __record_options[] = { > "signal"), > OPT_BOOLEAN(0, "dry-run", _run, > "Parse options then exit"), > + OPT_INTEGER(0, "aio", _cblocks, > +

[PATCH v6 1/2]: perf util: map data buffer for preserving collected data

2018-09-04 Thread Alexey Budankov
The map->data buffers are used to preserve map->base profiling data for writing to disk. AIO map->cblocks are used to queue corresponding map->data buffers for asynchronous writing. map->cblocks objects are located in the last page of every map->data buffer. Signed-off-by: Alexey Budankov

[PATCH v6 1/2]: perf util: map data buffer for preserving collected data

2018-09-04 Thread Alexey Budankov
The map->data buffers are used to preserve map->base profiling data for writing to disk. AIO map->cblocks are used to queue corresponding map->data buffers for asynchronous writing. map->cblocks objects are located in the last page of every map->data buffer. Signed-off-by: Alexey Budankov