| Date | Wed, 22 Oct 2014 16:17:55 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH v5 12/20] x86: perf: intel_pt: Intel PT PMU driver |
| |
On Mon, Oct 13, 2014 at 04:45:40PM +0300, Alexander Shishkin wrote: > +/** > + * struct pt_buffer - buffer configuration; one buffer per task_struct or - * cpu, depending on perf event configuration + * cpu, depending on perf event configuration > + * @tables: list of ToPA tables in this buffer > + * @first, @last: shorthands for first and last topa tables > + * @cur: current topa table > + * @nr_pages: buffer size in pages > + * @cur_idx: current output region's index within @cur table > + * @output_off: offset within the current output region > + * @data_size: running total of the amount of data in this buffer > + * @lost: if data was lost/truncated > + * @head: logical write offset inside the buffer > + * @snapshot: if this is for a snapshot/overwrite counter > + * @stop_pos, @intr_pos: STOP and INT topa entries in the buffer > + * @data_pages: array of pages from perf > + * @topa_index: table of topa entries indexed by page offset > + */
|