linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* perf tools: remove option --tail-synthesize ?
@ 2018-11-21  7:45 Song Liu
  2018-11-21 10:47 ` Jiri Olsa
  2018-11-21 13:11 ` Arnaldo Carvalho de Melo
  0 siblings, 2 replies; 7+ messages in thread
From: Song Liu @ 2018-11-21  7:45 UTC (permalink / raw)
  To: lkml; +Cc: acme, Jiri Olsa, Peter Zijlstra, wangnan0, Kernel Team

Hi,

I found perf-record --tail-synthesize without --overwrite breaks symbols
for perf-script, perf-report, etc. For example:

[root@]# ~/perf record -ag --tail-synthesize -- sleep 1
[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 1.129 MB perf.data (3531 samples) ]
[root@]# ~/perf script | head
swapper     0 [000] 1250675.051971:          1 cycles:ppp:
        ffffffff81009e15 [unknown] ([unknown])
        ffffffff81196b19 [unknown] ([unknown])
        ffffffff81196579 [unknown] ([unknown])
        ffffffff81110ca7 [unknown] ([unknown])
        ffffffff81a01f4a [unknown] ([unknown])
        ffffffff81a017bf [unknown] ([unknown])
        ffffffff8180e17a [unknown] ([unknown])

perf-record with --overwrite does NOT have this issue.

After digging into this, I found this issue is introduced by commit
a73e24d240bc136619d382b1268f34d75c9d25ce.

Reverting this commit does fix this issue. However, on a second thought,
I feel it is probably better just drop --tail-synthesize, as it doesn't
make much sense without --overwrite. All we need is to do tail_synthesize
when --overwrite is set.

Thoughts?

Thanks,
Song

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-11-22 18:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-21  7:45 perf tools: remove option --tail-synthesize ? Song Liu
2018-11-21 10:47 ` Jiri Olsa
2018-11-21 17:56   ` Song Liu
2018-11-21 13:11 ` Arnaldo Carvalho de Melo
2018-11-22  1:50   ` Wangnan (F)
2018-11-22  9:03     ` Jiri Olsa
2018-11-22 18:18     ` Song Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).