Skip to content

Commit 2762c48

Browse files
namhyungacmel
authored andcommitted
perf lock: Change to synthesize task events
With -t/--threads option, it needs to display task names so synthesize task related events at the beginning. Signed-off-by: Namhyung Kim <[email protected]> Acked-by: Ian Rogers <[email protected]> Cc: Boqun Feng <[email protected]> Cc: Davidlohr Bueso <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Waiman Long <[email protected]> Cc: Will Deacon <[email protected]> Fixes: 7c3bcbd ("perf lock: Add -t/--thread option for report") Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent dc2cf4c commit 2762c48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/perf/builtin-lock.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,7 @@ static int __cmd_report(bool display_info)
10831083
static int __cmd_record(int argc, const char **argv)
10841084
{
10851085
const char *record_args[] = {
1086-
"record", "-R", "-m", "1024", "-c", "1", "--synth", "no",
1086+
"record", "-R", "-m", "1024", "-c", "1", "--synth", "task",
10871087
};
10881088
unsigned int rec_argc, i, j, ret;
10891089
const char **rec_argv;

0 commit comments

Comments
 (0)