v8/tools
Camillo Bruni 64aeabbc95 [tools][profile] Add support for maglev optimisation markers
Drive-by-fix:
- Rename baseline to sparkplug for consistency
- Add request timeouts for the local symbol server
- Add script to start a local symbol server
- Fix -h/--help support for linux-perf-chrome-renderer-cmd.sh

Change-Id: I4c2fc3595d672871f20fc5c4065ba45e801a1111
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3769699
Auto-Submit: Camillo Bruni <cbruni@chromium.org>
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Reviewed-by: Toon Verwaest <verwaest@chromium.org>
Cr-Commit-Position: refs/heads/main@{#81992}
2022-07-27 08:48:25 +00:00
..
bazel
builtins-pgo
cfi
clusterfuzz
cppgc
debug_helper
dev
gcmole
generate_shim_headers
heap-layout
heap-stats
js
jsfunfuzz
link_clicker.extension
mb
memory
msan
perf
profiling [tools][profile] Add support for maglev optimisation markers 2022-07-27 08:48:25 +00:00
profview
release
sanitizers
snapshot
system-analyzer [tools][profile] Add support for maglev optimisation markers 2022-07-27 08:48:25 +00:00
testrunner
toolchain
torque
tracing/proto-converter
turbolizer
ubsan
unittests
v8.xcodeproj
v8windbg
valgrind/asan
vim
visual_studio
wasm
wasm-compilation-hints
zone-stats
__init__.py
adb-d8.py
android-build.sh
android-run.py
android-sync.sh
arguments.mjs
avg.py
bash-completion.sh
bigint-tester.py
BUILD.gn
callstats_groups.py
callstats-from-telemetry.sh
callstats.html [tools][profile] Add support for maglev optimisation markers 2022-07-27 08:48:25 +00:00
callstats.py
callstats.py.vpython
check-inline-includes.sh
check-static-initializers.sh
check-unused-bailouts.sh
check-unused-symbols.sh
codemap.mjs
collect_deprecation_stats.sh
compare_torque_output.py
compare-table-gen.js
consarray.mjs
cpu.sh
cross_build_gcc.sh
csvparser.mjs
DEPS
detect-builtins.js
disasm.py
draw_instruction_graph.sh
dump-cpp.py
dumpcpp-driver.mjs
dumpcpp.mjs
eval_gc_nvp.py
eval_gc_time.sh
find_depot_tools.py
find-builtin
find-commit-for-patch.py
freebsd-tick-processor
fuzz-harness.sh
gc_nvp_common.py
gc-nvp-to-csv.py
gc-nvp-trace-processor.py
gdb-v8-support.py
gdbinit
gen-inlining-tests.py
gen-keywords-gen-h.py
gen-postmortem-metadata.py
gen-v8-gn.py
generate-builtins-tests.py
generate-header-include-checks.py
generate-runtime-call-stats.py
generate-ten-powers.scm
get_landmines.py
grokdump.py
ic-processor
ic-processor-driver.mjs
index.html
linux-tick-processor
lldb_commands.py
locs.py
logreader.mjs
mac-nm
mac-tick-processor
Makefile.tags
objdump-v8
OWNERS
package-lock.json
package.json
parse-processor
parse-processor-driver.mjs
parse-processor.html
parse-processor.mjs
perf-compare.py
predictable_wrapper.py
PRESUBMIT.py
process-wasm-compilation-times.py
profile_view.js
profile_view.mjs
profile.mjs [tools][profile] Add support for maglev optimisation markers 2022-07-27 08:48:25 +00:00
README.md
regexp-sequences.py
run_perf.py
run-clang-tidy.py
run-num-fuzzer.py
run-tests.py
run-wasm-api-tests.py
run.py
shell-utils.h
sourcemap.mjs
splaytree.mjs
stats-viewer.py
test262-results-parser.js
tickprocessor-driver.mjs
tickprocessor.mjs [tools][profile] Add support for maglev optimisation markers 2022-07-27 08:48:25 +00:00
try_perf.py
turbolizer-perf.py
update-object-macros-undef.py
v8_presubmit.py
v8heapconst.py
whitespace.txt
windbg.js
windows-tick-processor.bat
wpr.wprp

TOOLS

This directory contains debugging and investigation tools for V8.

The contents are regularly mirrored to http://v8.dev/tools.

Local Development

For local development you have to start a local webserver under http://localhost:8000:

  cd tools/;
  npm install;
  ws;

Local Symbol Server

The system-analyzer can symbolize profiles for local binaries by running a local symbol server

  cd tools/;
  ws --stack system-analyzer/lws-middleware.js lws-static cors;

Note that the local symbol server will run nm and objdump and has access to your files.