Skip to content
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.

Files

Latest commit

JordanCatapult LUCI CQ
Jordan
and
Catapult LUCI CQ
Jan 21, 2025
9325732 · Jan 21, 2025

History

History

tracing

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Feb 14, 2023
Jul 27, 2022
Nov 6, 2015
Jun 30, 2015
Aug 9, 2019
Jan 21, 2025
Dec 3, 2024
Sep 16, 2022
Oct 29, 2020
Jun 30, 2015
Jun 30, 2015
Jun 30, 2015
Mar 4, 2016
May 31, 2021
Nov 19, 2024
Jun 30, 2015
Dec 3, 2024
Jan 5, 2024
Sep 26, 2018
Oct 5, 2017
Jun 30, 2015
Mar 8, 2016
Jun 3, 2024
Aug 2, 2024

Trace Viewer Logo

Trace-Viewer is the javascript frontend for Chrome about:tracing and Android systrace.

It provides rich analysis and visualization capabilities for many types of trace files. Its particularly good at viewing linux kernel traces (aka ftrace) and Chrome's trace_event format. Trace viewer can be embedded as a component in your own code, or used from a plain checkout to turn trace files into standalone, emailable HTML files from the commandline:

$CATAPULT/tracing/bin/trace2html my_trace.json --output=my_trace.html && open my_trace.html

Its easy to extend trace viewer to support your favorite trace format, or add domain specific visualizations to the UI to simplify drilling down into complex data.

Contributing, quick version

We welcome contributions! To hack on this code.

There are two type of tests.

In the browser

Run http server $CATAPULT/bin/run_dev_server. In any browser, navigate to http://localhost:8003/

Unit tests Descripton
All tests http://localhost:8003/tests.html
All tests with short format http://localhost:8003/tracing/tests.html?shortFormat
An individual test suite(such as ui/foo_test.js) http://localhost:8003/tests.html?testSuiteName=ui.foo
Tests named foo http://localhost:8003/tests.html?testFilterString=foo

On command

Unit tests Description
All python tests $CATAPULT/tracing/bin/run_py_tests
All tracing tests in d8 environment $CATAPULT/tracing/bin/run_vinn_tests
All tracing tests in devserver environment $CATAPULT/tracing/bin/run_devserver_tests
All tests $CATAPULT/tracing/bin/run_tests

Make sure tests pass before sending us changelist. We use Gerrit for codereview. For more details, esp on Gerrit, read our contributing guide or check out the Getting Started guide.

Contact Us

Join our Google Group: