Em Sat, Jul 09, 2022 at 09:50:17AM +0800, Yang Jihong escreveu:OK, I'll fix it in next version.
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