WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
131132
[webkitpy] perf profiler does not understand --call-graph argument
https://bugs.webkit.org/show_bug.cgi?id=131132
Summary
[webkitpy] perf profiler does not understand --call-graph argument
Manuel Rego Casasnovas
Reported
2014-04-02 15:12:12 PDT
New version of perf profiler (3.13.6 in Debian testing) do not understand --call-graph argument. So when running perf-tests enabling the profiler you get the following error: callchain: Unknown --call-graph option value: --output usage: perf record [<options>] [<command>] or: perf record [<options>] -- <command> [<options>] --call-graph <mode[,dump_size]> setup and enables call-graph (stack chain/backtrace) recording: fp dwarf Using -g seems enough (from the manual): -g Enables call-graph (stack chain/backtrace) recording.
Attachments
Patch
(2.57 KB, patch)
2014-04-02 15:14 PDT
,
Manuel Rego Casasnovas
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Manuel Rego Casasnovas
Comment 1
2014-04-02 15:14:59 PDT
Created
attachment 228433
[details]
Patch
Zan Dobersek
Comment 2
2014-04-03 00:26:25 PDT
Looks OK. Ryosuke, can you please give this a look?
Ryosuke Niwa
Comment 3
2014-04-03 01:37:46 PDT
Comment on
attachment 228433
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=228433&action=review
> Tools/ChangeLog:8 > + New versions of perf profiler have changed the argument from --call-graph to -g.
Should we check the version? Or is -g backward compatible?
Manuel Rego Casasnovas
Comment 4
2014-04-03 02:25:10 PDT
(In reply to
comment #3
)
> (From update of
attachment 228433
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=228433&action=review
> > > Tools/ChangeLog:8 > > + New versions of perf profiler have changed the argument from --call-graph to -g. > > Should we check the version? Or is -g backward compatible?
-g has been there since a while ago, for example in previous versions you have: -g, --call-graph Do call-graph (stack chain/backtrace) recording. So I hope it doesn't cause any issue.
WebKit Commit Bot
Comment 5
2014-04-03 02:55:26 PDT
Comment on
attachment 228433
[details]
Patch Clearing flags on attachment: 228433 Committed
r166711
: <
http://trac.webkit.org/changeset/166711
>
WebKit Commit Bot
Comment 6
2014-04-03 02:55:29 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug