Re: [PATCH v4 perf,bpf 12/15] perf, bpf: enable annotation of bpf program

From: Jiri Olsa
Date: Wed Feb 27 2019 - 08:22:10 EST


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