• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1function onLoad() {
2  reload();
3}
4
5function reload() {
6  if (!linuxPerfData)
7    return;
8
9  var m = new tracing.Model();
10  m.importEvents("[]", true, [linuxPerfData]);
11
12  var timelineViewEl = document.querySelector('.view');
13  tracing.ui.decorate(timelineViewEl, tracing.TimelineView);
14  timelineViewEl.model = m;
15  timelineViewEl.tabIndex = 1;
16  timelineViewEl.timeline.focusElement = timelineViewEl;
17}
18
19document.addEventListener('DOMContentLoaded', onLoad);
20