Changeset 166711 in webkit
- Timestamp:
- Apr 3, 2014 2:55:00 AM (10 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r166710 r166711 1 2014-04-03 Manuel Rego Casasnovas <rego@igalia.com> 2 3 [webkitpy] perf profiler does not understand --call-graph argument 4 https://bugs.webkit.org/show_bug.cgi?id=131132 5 6 Reviewed by Ryosuke Niwa. 7 8 New versions of perf profiler have changed the argument from --call-graph to -g. 9 10 * Scripts/webkitpy/common/system/profiler.py: 11 (Perf.wrapper_arguments): Use -g instead of --call-graph. 12 * Scripts/webkitpy/port/driver_unittest.py: 13 (DriverTest.test_profiler_as_wrapper): Update test accordingly. 14 1 15 2014-04-03 Zsolt Borbely <zsborbely.u-szeged@partner.samsung.com> 2 16 -
trunk/Tools/Scripts/webkitpy/common/system/profiler.py
r163743 r166711 149 149 150 150 def wrapper_arguments(self): 151 return [self._perf_path(), "record", "- -call-graph", "--output", self._output_path]151 return [self._perf_path(), "record", "-g", "--output", self._output_path] 152 152 153 153 def _first_ten_lines_of_profile(self, perf_output): -
trunk/Tools/Scripts/webkitpy/port/driver_unittest.py
r155803 r166711 102 102 def test_profiler_as_wrapper(self): 103 103 driver = Driver(self.make_port(MockSystemHost(os_name='linux'), MockOptions(profile=True, profiler='perf')), None, False) 104 self.assertEqual(driver._command_wrapper(), ['perf', 'record', '- -call-graph', '--output', '/mock-build/layout-test-results/test.data'])104 self.assertEqual(driver._command_wrapper(), ['perf', 'record', '-g', '--output', '/mock-build/layout-test-results/test.data']) 105 105 106 106 def test_test_to_uri(self):
Note: See TracChangeset
for help on using the changeset viewer.