]> Git Repo - linux.git/commit
perf record: Add dummy event during system wide synthesis
authorIan Rogers <[email protected]>
Wed, 22 Apr 2020 17:36:15 +0000 (10:36 -0700)
committerArnaldo Carvalho de Melo <[email protected]>
Thu, 28 May 2020 13:03:25 +0000 (10:03 -0300)
commit0a892c1c947230f9373c9a3c94df1babe989861f
treee93279e7281a54884441e9873edded76a01f05e9
parent5885a202d04482427bc4079981680b30e3e5bbab
perf record: Add dummy event during system wide synthesis

During the processing of /proc during event synthesis new processes may
start. Add a dummy event if /proc is to be processed, to capture mmaps
for starting processes. This reuses the existing logic for
initial-delay.

v3 fixes the attr test of test-record-C0
v2 fixes the dummy event configuration and a branch stack issue.

Suggested-by: Stephane Eranian <[email protected]>
Signed-off-by: Ian Rogers <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
[ split from a larger patch ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/builtin-record.c
tools/perf/tests/attr/system-wide-dummy [new file with mode: 0644]
tools/perf/tests/attr/test-record-C0
This page took 0.057936 seconds and 4 git commands to generate.