{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/9349","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/9349/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/9349/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/9349/events","html_url":"https://github.com/facebook/react-native/issues/9349","id":170634082,"number":9349,"title":"Systrace doesn't produce detailed JS Thread calls info","user":{"login":"tadas-subonis","id":247218,"avatar_url":"https://avatars.githubusercontent.com/u/247218?v=3","gravatar_id":"","url":"https://api.github.com/users/tadas-subonis","html_url":"https://github.com/tadas-subonis","followers_url":"https://api.github.com/users/tadas-subonis/followers","following_url":"https://api.github.com/users/tadas-subonis/following{/other_user}","gists_url":"https://api.github.com/users/tadas-subonis/gists{/gist_id}","starred_url":"https://api.github.com/users/tadas-subonis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tadas-subonis/subscriptions","organizations_url":"https://api.github.com/users/tadas-subonis/orgs","repos_url":"https://api.github.com/users/tadas-subonis/repos","events_url":"https://api.github.com/users/tadas-subonis/events{/privacy}","received_events_url":"https://api.github.com/users/tadas-subonis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-11T12:28:53Z","updated_at":"2016-11-14T02:29:21Z","closed_at":null,"body":"I've tried using systrace like this:\n\n```\nC:\\Python27\\python.exe systrace.py --time=15 -o D:\\tmp\\traces\\trace7.html sched gfx view -a com.insasd\n```\n\nbut it doesn't show anything for mqt_js thread, apart that it is busy. I wasn't able to see detailed JS calls as shown on the docs. Debug mode is enabled.\n\nAlso, I've tried adding\n\n```\nimport {View, StyleSheet, BackAndroid, StatusBar, ActivityIndicator, Systrace} from \"react-native\";\nSystrace.setEnabled(true);\n```\n\nbut it throws exception:\n\n```\nE/ReactNativeJS(30175): undefined is not a function (evaluating 'global.nativeTraceEndSection(TRACE_TAG_REACT_APPS)')\nI/ReactNativeJS(30175): 'Failed to print error: ', 'undefined is not a function (evaluating \\'global.nativeTraceBeginSection(TRACE_TAG_REACT_APPS,profileName,args)\\')'\nE/ReactNativeJNI(30175): Got JS Exception: TypeError: undefined is not a function (evaluating 'global.nativeTraceEndSection(TRACE_TAG_REACT_APPS)') (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:18511)\nE/ReactNativeJNI(30175): Got JS Stack: endEvent@http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:18511:29\nE/ReactNativeJNI(30175): loadModuleImplementation@http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:135:18\nE/ReactNativeJNI(30175): guardedLoadModule@http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:70:32\nE/ReactNativeJNI(30175): _require@http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:54:18\nE/ReactNativeJNI(30175): http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:1490:21\nE/ReactNativeJNI(30175): loadModuleImplementation@http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:127:8\nE/ReactNativeJNI(30175): guardedLoadModule@http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:63:37\nE/ReactNativeJNI(30175): _require@http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:54:18\nE/ReactNativeJNI(30175): global code@http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:12\nE/unknown:React(30175): Exception in native call from JS\nE/unknown:React(30175): com.facebook.react.devsupport.DebugServerException: TypeError: undefined is not a function (evaluating 'global.nativeTraceEndSection(TRACE_TAG_REACT_APPS)') (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:18511)\n```\n\nI am using WIndows 10 with Android\n"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/260234831","html_url":"https://github.com/facebook/react-native/issues/9349#issuecomment-260234831","issue_url":"https://api.github.com/repos/facebook/react-native/issues/9349","id":260234831,"user":{"login":"bunnyboy1","id":18484611,"avatar_url":"https://avatars.githubusercontent.com/u/18484611?v=3","gravatar_id":"","url":"https://api.github.com/users/bunnyboy1","html_url":"https://github.com/bunnyboy1","followers_url":"https://api.github.com/users/bunnyboy1/followers","following_url":"https://api.github.com/users/bunnyboy1/following{/other_user}","gists_url":"https://api.github.com/users/bunnyboy1/gists{/gist_id}","starred_url":"https://api.github.com/users/bunnyboy1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bunnyboy1/subscriptions","organizations_url":"https://api.github.com/users/bunnyboy1/orgs","repos_url":"https://api.github.com/users/bunnyboy1/repos","events_url":"https://api.github.com/users/bunnyboy1/events{/privacy}","received_events_url":"https://api.github.com/users/bunnyboy1/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T02:29:21Z","updated_at":"2016-11-14T02:29:21Z","body":"This message was created automatically by mail delivery software.\n\nA message that you sent could not be delivered to one or more of its\nrecipients. This is a temporary error. The following address(es) deferred:\n\n  tajindersingh.3012@gmail.com\n    Domain thumbmunkeys.com has exceeded the max emails per hour (70/60 (116%)) allowed.  Message will be reattempted later\n\n------- This is a copy of the message, including all the headers. ------\nReceived: from filter03.reliabledns.org ([69.175.33.179]:38548)\n\tby en02-ams.stablehost.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)\n\t(Exim 4.87)\n\t(envelope-from <noreply@github.com>)\n\tid 1c671F-000jTk-JW\n\tfor bunny@thumbmunkeys.com; Mon, 14 Nov 2016 02:29:15 +0000\nReceived: from github-smtp2-ext2.iad.github.net ([192.30.252.193] helo=github-smtp2b-ext-cp1-prd.iad.github.net)\n\tby filter03.reliabledns.org with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)\n\t(Exim 4.86)\n\t(envelope-from <noreply@github.com>)\n\tid 1c671F-00062I-3E\n\tfor bunny@thumbmunkeys.com; Sun, 13 Nov 2016 19:29:13 -0700\nDate: Sun, 13 Nov 2016 18:28:59 -0800\nDKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;\n\ts=pf2014; t=1479090552;\n\tbh=JKkLa46w45S5IMoRhMCwXjRbW72tdOFoijP2EbX42cQ=;\n\th=From:Reply-To:To:In-Reply-To:References:Subject:List-ID:\n\t List-Archive:List-Post:List-Unsubscribe:From;\n\tb=bz3vA/yrsXL1p2a5R4tdNXHuZf/JAMx+dZFJoNfLeN8bE/XsGlczEwwK3siuTLLqX\n\t UiEnL9uKeREpfShOVDlaS3qb/rVT9pbCOIinzTy6K0g4Jb1vy9Qvqk06iCVhu5AORc\n\t AlERZNoIezfD6UiWoTDnn+rwaxrcLazzEhTnZgqQ=\nFrom: Nicolas Charpentier <notifications@github.com>\nReply-To: facebook/react-native <reply@reply.github.com>\nTo: facebook/react-native <react-native@noreply.github.com>\nMessage-ID: <facebook/react-native/issues/9349/260234698@github.com>\nIn-Reply-To: <facebook/react-native/issues/9349@github.com>\nReferences: <facebook/react-native/issues/9349@github.com>\nSubject: Re: [facebook/react-native] Systrace doesn't produce detailed JS\n Thread calls info (#9349)\nMime-Version: 1.0\nContent-Type: multipart/alternative;\n boundary=\"--==_mimepart_5829216be5161_32da3fad0a03b14011493d0\";\n charset=UTF-8\nContent-Transfer-Encoding: 7bit\nPrecedence: list\nX-GitHub-Sender: charpeni\nX-GitHub-Recipient: bunnyboy1\nList-ID: facebook/react-native <react-native.facebook.github.com>\nList-Archive: https://github.com/facebook/react-native\nList-Post: <mailto:reply@reply.github.com>\nList-Unsubscribe: <mailto:unsub+011a0d8350ab2d5c611d98560a3ccc230ec6ee0caf4c55bf92cf000000011440e36b92a169ce0a2bab62@reply.github.com>,\n <https://github.com/notifications/unsubscribe/ARoNg70VRSxJbs-Ht241jlftz5oZu63Rks5q98drgaJpZM4JiEeI>\nX-Auto-Response-Suppress: All\nX-GitHub-Recipient-Address: bunny@thumbmunkeys.com\nReceived-SPF: pass (filter03.reliabledns.org: domain of github.com designates 192.30.252.193 as permitted sender) client-ip=192.30.252.193; envelope-from=noreply@github.com; helo=github-smtp2b-ext-cp1-prd.iad.github.net;\nX-SPF-Result: filter03.reliabledns.org: domain of github.com designates 192.30.252.193 as permitted sender\nAuthentication-Results: filter03.reliabledns.org; dmarc=pass header.from=github.com\nX-Filter-ID: s0sct1PQhAABKnZB5plbIamwIYzgudGL4tMY9zS3pea7KY6rzXjgC+rgKYUjsj8D0JuF70A4EJMc\n Wn6O/bsgoWSYW6KbZfj8apx6ohl75uX35Caz8bqM3i8tzwcg+lnkZzoX7PhhDs80mBQKIGWwu5YA\n cE2DHaAtdw1XHO0RULJwJVSL6KLw+g28lkb31HyS94pE1Cssu3RLQ0/o4r6NbA8zp1yYIFRkRN8y\n Bn+CxV3yatCWG986eWJyXuEZRS7zB0bH4boW7DmIq8TAT/xjyJz3A1ed2ITkOuMtrwds5D6QdT8q\n EsTOViQWgUysSA9kJq/4FZbX1lzD9O+fyiIjB8wTNR/tjjZvmBdM/4lPZO2sASVdHfbtk3LlI8pB\n wr4jGeKz8vlEl/GSEiCnxc6Ard0BaVp3jhK5GOBJIv+LCtDC+P7wO5Dn5esh4VR+ptzHN0JkcMmQ\n sV7j9toT40ga/GYzx2Zgyhf3OXiddZgacWc1/+H6OHgtV1bmxcq0CB3pmrFpDzdgJQc/rZDiOC7K\n RpZxGk3X7U/CrpemaTYEqjTUmURjlDc0k2fuHA8w+LTop7+eg7tptOUU98CNo4IBbK0jiD6XqsJZ\n tjQxlyCdsewOr32jdvPLa/TCfXr5TU2T209TOOJMB2SW4wvj3us5pA==\nX-Report-Abuse-To: spam@filter01.reliabledns.org\nAuthentication-Results: reliabledns.org; spf=pass smtp.mailfrom=noreply@github.com\nAuthentication-Results: reliabledns.org; dkim=pass header.i=github.com\nX-SpamExperts-Class: ham\nX-SpamExperts-Evidence: dnswl/se-reputation (trusted ham)\nX-Classification: not-spam/dnswl\nX-Recommended-Action: accept\nX-Spam-Status: No, score=1.0\nX-Spam-Score: 10\nX-Spam-Bar: +\nX-Ham-Report: Spam detection software, running on the system \"en02-ams.stablehost.com\",\n has NOT identified this incoming email as spam.  The original\n message has been attached to this so you can view it or label\n similar future email.  If you have any questions, see\n root\\@localhost for details.\n \n Content preview:  @facebook-github-bot label Icebox -- You are receiving this\n    because you are subscribed to this thread. Reply to this email directly or\n    view it on GitHub: https://github.com/facebook/react-native/issues/9349#issuecomment-260234698\n    [...] \n \n Content analysis details:   (1.0 points, 5.0 required)\n \n  pts rule name              description\n ---- ---------------------- --------------------------------------------------\n -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at http://www.dnswl.org/, no\n                             trust\n                             [69.175.33.179 listed in list.dnswl.org]\n  1.5 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)\n -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n                             [score: 0.0004]\n  1.5 HTML_IMAGE_ONLY_20     BODY: HTML: images with 1600-2000 bytes of words\n  0.0 HTML_MESSAGE           BODY: HTML included in message\n -0.1 DKIM_VALID             Message has at least one valid DKIM or DK signature\n  0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily valid\n -0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from author's\n                             domain\nX-Spam-Flag: NO\n\n\n----==_mimepart_5829216be5161_32da3fad0a03b14011493d0\nContent-Type: text/plain;\n charset=UTF-8\nContent-Transfer-Encoding: 7bit\n\n@facebook-github-bot label Icebox\n\n\n-- \nYou are receiving this because you are subscribed to this thread.\nReply to this email directly or view it on GitHub:\nhttps://github.com/facebook/react-native/issues/9349#issuecomment-260234698\n----==_mimepart_5829216be5161_32da3fad0a03b14011493d0\nContent-Type: text/html;\n charset=UTF-8\nContent-Transfer-Encoding: 7bit\n\n<p><a href=\"https://github.com/facebook-github-bot\" class=\"user-mention\">@facebook-github-bot</a> label Icebox</p>\n\n<p style=\"font-size:small;-webkit-text-size-adjust:none;color:#666;\">&mdash;<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href=\"https://github.com/facebook/react-native/issues/9349#issuecomment-260234698\">view it on GitHub</a>, or <a href=\"https://github.com/notifications/unsubscribe-auth/ARoNgzh7_XaVkfhFfXtcJyHHWiYu_RJjks5q98drgaJpZM4JiEeI\">mute the thread</a>.<img alt=\"\" height=\"1\" src=\"https://github.com/notifications/beacon/ARoNg6UMavVpB6iXIynw67FIMPOXdlE6ks5q98drgaJpZM4JiEeI.gif\" width=\"1\" /></p>\n<div itemscope itemtype=\"http://schema.org/EmailMessage\">\n<div itemprop=\"action\" itemscope itemtype=\"http://schema.org/ViewAction\">\n  <link itemprop=\"url\" href=\"https://github.com/facebook/react-native/issues/9349#issuecomment-260234698\"></link>\n  <meta itemprop=\"name\" content=\"View Issue\"></meta>\n</div>\n<meta itemprop=\"description\" content=\"View this Issue on GitHub\"></meta>\n</div>\n\n<script type=\"application/json\" data-scope=\"inboxmarkup\">{\"api_version\":\"1.0\",\"publisher\":{\"api_key\":\"05dde50f1d1a384dd78767c55493e4bb\",\"name\":\"GitHub\"},\"entity\":{\"external_key\":\"github/facebook/react-native\",\"title\":\"facebook/react-native\",\"subtitle\":\"GitHub repository\",\"main_image_url\":\"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png\",\"avatar_image_url\":\"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png\",\"action\":{\"name\":\"Open in GitHub\",\"url\":\"https://github.com/facebook/react-native\"}},\"updates\":{\"snippets\":[{\"icon\":\"PERSON\",\"message\":\"@charpeni in #9349: @facebook-github-bot label Icebox\\n\"}],\"action\":{\"name\":\"View Issue\",\"url\":\"https://github.com/facebook/react-native/issues/9349#issuecomment-260234698\"}}}</script>\n----==_mimepart_5829216be5161_32da3fad0a03b14011493d0--\n"}}
{"actor":{"display_login":"bunnyboy1"}}