Skip to content

perf lock contention: Small random fixes

Namhyung Kim bpf linux-perf-users lkml 1 version Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4perf lock contention: Fix memory sanitizer issuetools/perf/util/bpf_lock_contention.c+1 -10 replies
2/4perf lock contention: Check --max-stack optiontools/perf/builtin-lock.c+27 -30 replies
3/4perf lock contention: Avoid variable length arraystools/perf/util/bpf_lock_contention.c+28 -130 replies
4/4perf lock contention: Increase default stack skip to 4tools/perf/util/lock-contention.h+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] perf lock contention: Small random fixes

Hello,

This is a small update for the perf lock contention command.

The first issue is from msan (memory sanitizer) related to uninitialized memory access and use of variable length array.

The other is to increase the default stack skip count to find appropriate callers in most cases.

You can get it from 'perf/lock-con-fix-v1' branch in

git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git

Thanks,
Namhyung

Namhyung Kim (4):
perf lock contention: Fix memory sanitizer issue perf lock contention: Check --max-stack option perf lock contention: Avoid variable length arrays perf lock contention: Increase default stack skip to 4

 tools/perf/builtin-lock.c             | 30 +++++++++++++++++--
 tools/perf/util/bpf_lock_contention.c | 43 ++++++++++++++++++---------
 tools/perf/util/lock-contention.h     |  2 +-
 3 files changed, 57 insertions(+), 18 deletions(-)

base-commit: a3a365655a28f12f07eddf4f3fd596987b175e1d

Signature · 1 line
2.38.1.273.g43a17bfeac-goog