Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(576)

Issue 2134703002: [Interpreter] Support Linux perf >= 4.1 in linux_perf_report.py. (Closed)

Created:
4 years, 5 months ago by Stefano Sanfilippo
Modified:
4 years, 5 months ago
Reviewers:
rmcilroy
CC:
v8-reviews_googlegroups.com, Michael Achenbach
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Interpreter] Support Linux perf >= 4.1 in linux_perf_report.py. Since Linux 4.1, flag -f became -F, but the long option --flags stayed the same. Using --flags assures compatibility with new and old versions. Also, symbols appear to be reported as name+offset in newer versions even when not requested, so we trim the latter part if present. BUG=v8:4899 LOG=N Committed: https://crrev.com/c9fedd252c3853650e2dc0ca70d1502e93118ed8 Cr-Commit-Position: refs/heads/master@{#37614}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M tools/ignition/linux_perf_report.py View 1 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (15 generated)
Stefano Sanfilippo
PTAL.
4 years, 5 months ago (2016-07-08 14:10:16 UTC) #8
rmcilroy
LGTM, thanks. https://codereview.chromium.org/2134703002/diff/1/tools/ignition/linux_perf_report.py File tools/ignition/linux_perf_report.py (right): https://codereview.chromium.org/2134703002/diff/1/tools/ignition/linux_perf_report.py#newcode100 tools/ignition/linux_perf_report.py:100: symbol = line.split(" ", 1)[1].split("+", 1)[0] nit ...
4 years, 5 months ago (2016-07-08 15:17:57 UTC) #13
Stefano Sanfilippo
https://codereview.chromium.org/2134703002/diff/1/tools/ignition/linux_perf_report.py File tools/ignition/linux_perf_report.py (right): https://codereview.chromium.org/2134703002/diff/1/tools/ignition/linux_perf_report.py#newcode100 tools/ignition/linux_perf_report.py:100: symbol = line.split(" ", 1)[1].split("+", 1)[0] On 2016/07/08 15:17:57, ...
4 years, 5 months ago (2016-07-08 15:57:57 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2134703002/20001
4 years, 5 months ago (2016-07-08 15:58:16 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-08 16:24:11 UTC) #19
commit-bot: I haz the power
4 years, 5 months ago (2016-07-08 16:24:51 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c9fedd252c3853650e2dc0ca70d1502e93118ed8
Cr-Commit-Position: refs/heads/master@{#37614}

Powered by Google App Engine
This is Rietveld 408576698