Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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

2 Answers 2

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.