I am using perf 3.0.4 on ubuntu 11.10. Its record command works well and displays on terminal 256 samples collected. But when I make use of **perf report** , it gives me the following error:

```
perf.data file has no samples

```

I searched a lot for the solution but no success yet.