Re: [PATCH] perf probe: Fix bug in perf probe with global variables

2015-04-27 Thread Arnaldo Carvalho de Melo
Em Sun, Apr 26, 2015 at 09:56:06AM +0900, Masami Hiramatsu escreveu: > (2015/04/25 17:08), He Kuang wrote: > > There are missing curly braces which causes find_variable() return wrong > > value when probing with global variables. > > > > This problem can be reproduced as following: > > > > $ pe

Re: [PATCH] perf probe: Fix bug in perf probe with global variables

2015-04-25 Thread Masami Hiramatsu
(2015/04/25 17:08), He Kuang wrote: > There are missing curly braces which causes find_variable() return wrong > value when probing with global variables. > > This problem can be reproduced as following: > > $ perf probe -v --add='generic_perform_write global_variable_for_test' > ... > Try

[PATCH] perf probe: Fix bug in perf probe with global variables

2015-04-25 Thread He Kuang
There are missing curly braces which causes find_variable() return wrong value when probing with global variables. This problem can be reproduced as following: $ perf probe -v --add='generic_perform_write global_variable_for_test' ... Try to find probe point from debuginfo. Probe point fo