[webkitpy] perf profiler does not understand --call-graph argument
authorrego@igalia.com <rego@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 3 Apr 2014 09:55:00 +0000 (09:55 +0000)
committerrego@igalia.com <rego@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 3 Apr 2014 09:55:00 +0000 (09:55 +0000)
commitc7d38ba94764275fdf953d2a670f4a883fb8c5ca
treece619894beb5f69889c066af827ed6b75a2d1327
parent9a66bab4c86cfe86aea43a7d385450effb1479fb
[webkitpy] perf profiler does not understand --call-graph argument
https://bugs.webkit.org/show_bug.cgi?id=131132

Reviewed by Ryosuke Niwa.

New versions of perf profiler have changed the argument from --call-graph to -g.

* Scripts/webkitpy/common/system/profiler.py:
(Perf.wrapper_arguments): Use -g instead of --call-graph.
* Scripts/webkitpy/port/driver_unittest.py:
(DriverTest.test_profiler_as_wrapper): Update test accordingly.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@166711 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/Scripts/webkitpy/common/system/profiler.py
Tools/Scripts/webkitpy/port/driver_unittest.py