summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorPeter Weinberger <pjw@google.com>2018-09-26 10:10:48 -0400
committerPeter Weinberger <pjw@google.com>2018-10-23 14:00:14 +0000
commitdaaf361f74c3665bcb364356c5a9dd9f536c78c3 (patch)
tree6649cb75a41a2a0b59c27134730ff6d55945675a /misc
parent5ddb20912043ff7ad722a27cc93a7e68d1c5ec78 (diff)
downloadgo-git-daaf361f74c3665bcb364356c5a9dd9f536c78c3.tar.gz
internal/traceparser: provide parser that uses less space and parses segments of runtime trace files
Traceparser generally takes 20-30% less space than internal/trace. The only user of these pakcages is cmd/trace, and the new package lets it handle some trace files that were too large. The new parser will also convert segments of the raw trace file (e.g. the last 10 seconds) to Events. Trace files from go 1.8 and before are not supported. Change-Id: If83fa183246db8f75182ccd3ba8df07673c0ebd0 Reviewed-on: https://go-review.googlesource.com/c/137635 Run-TryBot: Peter Weinberger <pjw@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Diffstat (limited to 'misc')
-rw-r--r--misc/nacl/README4
-rw-r--r--misc/nacl/testzip.proto3
2 files changed, 5 insertions, 2 deletions
diff --git a/misc/nacl/README b/misc/nacl/README
index 99b94dc90a..179e526d89 100644
--- a/misc/nacl/README
+++ b/misc/nacl/README
@@ -26,7 +26,7 @@ scheme.
# Download NaCl
Download nacl_sdk.zip file from
- https://developers.google.com/native-client/dev/sdk/download
+ https://developer.chrome.com/native-client/sdk/download
and unpack it. I chose /opt/nacl_sdk.
# Update
@@ -37,7 +37,7 @@ sdk. These are released every 6-8 weeks, in line with Chrome releases.
% cd /opt/nacl_sdk
% ./naclsdk update
-At this time pepper_40 is the stable version. The NaCl port needs at least pepper_39
+At this time pepper_49 is the stable version. The NaCl port needs at least pepper_39
to work. If naclsdk downloads a later version, please adjust accordingly.
The cmd/go helper scripts expect that the loaders sel_ldr_{x86_{32,64},arm} and
diff --git a/misc/nacl/testzip.proto b/misc/nacl/testzip.proto
index 5a6a5f43b2..7f524cac48 100644
--- a/misc/nacl/testzip.proto
+++ b/misc/nacl/testzip.proto
@@ -154,6 +154,9 @@ go src=..
trace
testdata
+
+ traceparser
+ testdata
+ +
io
+
mime