{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/tracing-wg/issues/30","labels_url":"https://api.github.com/repos/nodejs/tracing-wg/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/tracing-wg/issues/30/comments","events_url":"https://api.github.com/repos/nodejs/tracing-wg/issues/30/events","html_url":"https://github.com/nodejs/tracing-wg/issues/30","id":110316243,"number":30,"title":"trace_event.h tracking issue","user":{"login":"Qard","id":205482,"avatar_url":"https://avatars.githubusercontent.com/u/205482?v=3","gravatar_id":"","url":"https://api.github.com/users/Qard","html_url":"https://github.com/Qard","followers_url":"https://api.github.com/users/Qard/followers","following_url":"https://api.github.com/users/Qard/following{/other_user}","gists_url":"https://api.github.com/users/Qard/gists{/gist_id}","starred_url":"https://api.github.com/users/Qard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Qard/subscriptions","organizations_url":"https://api.github.com/users/Qard/orgs","repos_url":"https://api.github.com/users/Qard/repos","events_url":"https://api.github.com/users/Qard/events{/privacy}","received_events_url":"https://api.github.com/users/Qard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-07T21:03:47Z","updated_at":"2015-10-09T08:37:00Z","closed_at":null,"body":"This is a tracking issue for trace_event.h integration. If I've missed anything, please add it.\r\n\r\n- Overview from @ofrobots: https://github.com/nodejs/tracing-wg/issues/21#issuecomment-143891637\r\n- In-depth design rationale from @natduca: https://github.com/nodejs/node/issues/671#issuecomment-73191538\r\n- V8 change list: https://codereview.chromium.org/988893003/\r\n- Chromium parts: [trace_log.h](https://code.google.com/p/chromium/codesearch#chromium/src/base/trace_event/trace_log.h&sq=package:chromium&type=cs), [trace_log.cc](https://code.google.com/p/chromium/codesearch#chromium/src/base/trace_event/trace_log.cc&sq=package:chromium&type=cs), [trace_buffer.h](https://code.google.com/p/chromium/codesearch#chromium/src/base/trace_event/trace_buffer.h&sq=package:chromium&type=cs), [trace_buffer.cc](https://code.google.com/p/chromium/codesearch#chromium/src/base/trace_event/trace_buffer.cc&sq=package:chromium&type=cs)\r\n\r\nTODO:\r\n- [ ] Add trace_event.h files to node, or wait for V8 release with it?\r\n- [ ] Create node equivalent to trace_log and trace_buffer in Chromium\r\n  - [ ] Need a thread to consume trace data\r\n  - [ ] Create JS interface to allow custom storage methods. (Use C++ Streams?)\r\n- [ ] Use `TRACE_EVENT_BEGIN0`, `TRACE_EVENT_END0`, `TRACE_EVENT_ASYNC_BEGIN0`, `TRACE_EVENT_ASYNC_END0` macros in node codebase (AsyncWrap might be a good place to start)"},"comment":{"url":"https://api.github.com/repos/nodejs/tracing-wg/issues/comments/146797411","html_url":"https://github.com/nodejs/tracing-wg/issues/30#issuecomment-146797411","issue_url":"https://api.github.com/repos/nodejs/tracing-wg/issues/30","id":146797411,"user":{"login":"lucamaraschi","id":332968,"avatar_url":"https://avatars.githubusercontent.com/u/332968?v=3","gravatar_id":"","url":"https://api.github.com/users/lucamaraschi","html_url":"https://github.com/lucamaraschi","followers_url":"https://api.github.com/users/lucamaraschi/followers","following_url":"https://api.github.com/users/lucamaraschi/following{/other_user}","gists_url":"https://api.github.com/users/lucamaraschi/gists{/gist_id}","starred_url":"https://api.github.com/users/lucamaraschi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucamaraschi/subscriptions","organizations_url":"https://api.github.com/users/lucamaraschi/orgs","repos_url":"https://api.github.com/users/lucamaraschi/repos","events_url":"https://api.github.com/users/lucamaraschi/events{/privacy}","received_events_url":"https://api.github.com/users/lucamaraschi/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T08:37:00Z","updated_at":"2015-10-09T08:37:00Z","body":"As discussed during the last WG (initiated by @yunong) we should start defining what the expected overall behaviour is by the \"consumers\" point of view (developer, ops, ...) and use it as the baseline for the implementation. I created a new issue #31 to initiate and track the discussion."}}