'Getting error while Running 'perf c2c report -c pid,tid,iaddr,dso'

While running 'perf c2c report -c pid,tid,iaddr,dso' command getting below error message.

Running 'perf c2c report -c pid,tid,iaddr,dso'
failed to open perf.data: No such file or directory  (try 'perf record' first)


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source