[PATCH 0/5] perf kwork: A couple of fixes according to review comments

From: Yang Jihong
Date: Thu Jul 28 2022 - 08:01:52 EST


Some issues are fixed based on the comments of several reviewers:
1. Add '--synth task' option for record (note from Namhyung)
2. Replace hard-coded initialization of nr_tracepoints with ARRAY_SIZE macro (note from Namhyung)
3. Fix spelling mistake: "PRINT_TIME_UNIT_MESC_WIDTH" -> "PRINT_TIME_UNIT_MSEC_WIDTH" (note from Namhyung)
4. Fix spelling mistake: "Captuer" -> "Capture" (note from Colin)
5. Add some {} for multiline for/if blocks (note from Arnaldo)

Modifying based on the latest commit (a061a8ad3f90) at acme/perf/core:
git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git perf/core

Yang Jihong (5):
perf kwork: Add '--synth task' option for record
perf kwork: Replace hard-coded initialization of nr_tracepoints with
ARRAY_SIZE macro
perf kwork: Fix spelling mistake: "Captuer" -> "Capture"
perf kwork: Fix spelling mistake: "PRINT_TIME_UNIT_MESC_WIDTH" ->
"PRINT_TIME_UNIT_MSEC_WIDTH"
perf kwork: Add some {} for multiline for/if blocks

tools/perf/builtin-kwork.c | 65 ++++++++++++++++++++++----------------
1 file changed, 38 insertions(+), 27 deletions(-)

--
2.30.GIT