Some perf user space improvements

Andi Kleen
2010-11-18T10:51:10Z

These two patches fix two problems in the "perf" tool I ran
into recently. The main one is fixing the compilation on gcc 4.0,
which one of my test boxes still uses (that's actually
an old patch submitted some time ago, but never got applied)

-Andi