Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf probe: Fix to add missed brace around if block

The commit 75186a9b09e4 (perf probe: Fix to show lines of sys_ functions
correctly) introduced a bug by a missed brace around if block. This
fixes to add it.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Fixes: 75186a9b09e4 ("perf probe: Fix to show lines of sys_ functions correctly")
Link: http://lkml.kernel.org/r/20150812215541.9088.62425.stgit@localhost.localdomain
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Masami Hiramatsu and committed by
Arnaldo Carvalho de Melo
86a76027 7aec51cb

+2 -1
+2 -1
tools/perf/util/dwarf-aux.c
··· 770 770 continue; 771 771 } 772 772 /* Filter lines based on address */ 773 - if (rt_die != cu_die) 773 + if (rt_die != cu_die) { 774 774 /* 775 775 * Address filtering 776 776 * The line is included in given function, and ··· 784 784 decf != dwarf_decl_file(&die_mem)) 785 785 continue; 786 786 } 787 + } 787 788 /* Get source line */ 788 789 fname = dwarf_linesrc(line, NULL, NULL); 789 790