lkml.org 
[lkml]   [2014]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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:
> + 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.


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