diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2012-05-23 21:47:51 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-05-23 21:47:51 -0300 |
commit | a1d44b9acdf7b2820ef762846150b4d13b84e075 (patch) | |
tree | 3f32aadffbdb4ecbca78da17f9c05d7fad7db227 /tools/perf/scripts/python/sched-migration.py | |
parent | ab0cce560ef177bdc7a8f73e9962be9d829a7b2c (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/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions