{"action":"created","issue":{"url":"https://api.github.com/repos/yqzhang/Neuron/issues/2","labels_url":"https://api.github.com/repos/yqzhang/Neuron/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/yqzhang/Neuron/issues/2/comments","events_url":"https://api.github.com/repos/yqzhang/Neuron/issues/2/events","html_url":"https://github.com/yqzhang/Neuron/issues/2","id":58864146,"number":2,"title":"Basic PMU profiling by PID","user":{"login":"yqzhang","id":2654106,"avatar_url":"https://avatars.githubusercontent.com/u/2654106?v=3","gravatar_id":"","url":"https://api.github.com/users/yqzhang","html_url":"https://github.com/yqzhang","followers_url":"https://api.github.com/users/yqzhang/followers","following_url":"https://api.github.com/users/yqzhang/following{/other_user}","gists_url":"https://api.github.com/users/yqzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/yqzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yqzhang/subscriptions","organizations_url":"https://api.github.com/users/yqzhang/orgs","repos_url":"https://api.github.com/users/yqzhang/repos","events_url":"https://api.github.com/users/yqzhang/events{/privacy}","received_events_url":"https://api.github.com/users/yqzhang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"xhpei","id":8674384,"avatar_url":"https://avatars.githubusercontent.com/u/8674384?v=3","gravatar_id":"","url":"https://api.github.com/users/xhpei","html_url":"https://github.com/xhpei","followers_url":"https://api.github.com/users/xhpei/followers","following_url":"https://api.github.com/users/xhpei/following{/other_user}","gists_url":"https://api.github.com/users/xhpei/gists{/gist_id}","starred_url":"https://api.github.com/users/xhpei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xhpei/subscriptions","organizations_url":"https://api.github.com/users/xhpei/orgs","repos_url":"https://api.github.com/users/xhpei/repos","events_url":"https://api.github.com/users/xhpei/events{/privacy}","received_events_url":"https://api.github.com/users/xhpei/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/yqzhang/Neuron/milestones/1","html_url":"https://github.com/yqzhang/Neuron/milestones/Implement%20the%20basic%20functionality","labels_url":"https://api.github.com/repos/yqzhang/Neuron/milestones/1/labels","id":994734,"number":1,"title":"Implement the basic functionality","description":"For pmu_sample.*, implement the functionality that profiles the PMUs given a list of PIDs and a list of events.\r\n\r\nFor proc_sample.*, implement the functionality that extracts the PIDs and related OS-level information of all the running processes.","creator":{"login":"yqzhang","id":2654106,"avatar_url":"https://avatars.githubusercontent.com/u/2654106?v=3","gravatar_id":"","url":"https://api.github.com/users/yqzhang","html_url":"https://github.com/yqzhang","followers_url":"https://api.github.com/users/yqzhang/followers","following_url":"https://api.github.com/users/yqzhang/following{/other_user}","gists_url":"https://api.github.com/users/yqzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/yqzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yqzhang/subscriptions","organizations_url":"https://api.github.com/users/yqzhang/orgs","repos_url":"https://api.github.com/users/yqzhang/repos","events_url":"https://api.github.com/users/yqzhang/events{/privacy}","received_events_url":"https://api.github.com/users/yqzhang/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2015-02-25T07:19:04Z","updated_at":"2015-02-25T07:59:03Z","due_on":"2015-03-08T05:00:00Z","closed_at":null},"comments":2,"created_at":"2015-02-25T07:59:03Z","updated_at":"2015-04-02T19:00:15Z","closed_at":null,"body":"Given a list of PIDs and a list of PMU events, profile their values in the past time interval."},"comment":{"url":"https://api.github.com/repos/yqzhang/Neuron/issues/comments/89010048","html_url":"https://github.com/yqzhang/Neuron/issues/2#issuecomment-89010048","issue_url":"https://api.github.com/repos/yqzhang/Neuron/issues/2","id":89010048,"user":{"login":"yqzhang","id":2654106,"avatar_url":"https://avatars.githubusercontent.com/u/2654106?v=3","gravatar_id":"","url":"https://api.github.com/users/yqzhang","html_url":"https://github.com/yqzhang","followers_url":"https://api.github.com/users/yqzhang/followers","following_url":"https://api.github.com/users/yqzhang/following{/other_user}","gists_url":"https://api.github.com/users/yqzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/yqzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yqzhang/subscriptions","organizations_url":"https://api.github.com/users/yqzhang/orgs","repos_url":"https://api.github.com/users/yqzhang/repos","events_url":"https://api.github.com/users/yqzhang/events{/privacy}","received_events_url":"https://api.github.com/users/yqzhang/received_events","type":"User","site_admin":false},"created_at":"2015-04-02T19:00:15Z","updated_at":"2015-04-02T19:00:15Z","body":"I tested the code on the server, and it seems the function always fails after 3 iterations. Here is the dump from gdb.\r\n\r\n```bash\r\nProgram received signal SIGSEGV, Segmentation fault.\r\n__GI___libc_free (mem=0x15) at malloc.c:2970\r\n2970    malloc.c: No such file or directory.\r\n(gdb) bt\r\n#0  __GI___libc_free (mem=0x15) at malloc.c:2970\r\n#1  0x00007ffff7ad88aa in pfm_perf_terminate (this=0x7ffff7dd07e0) at pfmlib_perf_event_pmu.c:793\r\n#2  0x00007ffff7ad46c6 in pfm_terminate () at pfmlib_common.c:795\r\n#3  0x00000000004037b8 in get_pmu_sample ()\r\n#4  0x0000000000401395 in main ()\r\n```"}}