39 lines
791 B
HTML
Executable File
39 lines
791 B
HTML
Executable File
<!DOCTYPE HTML>
|
|
<html>
|
|
<head i18n-values="dir:textdirection;">
|
|
<meta charset="utf-8"/>
|
|
<title>Android System Trace</title>
|
|
%s
|
|
%s
|
|
<script language="javascript">
|
|
document.addEventListener('DOMContentLoaded', function() {
|
|
if (!linuxPerfData)
|
|
return;
|
|
|
|
var m = new tracing.TraceModel(linuxPerfData);
|
|
var timelineViewEl = document.querySelector('.view');
|
|
ui.decorate(timelineViewEl, tracing.TimelineView);
|
|
timelineViewEl.model = m;
|
|
timelineViewEl.tabIndex = 1;
|
|
timelineViewEl.timeline.focusElement = timelineViewEl;
|
|
});
|
|
</script>
|
|
<style>
|
|
.view {
|
|
overflow: hidden;
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div>%s</div>
|
|
<div class="view">
|
|
</div>
|
|
<!-- BEGIN TRACE -->
|
|
<script>
|
|
var linuxPerfData = "\
|