How do I profile the kernel?

I'm having concerns with a kworker procedure throughout system boot and also I would certainly such as to get such a wonderful call chart like Linus Torvalds uploaded here.

Just how would certainly I do this?

0
2019-05-18 23:39:17
Source Share
Answers: 2

He made use of Perf to create this yet I can not inform you specifically just how Linus developed the chart (which parameters etc).

0
2019-05-21 09:49:47
Source

Use

$ perf - document - g

It will certainly create the cal chart in a documents called perf.data.

and afterwards make use of adhering to commadn to watch record.

$ perf record

See male web page of perf - document and also record for information.

0
2019-05-19 13:38:38
Source