Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(713)

Unified Diff: tools/traceline/traceline/README

Issue 20494: Import Traceline, a Windows performance trace event logger. (Closed)
Patch Set: Feedback. Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/traceline/traceline/Makefile ('k') | tools/traceline/traceline/assembler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/traceline/traceline/README
diff --git a/tools/traceline/traceline/README b/tools/traceline/traceline/README
new file mode 100644
index 0000000000000000000000000000000000000000..97ceec8b664f4590749f5adf279be29d739cf694
--- /dev/null
+++ b/tools/traceline/traceline/README
@@ -0,0 +1,21 @@
+Traceline is a Windows utility to intercept, time, and log system calls. This
+is achieved by injecting code into a target process, along with dynamically
+generated assembly hook stubs. One of the major goals was to skew performance
+timings as little as possible. This lead to a design in which the log buffer
+(which is called the playground) is kept within the process, and the logger
+routines use atomic instructions to log their events to this buffer. At the
+end of the processes lifetime, this buffer is pulled out of the process and
+used to generated JSON output. In addition to hooking system call activity,
+other hooks of interest have been written, including heap allocation functions.
+Symbols are supported with a command line flag. This works by capturing the
+process shutdown, and doing an intrusive symbol attach with dbghelp.dll
+
+NOTES:
+ - You should copy dbghelp.dll from a windbg installation into this directory.
+ The version shipped with Windows is old, and symbol support won't work.
+ - You will need a bit of cygwin if you want to use the Makefile. Otherwise
+ it is pretty clear how to build the files manually.
+ - The output JSON data will be printed out stdout. It is likely that you
+ will want to pipe the output of this program into a file.
+
+Dean McNamee <deanm@chromium.org>
« no previous file with comments | « tools/traceline/traceline/Makefile ('k') | tools/traceline/traceline/assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698