1. 30 Mar, 2016 1 commit
  2. 29 Mar, 2016 1 commit
    • jarin's avatar
      Linux perf integration with the new support for JIT. · 82e95f59
      jarin authored
      Difference from --perf-basic-prof:
      - correctly attributes samples when code space gets reused (when unused code object dies and a new code objects is allocated at the same place).
      - outputs compiled machine code for instruction-level profile.
      
      Just like --perf-basic-prof, the file writer is not synchronized (even worse, there is a per-isolate file handle), so we will run into trouble with multiple isolates. However, this patch is still an improvement on --perf-basic-prof, and it should be fine to replace ll-prof.
      
      The patch also introduces experimental support for debug info, but it does not seem to be picked by the perf tool.
      
      Usage:
      
      You need the perf tool from Linux kernel >4.5. Then run:
      
      $ perf record -k mono d8 --perf-prof <your JS file>
      $ perf inject -j -i perf.data -o perf.data.jitted
      $ perf report -i perf.data.jitted
      
      Some explanations:
      The "-k mono" switch from "perf record" tells the perf tool to use the monotonic clock for perf sample timestamping. The "perf inject -j" command injects the collected code events into the perf data file, writing the output into perf.data.jitted. The perf report command then creates the report.
      
      Review URL: https://codereview.chromium.org/1809203007
      
      Cr-Commit-Position: refs/heads/master@{#35091}
      82e95f59
  3. 29 May, 2015 1 commit
  4. 31 Mar, 2015 1 commit
    • rmcilroy's avatar
      Fix libdl dependency on Android and remove librt hack. · 11c4e2f2
      rmcilroy authored
      The libdl library is already included on target builds of Android and needs
      to be added to the build command line with a particular order to avoid
      undefined references in other libraries. Fix this by only explicitly including
      it in host builds and relying on the implicit inclusion on target builds.
      
      Also remove the librt hack which is not longer necessary due to the AOSP build
      bot having been removed.
      
      BUG=chromium:469973
      LOG=Y
      
      Review URL: https://codereview.chromium.org/1036133005
      
      Cr-Commit-Position: refs/heads/master@{#27535}
      11c4e2f2
  5. 03 Jul, 2014 1 commit
  6. 02 Jul, 2014 2 commits
  7. 01 Jul, 2014 2 commits
  8. 30 Jun, 2014 2 commits