lkml.org 
[lkml]   [2014]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v5 12/20] x86: perf: intel_pt: Intel PT PMU driver
Date
Peter Zijlstra <peterz@infradead.org> writes:

> On Mon, Oct 13, 2014 at 04:45:40PM +0300, Alexander Shishkin wrote:
>> + if ((pt_cap_get(PT_CAP_topa_multiple_entries)
>> + && topa->table[i].stop)
>> + || topa->table[i].end)
>> + break;
>
>> + old = (local64_xchg(&buf->head, base) &
>> + ((buf->nr_pages << PAGE_SHIFT) - 1));
>
>> + if (!pt_cap_get(PT_CAP_topa_multiple_entries) ||
>> + buf->output_off == sizes(TOPA_ENTRY(buf->cur, buf->cur_idx)->size)) {
>> + local_inc(&buf->lost);
>> + advance++;
>> + }
>
> Inconsistent coding style. Please put operators at the end of a line,
> not at the start of one.

Ok.


\
 
 \ /
  Last update: 2014-10-24 10:41    [W:0.622 / U:0.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site