aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/python/twatch.py
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2012-05-23 21:47:51 -0300
committerArnaldo Carvalho de Melo <[email protected]>2012-05-23 21:47:51 -0300
commita1d44b9acdf7b2820ef762846150b4d13b84e075 (patch)
tree3f32aadffbdb4ecbca78da17f9c05d7fad7db227 /tools/perf/python/twatch.py
parentab0cce560ef177bdc7a8f73e9962be9d829a7b2c (diff)
perf evlist: Explicititely initialize input_name
It was a global variable, so it was initialized, implicitely, to zero by being placed in the bss. Now it is just a local variable that is then passed to the __cmd_evlist routine, so it must be explicitely set to NULL. The problem manifested on a Fedora 17 system, using: gcc version 4.7.0 20120507 (Red Hat 4.7.0-5) (GCC) But not on several other systems, by luck. Reported-by: Ingo Molnar <[email protected]> Cc: David Ahern <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/python/twatch.py')
0 files changed, 0 insertions, 0 deletions