Re: [RFC v3 01/17] perf kwork: New tool

From: Yang Jihong
Date: Tue Jul 26 2022 - 20:39:04 EST


Hello,

On 2022/7/27 1:27, Arnaldo Carvalho de Melo wrote:
Em Sat, Jul 09, 2022 at 09:50:17AM +0800, Yang Jihong escreveu:
The perf-kwork tool is used to trace time properties of kernel work
(such as irq, softirq, and workqueue), including runtime, latency,
and timehist, using the infrastructure in the perf tools to allow
tracing extra targets.

This is the first commit to reuse perf_record framework code to
implement a simple record function, kwork is not supported currently.

So, since I have to fix some issues I'm adding small stylistic changes,
starting with this:


- multiline if/for blocks need {}

- remove needless spaces between variable declaration + initialization.

- Arnaldo

OK, I'll fix it in next version.

Regards,
Jihong