lkml.org 
[lkml]   [2019]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4 perf,bpf 12/15] perf, bpf: enable annotation of bpf program
On Mon, Feb 25, 2019 at 04:20:16PM -0800, Song Liu wrote:

SNIP

> + if (!opts->hide_src_code && srcline) {
> + args->offset = -1;
> + args->line = strdup(srcline);
> + args->line_nr = 0;
> + args->ms.sym = sym;
> + dl = disasm_line__new(args);
> + if (dl)
> + annotation_line__add(&dl->al,
> + &notes->src->source);

please use { } around multiline if leg

jirka

\
 
 \ /
  Last update: 2019-02-27 14:22    [W:0.168 / U:0.220 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site