{"action":"created","issue":{"url":"https://api.github.com/repos/gperftools/gperftools/issues/1010","repository_url":"https://api.github.com/repos/gperftools/gperftools","labels_url":"https://api.github.com/repos/gperftools/gperftools/issues/1010/labels{/name}","comments_url":"https://api.github.com/repos/gperftools/gperftools/issues/1010/comments","events_url":"https://api.github.com/repos/gperftools/gperftools/issues/1010/events","html_url":"https://github.com/gperftools/gperftools/issues/1010","id":335249599,"node_id":"MDU6SXNzdWUzMzUyNDk1OTk=","number":1010,"title":"Heap Profiler can't profile pthread_create since glibc 2.26","user":{"login":"xiaoyur347","id":3282363,"node_id":"MDQ6VXNlcjMyODIzNjM=","avatar_url":"https://avatars2.githubusercontent.com/u/3282363?v=4","gravatar_id":"","url":"https://api.github.com/users/xiaoyur347","html_url":"https://github.com/xiaoyur347","followers_url":"https://api.github.com/users/xiaoyur347/followers","following_url":"https://api.github.com/users/xiaoyur347/following{/other_user}","gists_url":"https://api.github.com/users/xiaoyur347/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaoyur347/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaoyur347/subscriptions","organizations_url":"https://api.github.com/users/xiaoyur347/orgs","repos_url":"https://api.github.com/users/xiaoyur347/repos","events_url":"https://api.github.com/users/xiaoyur347/events{/privacy}","received_events_url":"https://api.github.com/users/xiaoyur347/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-25T03:42:16Z","updated_at":"2018-08-06T01:01:11Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"We use this environment to do heap profiler.\r\nexport HEAP_PROFILE_MMAP=true\r\nIt works for ubuntu 16.04 and pthread_create() call mmap() inner.\r\nBut in ubuntu 18.04, I find gperftools heap profiler no longer profile pthread_create().\r\nI investigate the problem and find https://github.com/bminor/glibc/commit/fa872e1b6210e81e60d6029429f0a083b8eab26e\r\nFrom glibc 2.26, pthread_create() call __mmap() for inner use.\r\n\r\nSo I suggest gperftools add __mmap() hook.\r\n"},"comment":{"url":"https://api.github.com/repos/gperftools/gperftools/issues/comments/410562252","html_url":"https://github.com/gperftools/gperftools/issues/1010#issuecomment-410562252","issue_url":"https://api.github.com/repos/gperftools/gperftools/issues/1010","id":410562252,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDU2MjI1Mg==","user":{"login":"alk","id":14850,"node_id":"MDQ6VXNlcjE0ODUw","avatar_url":"https://avatars3.githubusercontent.com/u/14850?v=4","gravatar_id":"","url":"https://api.github.com/users/alk","html_url":"https://github.com/alk","followers_url":"https://api.github.com/users/alk/followers","following_url":"https://api.github.com/users/alk/following{/other_user}","gists_url":"https://api.github.com/users/alk/gists{/gist_id}","starred_url":"https://api.github.com/users/alk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alk/subscriptions","organizations_url":"https://api.github.com/users/alk/orgs","repos_url":"https://api.github.com/users/alk/repos","events_url":"https://api.github.com/users/alk/events{/privacy}","received_events_url":"https://api.github.com/users/alk/received_events","type":"User","site_admin":false},"created_at":"2018-08-06T01:01:11Z","updated_at":"2018-08-06T01:01:11Z","author_association":"CONTRIBUTOR","body":"Ok then. Thanks. I'll gladly accept patch that intercepts __mmap (assuming it works)."}}
{"actor":{"display_login":"alk"}}