Initial directory structure.

git-svn-id: http://trace-viewer.googlecode.com/svn/trunk@1 0e6d7f2b-9903-5b78-7403-59d27f066143
Initial license and codereview commit.

git-svn-id: http://trace-viewer.googlecode.com/svn/trunk@2 0e6d7f2b-9903-5b78-7403-59d27f066143
Add chrome-style AUTHORS file

git-svn-id: http://trace-viewer.googlecode.com/svn/trunk@3 0e6d7f2b-9903-5b78-7403-59d27f066143
Import README from chrome:chrome/browser/resources/tracing/README@140581

git-svn-id: http://trace-viewer.googlecode.com/svn/trunk@4 0e6d7f2b-9903-5b78-7403-59d27f066143
Import core tracing UI from chrome:chrome/browser/resources/tracing/@140581

git-svn-id: http://trace-viewer.googlecode.com/svn/trunk@5 0e6d7f2b-9903-5b78-7403-59d27f066143
Temporary note on tracing.js explaining its non-normative use of <include> tags

git-svn-id: http://trace-viewer.googlecode.com/svn/trunk@6 0e6d7f2b-9903-5b78-7403-59d27f066143
Import cr.js, ui.js, event_target.js from chrome:chrome/browser/resources/shared/@140581 for subsequent simplfiication.

The Tracing UI has historically depended on Chrome's cr.js framework.

This commit brings them into this repo so that I can reduce the dependency down
to a minimum.

git-svn-id: http://trace-viewer.googlecode.com/svn/trunk@7 0e6d7f2b-9903-5b78-7403-59d27f066143
Adjust old cr.js dependencies to use local copies of cr.js and friends.

git-svn-id: http://trace-viewer.googlecode.com/svn/trunk@8 0e6d7f2b-9903-5b78-7403-59d27f066143
Import test traces from chrome:chrome/browser/resources/tracing/test_data@140581

git-svn-id: http://trace-viewer.googlecode.com/svn/trunk@9 0e6d7f2b-9903-5b78-7403-59d27f066143
Import focus_outline_manager.js from chrome@140581

git-svn-id: http://trace-viewer.googlecode.com/svn/trunk@10 0e6d7f2b-9903-5b78-7403-59d27f066143
Move focus_outline_manager to use base namespace.

git-svn-id: http://trace-viewer.googlecode.com/svn/trunk@11 0e6d7f2b-9903-5b78-7403-59d27f066143
Make tracing files work with chrome.

git-svn-id: http://trace-viewer.googlecode.com/svn/trunk@12 0e6d7f2b-9903-5b78-7403-59d27f066143
Moved grid drawing to TimelineView

git-svn-id: http://trace-viewer.googlecode.com/svn/trunk@13 0e6d7f2b-9903-5b78-7403-59d27f066143
Add Min/Max/Avg to analysis

BUG=91415

Review URL: https://codereview.appspot.com/6301064

git-svn-id: http://trace-viewer.googlecode.com/svn/trunk@21 0e6d7f2b-9903-5b78-7403-59d27f066143
Replace closure unit tests with a standalone test harness.

Review URL: https://codereview.appspot.com/6308063

git-svn-id: http://trace-viewer.googlecode.com/svn/trunk@22 0e6d7f2b-9903-5b78-7403-59d27f066143
Add support for Linux 3.4 and later trace format.

Starting with Linux 3.4 the default format for trace event data includes
additional information about irqt and scheduler state.  Auto-detect whether
data is from a 3.4 (or later) kernel or a 3.3 (or earlier) kernel.

BUG=trace-viewer:37
TEST=new unit tests; import data from cros running a 3.4 kernel

Change-Id: I1be4eea581ca00c06daac1bf6e70ad2a1f62ef17

Review URL: https://codereview.appspot.com/6307090

git-svn-id: http://trace-viewer.googlecode.com/svn/trunk@26 0e6d7f2b-9903-5b78-7403-59d27f066143
Cull non-visible slices in chrome://tracing view

Makes scrolling much smoother when many events are displayed, especially
when sufficiently zoomed in that small slices are expanded into
individual rects.

Also, minor fix for timeline-counter-track redraw, and some minor
spelling typo corrections.

BUG=none
TEST=local build, run on x86 and ARM

Change-Id: Ibfc92f127059f58a7b23401925314245f2e7e4c5

Review URL: https://codereview.appspot.com/6302077

git-svn-id: http://trace-viewer.googlecode.com/svn/trunk@27 0e6d7f2b-9903-5b78-7403-59d27f066143
Refactor timeline_analysis to make it more testable

This moves the append functions that are used to build the analysis element
into the AnalysisResults class. Functions that were previously global and
specific to HTML output become private on that class, e.g. tsRound and raw
element creation. The remaining public methods are easily mockable.

BUG=38

TEST=

Review URL: https://codereview.appspot.com/6298080

git-svn-id: http://trace-viewer.googlecode.com/svn/trunk@28 0e6d7f2b-9903-5b78-7403-59d27f066143
Adds dvorak functionality, updates help menu

BUG=6308069

Review URL: https://codereview.appspot.com/6308069

git-svn-id: http://trace-viewer.googlecode.com/svn/trunk@29 0e6d7f2b-9903-5b78-7403-59d27f066143
Adds padding to help menu

BUG=6300094

Review URL: https://codereview.appspot.com/6300094

git-svn-id: http://trace-viewer.googlecode.com/svn/trunk@30 0e6d7f2b-9903-5b78-7403-59d27f066143