Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm having issues with a kworker process during system boot and I'd like to get such a nice call graph like Linus Torvalds posted here.

How would I do this?

share|improve this question

He used Perf to create this but I can't tell you exactly how Linus created the graph (which parameters etc.).

share|improve this answer

Use

$ perf-record -g

It will create the cal graph in a file called perf.data.

and then use following commadn to view report.

$ perf report

See man page of perf-record and report for details.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.