{"action":"created","issue":{"url":"https://api.github.com/repos/softdevteam/hwtracer/issues/44","repository_url":"https://api.github.com/repos/softdevteam/hwtracer","labels_url":"https://api.github.com/repos/softdevteam/hwtracer/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/softdevteam/hwtracer/issues/44/comments","events_url":"https://api.github.com/repos/softdevteam/hwtracer/issues/44/events","html_url":"https://github.com/softdevteam/hwtracer/pull/44","id":305663222,"number":44,"title":"Bits and pieces","user":{"login":"vext01","id":604955,"avatar_url":"https://avatars2.githubusercontent.com/u/604955?v=4","gravatar_id":"","url":"https://api.github.com/users/vext01","html_url":"https://github.com/vext01","followers_url":"https://api.github.com/users/vext01/followers","following_url":"https://api.github.com/users/vext01/following{/other_user}","gists_url":"https://api.github.com/users/vext01/gists{/gist_id}","starred_url":"https://api.github.com/users/vext01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vext01/subscriptions","organizations_url":"https://api.github.com/users/vext01/orgs","repos_url":"https://api.github.com/users/vext01/repos","events_url":"https://api.github.com/users/vext01/events{/privacy}","received_events_url":"https://api.github.com/users/vext01/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ltratt","id":20318,"avatar_url":"https://avatars1.githubusercontent.com/u/20318?v=4","gravatar_id":"","url":"https://api.github.com/users/ltratt","html_url":"https://github.com/ltratt","followers_url":"https://api.github.com/users/ltratt/followers","following_url":"https://api.github.com/users/ltratt/following{/other_user}","gists_url":"https://api.github.com/users/ltratt/gists{/gist_id}","starred_url":"https://api.github.com/users/ltratt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ltratt/subscriptions","organizations_url":"https://api.github.com/users/ltratt/orgs","repos_url":"https://api.github.com/users/ltratt/repos","events_url":"https://api.github.com/users/ltratt/events{/privacy}","received_events_url":"https://api.github.com/users/ltratt/received_events","type":"User","site_admin":false},"assignees":[{"login":"ltratt","id":20318,"avatar_url":"https://avatars1.githubusercontent.com/u/20318?v=4","gravatar_id":"","url":"https://api.github.com/users/ltratt","html_url":"https://github.com/ltratt","followers_url":"https://api.github.com/users/ltratt/followers","following_url":"https://api.github.com/users/ltratt/following{/other_user}","gists_url":"https://api.github.com/users/ltratt/gists{/gist_id}","starred_url":"https://api.github.com/users/ltratt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ltratt/subscriptions","organizations_url":"https://api.github.com/users/ltratt/orgs","repos_url":"https://api.github.com/users/ltratt/repos","events_url":"https://api.github.com/users/ltratt/events{/privacy}","received_events_url":"https://api.github.com/users/ltratt/received_events","type":"User","site_admin":false}],"milestone":null,"comments":13,"created_at":"2018-03-15T18:08:33Z","updated_at":"2018-03-16T11:50:07Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/softdevteam/hwtracer/pulls/44","html_url":"https://github.com/softdevteam/hwtracer/pull/44","diff_url":"https://github.com/softdevteam/hwtracer/pull/44.diff","patch_url":"https://github.com/softdevteam/hwtracer/pull/44.patch"},"body":"These are some bits that I've extracted from the decode branch as they are unrelated. If we do them as a separate PR I hope the decoder branch will be easier to review.\r\n\r\nLooks OK?"},"comment":{"url":"https://api.github.com/repos/softdevteam/hwtracer/issues/comments/373690647","html_url":"https://github.com/softdevteam/hwtracer/pull/44#issuecomment-373690647","issue_url":"https://api.github.com/repos/softdevteam/hwtracer/issues/44","id":373690647,"user":{"login":"davmac314","id":8269006,"avatar_url":"https://avatars2.githubusercontent.com/u/8269006?v=4","gravatar_id":"","url":"https://api.github.com/users/davmac314","html_url":"https://github.com/davmac314","followers_url":"https://api.github.com/users/davmac314/followers","following_url":"https://api.github.com/users/davmac314/following{/other_user}","gists_url":"https://api.github.com/users/davmac314/gists{/gist_id}","starred_url":"https://api.github.com/users/davmac314/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davmac314/subscriptions","organizations_url":"https://api.github.com/users/davmac314/orgs","repos_url":"https://api.github.com/users/davmac314/repos","events_url":"https://api.github.com/users/davmac314/events{/privacy}","received_events_url":"https://api.github.com/users/davmac314/received_events","type":"User","site_admin":false},"created_at":"2018-03-16T11:50:07Z","updated_at":"2018-03-16T11:50:07Z","author_association":"NONE","body":"> Since processor trace is pretty new, I think we can assume a modern Intel chip with all of the atomic ops.\r\n\r\nThen I would personally use C11 and be done with it. Your \"read_head\" operation then goes from several lines of code, some of which look dubious anyway, to a single line which is guaranteed (bar compiler / processor bugs) to do the right thing. Similarly for \"write_tail\".\r\n"}}
{"actor":{"display_login":"davmac314"}}