Skip to content

perf tools: Fix buildid processing

Adrian Hunter lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3perf tools: Avoid deadlock when map_groups are brokentools/perf/util/thread.c+6 -00 replies
2/3perf tools: Make fork event processing more resilienttools/perf/util/machine.c+18 -20 replies
3/3perf tools: Fix buildid processingtools/perf/builtin-record.c+11 -02 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/3] perf tools: Fix buildid processing

Hi

Here are 3 patches related to the "getting stuck at end" problem.

The first patch dodges the deadlock.

The second patch stops fork from messing up i.e.
prevents the deadlock condition from arising in
the first place.

The third patch processes the data in order i.e.
prevents fork from having to deal with weird data
anyway.

Adrian Hunter (3):
perf tools: Avoid deadlock when map_groups are broken perf tools: Make fork event processing more resilient perf tools: Fix buildid processing

 tools/perf/builtin-record.c | 11 +++++++++++
 tools/perf/util/machine.c   | 20 ++++++++++++++++++--
 tools/perf/util/thread.c    |  6 ++++++
 3 files changed, 35 insertions(+), 2 deletions(-)

Regards
Adrian