diff --git a/profiling/README.md b/profiling/README.md index 7c299ef..974d240 100644 --- a/profiling/README.md +++ b/profiling/README.md @@ -6,7 +6,7 @@ - Heap Profiling - V8 Heap Profiler: [v8/include/v8-profiler.h](https://github.com/v8/blob/master/include/v8-profiler.h) - - Also accessible through built-in 'v8' module. + - Heap memory usage stats are available through built-in 'v8' module. Name | Sponsor -----|-------- diff --git a/tracing/README.md b/tracing/README.md index 2d8ae54..8f8c31d 100644 --- a/tracing/README.md +++ b/tracing/README.md @@ -1,7 +1,7 @@ ## Tracing - [AsyncWrap](./AsyncWrap/README.md) - Most native objects are represented indirectly by the [AsyncWrap class](https://github.com/nodejs/node/blob/master/src/async-wrap.h), so hooks have been added to that class to trace lifecycle (init/destroy) and callback activity (pre/post) related to these objects. -- [OS Tracing](./os-tracing/README.md) - LTTng (Linux), DTrace (Linux, OSX), ETW (Windows) +- [OS Tracing](./os-tracing/README.md) - LTTng (Linux), SystemTap (Linux), DTrace (OSX), ETW (Windows) - [VM Tracing](./vm-tracing/README.md) - Tracing native to JS VMs, such as V8's TRACE_EVENT. diff --git a/tracing/os-tracing/README.md b/tracing/os-tracing/README.md index 45d4f44..8e6598b 100644 --- a/tracing/os-tracing/README.md +++ b/tracing/os-tracing/README.md @@ -2,22 +2,24 @@ * [DTrace](http://dtrace.org/) Available on IllumOS, Solaris, Mac - The [DTrace blog](http://dtrace.org/blogs/blog/category/node-js/) has some articles on using DTrace with Node.js + + - The [DTrace blog](http://dtrace.org/blogs/blog/category/node-js/) has some articles on using DTrace with Node.js * [LTTng](http://lttng.org/) Linux only. - Some info on using LTTng with Node.js are available in the presentations - [Tracing Node on Linux with LTTNG](http://nearform.github.io/tracing-node-lttng-nodejsdublin/) + + - [Tracing Node on Linux with LTTNG](http://nearform.github.io/tracing-node-lttng-nodejsdublin/) + - [thekemkid/magic-tracing](https://github.com/thekemkid/magic-tracing) is an example of a Node.js application which implements LTTng tracepoints. A demo is available [here](https://asciicinema.org/a/16785). * [ETW](https://msdn.microsoft.com/en-us/library/windows/desktop/aa363668.aspx) Windows only. - Some information was provided by Bill Ticehurst (@billti) in - [issue #10](https://github.com/nodejs/tracing-wg/issues/10#issuecomment-137145822) - about how he integrated ETW into Node.js for Windows + + - Some information was provided by Bill Ticehurst (@billti) in [issue #10](https://github.com/nodejs/tracing-wg/issues/10#issuecomment-137145822) about how he integrated ETW into Node.js for Windows * [Perf](https://perf.wiki.kernel.org/) Linux only. - Can be enabled with `--perf_basic_prof` v8 run-time flag. + + - Can be enabled with `--perf_basic_prof` v8 run-time flag. * [SystemTap](https://sourceware.org/systemtap/) Linux only. diff --git a/tracing/vm-tracing/v8-tracing.md b/tracing/vm-tracing/v8-tracing.md index 5fdcc25..9b9455e 100644 --- a/tracing/vm-tracing/v8-tracing.md +++ b/tracing/vm-tracing/v8-tracing.md @@ -9,7 +9,7 @@ V8: `trace_event.h` macros utilize `v8::Platform::AddTraceEvent` to write traces Node uses `DefaultPlatform` from `v8:src/libplatform/default-platform.h` which currently simply returns 0. A simplistic implementation which logs all trace events to stdout illustrates the basics: -```cpp +``` // from v8:src/libplatform/default-platform.cc // add `#include ` to includes