On 08/15/2012 06:56 PM, Shubhrajyoti wrote:
How can I build perf myself? I tried cross compiling but failed...:-( what are the steps?
Cross-compiling is tricky because perf requires a lot of libraries. I do it natively, using Ubuntu developer image. Also note that perf can't be compiled outside of the kernel source tree, so you should copy the full tree to your target. Yes, this is ugly.
Dmitry