{"action":"created","comment":{"url":"https://api.github.com/repos/collectd/collectd/pulls/comments/212557125","pull_request_review_id":149216712,"id":212557125,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjU1NzEyNQ==","diff_hunk":"@@ -25,8 +25,71 @@\n #include \"common.h\"\n #include \"plugin.h\"\n \n+#define MAX_AVAIL_FREQS 20","path":"src/cpufreq.c","position":4,"original_position":4,"commit_id":"82ec1536b7ca3d18b97ad00df7738973fce737cf","original_commit_id":"82ec1536b7ca3d18b97ad00df7738973fce737cf","user":{"login":"rorysexton","id":39832583,"node_id":"MDQ6VXNlcjM5ODMyNTgz","avatar_url":"https://avatars3.githubusercontent.com/u/39832583?v=4","gravatar_id":"","url":"https://api.github.com/users/rorysexton","html_url":"https://github.com/rorysexton","followers_url":"https://api.github.com/users/rorysexton/followers","following_url":"https://api.github.com/users/rorysexton/following{/other_user}","gists_url":"https://api.github.com/users/rorysexton/gists{/gist_id}","starred_url":"https://api.github.com/users/rorysexton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rorysexton/subscriptions","organizations_url":"https://api.github.com/users/rorysexton/orgs","repos_url":"https://api.github.com/users/rorysexton/repos","events_url":"https://api.github.com/users/rorysexton/events{/privacy}","received_events_url":"https://api.github.com/users/rorysexton/received_events","type":"User","site_admin":false},"body":"its used to create an array of frequencies that core can spend time in. Must be fixed size as its an element of another array allocated using calloc.","created_at":"2018-08-24T08:30:31Z","updated_at":"2018-08-24T08:30:31Z","html_url":"https://github.com/collectd/collectd/pull/2803#discussion_r212557125","pull_request_url":"https://api.github.com/repos/collectd/collectd/pulls/2803","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/collectd/collectd/pulls/comments/212557125"},"html":{"href":"https://github.com/collectd/collectd/pull/2803#discussion_r212557125"},"pull_request":{"href":"https://api.github.com/repos/collectd/collectd/pulls/2803"}},"in_reply_to_id":200282535},"pull_request":{"url":"https://api.github.com/repos/collectd/collectd/pulls/2803","id":192057328,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyMDU3MzI4","html_url":"https://github.com/collectd/collectd/pull/2803","diff_url":"https://github.com/collectd/collectd/pull/2803.diff","patch_url":"https://github.com/collectd/collectd/pull/2803.patch","issue_url":"https://api.github.com/repos/collectd/collectd/issues/2803","number":2803,"state":"open","locked":false,"title":"Extending cpufreq plugin to read the following additional metrics:","user":{"login":"rorysexton","id":39832583,"node_id":"MDQ6VXNlcjM5ODMyNTgz","avatar_url":"https://avatars3.githubusercontent.com/u/39832583?v=4","gravatar_id":"","url":"https://api.github.com/users/rorysexton","html_url":"https://github.com/rorysexton","followers_url":"https://api.github.com/users/rorysexton/followers","following_url":"https://api.github.com/users/rorysexton/following{/other_user}","gists_url":"https://api.github.com/users/rorysexton/gists{/gist_id}","starred_url":"https://api.github.com/users/rorysexton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rorysexton/subscriptions","organizations_url":"https://api.github.com/users/rorysexton/orgs","repos_url":"https://api.github.com/users/rorysexton/repos","events_url":"https://api.github.com/users/rorysexton/events{/privacy}","received_events_url":"https://api.github.com/users/rorysexton/received_events","type":"User","site_admin":false},"body":"  - number of p-state(cpu frequency) transitions\r\n  - time spent in each p-state\r\n\r\nBoth metrics are reported by the Linux cpufreq-stats driver:\r\nhttps://www.kernel.org/doc/Documentation/cpu-freq/cpufreq-stats.txt","created_at":"2018-06-01T14:50:06Z","updated_at":"2018-08-24T08:30:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c76083fa7a7a1828f24149381481568f39316f3e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/collectd/collectd/pulls/2803/commits","review_comments_url":"https://api.github.com/repos/collectd/collectd/pulls/2803/comments","review_comment_url":"https://api.github.com/repos/collectd/collectd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/collectd/collectd/issues/2803/comments","statuses_url":"https://api.github.com/repos/collectd/collectd/statuses/82ec1536b7ca3d18b97ad00df7738973fce737cf","head":{"label":"rorysexton:dev_branch","ref":"dev_branch","sha":"82ec1536b7ca3d18b97ad00df7738973fce737cf","user":{"login":"rorysexton","id":39832583,"node_id":"MDQ6VXNlcjM5ODMyNTgz","avatar_url":"https://avatars3.githubusercontent.com/u/39832583?v=4","gravatar_id":"","url":"https://api.github.com/users/rorysexton","html_url":"https://github.com/rorysexton","followers_url":"https://api.github.com/users/rorysexton/followers","following_url":"https://api.github.com/users/rorysexton/following{/other_user}","gists_url":"https://api.github.com/users/rorysexton/gists{/gist_id}","starred_url":"https://api.github.com/users/rorysexton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rorysexton/subscriptions","organizations_url":"https://api.github.com/users/rorysexton/orgs","repos_url":"https://api.github.com/users/rorysexton/repos","events_url":"https://api.github.com/users/rorysexton/events{/privacy}","received_events_url":"https://api.github.com/users/rorysexton/received_events","type":"User","site_admin":false},"repo":{"id":135723477,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU3MjM0Nzc=","name":"collectd","full_name":"rorysexton/collectd","owner":{"login":"rorysexton","id":39832583,"node_id":"MDQ6VXNlcjM5ODMyNTgz","avatar_url":"https://avatars3.githubusercontent.com/u/39832583?v=4","gravatar_id":"","url":"https://api.github.com/users/rorysexton","html_url":"https://github.com/rorysexton","followers_url":"https://api.github.com/users/rorysexton/followers","following_url":"https://api.github.com/users/rorysexton/following{/other_user}","gists_url":"https://api.github.com/users/rorysexton/gists{/gist_id}","starred_url":"https://api.github.com/users/rorysexton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rorysexton/subscriptions","organizations_url":"https://api.github.com/users/rorysexton/orgs","repos_url":"https://api.github.com/users/rorysexton/repos","events_url":"https://api.github.com/users/rorysexton/events{/privacy}","received_events_url":"https://api.github.com/users/rorysexton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rorysexton/collectd","description":"The system statistics collection daemon. Please send Pull Requests here!","fork":true,"url":"https://api.github.com/repos/rorysexton/collectd","forks_url":"https://api.github.com/repos/rorysexton/collectd/forks","keys_url":"https://api.github.com/repos/rorysexton/collectd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rorysexton/collectd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rorysexton/collectd/teams","hooks_url":"https://api.github.com/repos/rorysexton/collectd/hooks","issue_events_url":"https://api.github.com/repos/rorysexton/collectd/issues/events{/number}","events_url":"https://api.github.com/repos/rorysexton/collectd/events","assignees_url":"https://api.github.com/repos/rorysexton/collectd/assignees{/user}","branches_url":"https://api.github.com/repos/rorysexton/collectd/branches{/branch}","tags_url":"https://api.github.com/repos/rorysexton/collectd/tags","blobs_url":"https://api.github.com/repos/rorysexton/collectd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rorysexton/collectd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rorysexton/collectd/git/refs{/sha}","trees_url":"https://api.github.com/repos/rorysexton/collectd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rorysexton/collectd/statuses/{sha}","languages_url":"https://api.github.com/repos/rorysexton/collectd/languages","stargazers_url":"https://api.github.com/repos/rorysexton/collectd/stargazers","contributors_url":"https://api.github.com/repos/rorysexton/collectd/contributors","subscribers_url":"https://api.github.com/repos/rorysexton/collectd/subscribers","subscription_url":"https://api.github.com/repos/rorysexton/collectd/subscription","commits_url":"https://api.github.com/repos/rorysexton/collectd/commits{/sha}","git_commits_url":"https://api.github.com/repos/rorysexton/collectd/git/commits{/sha}","comments_url":"https://api.github.com/repos/rorysexton/collectd/comments{/number}","issue_comment_url":"https://api.github.com/repos/rorysexton/collectd/issues/comments{/number}","contents_url":"https://api.github.com/repos/rorysexton/collectd/contents/{+path}","compare_url":"https://api.github.com/repos/rorysexton/collectd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rorysexton/collectd/merges","archive_url":"https://api.github.com/repos/rorysexton/collectd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rorysexton/collectd/downloads","issues_url":"https://api.github.com/repos/rorysexton/collectd/issues{/number}","pulls_url":"https://api.github.com/repos/rorysexton/collectd/pulls{/number}","milestones_url":"https://api.github.com/repos/rorysexton/collectd/milestones{/number}","notifications_url":"https://api.github.com/repos/rorysexton/collectd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rorysexton/collectd/labels{/name}","releases_url":"https://api.github.com/repos/rorysexton/collectd/releases{/id}","deployments_url":"https://api.github.com/repos/rorysexton/collectd/deployments","created_at":"2018-06-01T13:50:48Z","updated_at":"2018-06-01T13:50:52Z","pushed_at":"2018-06-05T08:43:34Z","git_url":"git://github.com/rorysexton/collectd.git","ssh_url":"git@github.com:rorysexton/collectd.git","clone_url":"https://github.com/rorysexton/collectd.git","svn_url":"https://github.com/rorysexton/collectd","homepage":"http://collectd.org/","size":20356,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"collectd:master","ref":"master","sha":"54dbaa553a74d24704a0087b0b05360044a09478","user":{"login":"collectd","id":1027481,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMjc0ODE=","avatar_url":"https://avatars2.githubusercontent.com/u/1027481?v=4","gravatar_id":"","url":"https://api.github.com/users/collectd","html_url":"https://github.com/collectd","followers_url":"https://api.github.com/users/collectd/followers","following_url":"https://api.github.com/users/collectd/following{/other_user}","gists_url":"https://api.github.com/users/collectd/gists{/gist_id}","starred_url":"https://api.github.com/users/collectd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collectd/subscriptions","organizations_url":"https://api.github.com/users/collectd/orgs","repos_url":"https://api.github.com/users/collectd/repos","events_url":"https://api.github.com/users/collectd/events{/privacy}","received_events_url":"https://api.github.com/users/collectd/received_events","type":"Organization","site_admin":false},"repo":{"id":3208640,"node_id":"MDEwOlJlcG9zaXRvcnkzMjA4NjQw","name":"collectd","full_name":"collectd/collectd","owner":{"login":"collectd","id":1027481,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMjc0ODE=","avatar_url":"https://avatars2.githubusercontent.com/u/1027481?v=4","gravatar_id":"","url":"https://api.github.com/users/collectd","html_url":"https://github.com/collectd","followers_url":"https://api.github.com/users/collectd/followers","following_url":"https://api.github.com/users/collectd/following{/other_user}","gists_url":"https://api.github.com/users/collectd/gists{/gist_id}","starred_url":"https://api.github.com/users/collectd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collectd/subscriptions","organizations_url":"https://api.github.com/users/collectd/orgs","repos_url":"https://api.github.com/users/collectd/repos","events_url":"https://api.github.com/users/collectd/events{/privacy}","received_events_url":"https://api.github.com/users/collectd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/collectd/collectd","description":"The system statistics collection daemon. Please send Pull Requests here!","fork":false,"url":"https://api.github.com/repos/collectd/collectd","forks_url":"https://api.github.com/repos/collectd/collectd/forks","keys_url":"https://api.github.com/repos/collectd/collectd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/collectd/collectd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/collectd/collectd/teams","hooks_url":"https://api.github.com/repos/collectd/collectd/hooks","issue_events_url":"https://api.github.com/repos/collectd/collectd/issues/events{/number}","events_url":"https://api.github.com/repos/collectd/collectd/events","assignees_url":"https://api.github.com/repos/collectd/collectd/assignees{/user}","branches_url":"https://api.github.com/repos/collectd/collectd/branches{/branch}","tags_url":"https://api.github.com/repos/collectd/collectd/tags","blobs_url":"https://api.github.com/repos/collectd/collectd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/collectd/collectd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/collectd/collectd/git/refs{/sha}","trees_url":"https://api.github.com/repos/collectd/collectd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/collectd/collectd/statuses/{sha}","languages_url":"https://api.github.com/repos/collectd/collectd/languages","stargazers_url":"https://api.github.com/repos/collectd/collectd/stargazers","contributors_url":"https://api.github.com/repos/collectd/collectd/contributors","subscribers_url":"https://api.github.com/repos/collectd/collectd/subscribers","subscription_url":"https://api.github.com/repos/collectd/collectd/subscription","commits_url":"https://api.github.com/repos/collectd/collectd/commits{/sha}","git_commits_url":"https://api.github.com/repos/collectd/collectd/git/commits{/sha}","comments_url":"https://api.github.com/repos/collectd/collectd/comments{/number}","issue_comment_url":"https://api.github.com/repos/collectd/collectd/issues/comments{/number}","contents_url":"https://api.github.com/repos/collectd/collectd/contents/{+path}","compare_url":"https://api.github.com/repos/collectd/collectd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/collectd/collectd/merges","archive_url":"https://api.github.com/repos/collectd/collectd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/collectd/collectd/downloads","issues_url":"https://api.github.com/repos/collectd/collectd/issues{/number}","pulls_url":"https://api.github.com/repos/collectd/collectd/pulls{/number}","milestones_url":"https://api.github.com/repos/collectd/collectd/milestones{/number}","notifications_url":"https://api.github.com/repos/collectd/collectd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/collectd/collectd/labels{/name}","releases_url":"https://api.github.com/repos/collectd/collectd/releases{/id}","deployments_url":"https://api.github.com/repos/collectd/collectd/deployments","created_at":"2012-01-18T13:07:51Z","updated_at":"2018-08-24T06:04:04Z","pushed_at":"2018-08-24T07:36:18Z","git_url":"git://github.com/collectd/collectd.git","ssh_url":"git@github.com:collectd/collectd.git","clone_url":"https://github.com/collectd/collectd.git","svn_url":"https://github.com/collectd/collectd","homepage":"http://collectd.org/","size":20771,"stargazers_count":2024,"watchers_count":2024,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1006,"mirror_url":null,"archived":false,"open_issues_count":446,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1006,"open_issues":446,"watchers":2024,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/collectd/collectd/pulls/2803"},"html":{"href":"https://github.com/collectd/collectd/pull/2803"},"issue":{"href":"https://api.github.com/repos/collectd/collectd/issues/2803"},"comments":{"href":"https://api.github.com/repos/collectd/collectd/issues/2803/comments"},"review_comments":{"href":"https://api.github.com/repos/collectd/collectd/pulls/2803/comments"},"review_comment":{"href":"https://api.github.com/repos/collectd/collectd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/collectd/collectd/pulls/2803/commits"},"statuses":{"href":"https://api.github.com/repos/collectd/collectd/statuses/82ec1536b7ca3d18b97ad00df7738973fce737cf"}},"author_association":"NONE"}}
{"actor":{"display_login":"rorysexton"}}