{"action":"created","comment":{"url":"https://api.github.com/repos/cvmfs/cvmfs/pulls/comments/27478587","id":27478587,"diff_hunk":"@@ -206,20 +208,17 @@ bool GetPath(const uint64_t inode, PathString *path) {\n   path->Assign(raw_path, strlen(raw_path));\n   sqlite3_reset(stmt_get_path_);\n   pthread_mutex_unlock(&lock_);\n-  atomic_inc64(&dbstat_inode_found_);\n+  perf::Inc(n_dbstat_inode_found_);\n   return true;\n }\n \n \n string GetStatistics() {","path":"cvmfs/nfs_shared_maps.cc","position":57,"original_position":57,"commit_id":"179bb4d185a99891d6189cc68a5e57f4bcba7c6c","original_commit_id":"179bb4d185a99891d6189cc68a5e57f4bcba7c6c","user":{"login":"jblomer","id":1557360,"avatar_url":"https://avatars.githubusercontent.com/u/1557360?v=3","gravatar_id":"","url":"https://api.github.com/users/jblomer","html_url":"https://github.com/jblomer","followers_url":"https://api.github.com/users/jblomer/followers","following_url":"https://api.github.com/users/jblomer/following{/other_user}","gists_url":"https://api.github.com/users/jblomer/gists{/gist_id}","starred_url":"https://api.github.com/users/jblomer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jblomer/subscriptions","organizations_url":"https://api.github.com/users/jblomer/orgs","repos_url":"https://api.github.com/users/jblomer/repos","events_url":"https://api.github.com/users/jblomer/events{/privacy}","received_events_url":"https://api.github.com/users/jblomer/received_events","type":"User","site_admin":false},"body":"Not only the if but the whole `GetStatistics()` in nfs_maps.cc can go away, no?","created_at":"2015-03-31T13:35:10Z","updated_at":"2015-03-31T13:35:10Z","html_url":"https://github.com/cvmfs/cvmfs/pull/826#discussion_r27478587","pull_request_url":"https://api.github.com/repos/cvmfs/cvmfs/pulls/826","_links":{"self":{"href":"https://api.github.com/repos/cvmfs/cvmfs/pulls/comments/27478587"},"html":{"href":"https://github.com/cvmfs/cvmfs/pull/826#discussion_r27478587"},"pull_request":{"href":"https://api.github.com/repos/cvmfs/cvmfs/pulls/826"}}},"pull_request":{"url":"https://api.github.com/repos/cvmfs/cvmfs/pulls/826","id":31818509,"html_url":"https://github.com/cvmfs/cvmfs/pull/826","diff_url":"https://github.com/cvmfs/cvmfs/pull/826.diff","patch_url":"https://github.com/cvmfs/cvmfs/pull/826.patch","issue_url":"https://api.github.com/repos/cvmfs/cvmfs/issues/826","number":826,"state":"open","locked":false,"title":"Added statistics 1","user":{"login":"Moliholy","id":2722756,"avatar_url":"https://avatars.githubusercontent.com/u/2722756?v=3","gravatar_id":"","url":"https://api.github.com/users/Moliholy","html_url":"https://github.com/Moliholy","followers_url":"https://api.github.com/users/Moliholy/followers","following_url":"https://api.github.com/users/Moliholy/following{/other_user}","gists_url":"https://api.github.com/users/Moliholy/gists{/gist_id}","starred_url":"https://api.github.com/users/Moliholy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Moliholy/subscriptions","organizations_url":"https://api.github.com/users/Moliholy/orgs","repos_url":"https://api.github.com/users/Moliholy/repos","events_url":"https://api.github.com/users/Moliholy/events{/privacy}","received_events_url":"https://api.github.com/users/Moliholy/received_events","type":"User","site_admin":false},"body":"Here I have modified some files with the new statistics system. There are more to be modified, but I think I have enough changes to take a look at them so that the next ones are done according to what is discussed here.","created_at":"2015-03-24T11:45:27Z","updated_at":"2015-03-31T13:35:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4b886e78f4352650e67b585ed9e84600888ec6cf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cvmfs/cvmfs/pulls/826/commits","review_comments_url":"https://api.github.com/repos/cvmfs/cvmfs/pulls/826/comments","review_comment_url":"https://api.github.com/repos/cvmfs/cvmfs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cvmfs/cvmfs/issues/826/comments","statuses_url":"https://api.github.com/repos/cvmfs/cvmfs/statuses/179bb4d185a99891d6189cc68a5e57f4bcba7c6c","head":{"label":"Moliholy:statistics","ref":"statistics","sha":"179bb4d185a99891d6189cc68a5e57f4bcba7c6c","user":{"login":"Moliholy","id":2722756,"avatar_url":"https://avatars.githubusercontent.com/u/2722756?v=3","gravatar_id":"","url":"https://api.github.com/users/Moliholy","html_url":"https://github.com/Moliholy","followers_url":"https://api.github.com/users/Moliholy/followers","following_url":"https://api.github.com/users/Moliholy/following{/other_user}","gists_url":"https://api.github.com/users/Moliholy/gists{/gist_id}","starred_url":"https://api.github.com/users/Moliholy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Moliholy/subscriptions","organizations_url":"https://api.github.com/users/Moliholy/orgs","repos_url":"https://api.github.com/users/Moliholy/repos","events_url":"https://api.github.com/users/Moliholy/events{/privacy}","received_events_url":"https://api.github.com/users/Moliholy/received_events","type":"User","site_admin":false},"repo":{"id":32462131,"name":"cvmfs","full_name":"Moliholy/cvmfs","owner":{"login":"Moliholy","id":2722756,"avatar_url":"https://avatars.githubusercontent.com/u/2722756?v=3","gravatar_id":"","url":"https://api.github.com/users/Moliholy","html_url":"https://github.com/Moliholy","followers_url":"https://api.github.com/users/Moliholy/followers","following_url":"https://api.github.com/users/Moliholy/following{/other_user}","gists_url":"https://api.github.com/users/Moliholy/gists{/gist_id}","starred_url":"https://api.github.com/users/Moliholy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Moliholy/subscriptions","organizations_url":"https://api.github.com/users/Moliholy/orgs","repos_url":"https://api.github.com/users/Moliholy/repos","events_url":"https://api.github.com/users/Moliholy/events{/privacy}","received_events_url":"https://api.github.com/users/Moliholy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Moliholy/cvmfs","description":"The CernVM File System","fork":true,"url":"https://api.github.com/repos/Moliholy/cvmfs","forks_url":"https://api.github.com/repos/Moliholy/cvmfs/forks","keys_url":"https://api.github.com/repos/Moliholy/cvmfs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Moliholy/cvmfs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Moliholy/cvmfs/teams","hooks_url":"https://api.github.com/repos/Moliholy/cvmfs/hooks","issue_events_url":"https://api.github.com/repos/Moliholy/cvmfs/issues/events{/number}","events_url":"https://api.github.com/repos/Moliholy/cvmfs/events","assignees_url":"https://api.github.com/repos/Moliholy/cvmfs/assignees{/user}","branches_url":"https://api.github.com/repos/Moliholy/cvmfs/branches{/branch}","tags_url":"https://api.github.com/repos/Moliholy/cvmfs/tags","blobs_url":"https://api.github.com/repos/Moliholy/cvmfs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Moliholy/cvmfs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Moliholy/cvmfs/git/refs{/sha}","trees_url":"https://api.github.com/repos/Moliholy/cvmfs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Moliholy/cvmfs/statuses/{sha}","languages_url":"https://api.github.com/repos/Moliholy/cvmfs/languages","stargazers_url":"https://api.github.com/repos/Moliholy/cvmfs/stargazers","contributors_url":"https://api.github.com/repos/Moliholy/cvmfs/contributors","subscribers_url":"https://api.github.com/repos/Moliholy/cvmfs/subscribers","subscription_url":"https://api.github.com/repos/Moliholy/cvmfs/subscription","commits_url":"https://api.github.com/repos/Moliholy/cvmfs/commits{/sha}","git_commits_url":"https://api.github.com/repos/Moliholy/cvmfs/git/commits{/sha}","comments_url":"https://api.github.com/repos/Moliholy/cvmfs/comments{/number}","issue_comment_url":"https://api.github.com/repos/Moliholy/cvmfs/issues/comments{/number}","contents_url":"https://api.github.com/repos/Moliholy/cvmfs/contents/{+path}","compare_url":"https://api.github.com/repos/Moliholy/cvmfs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Moliholy/cvmfs/merges","archive_url":"https://api.github.com/repos/Moliholy/cvmfs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Moliholy/cvmfs/downloads","issues_url":"https://api.github.com/repos/Moliholy/cvmfs/issues{/number}","pulls_url":"https://api.github.com/repos/Moliholy/cvmfs/pulls{/number}","milestones_url":"https://api.github.com/repos/Moliholy/cvmfs/milestones{/number}","notifications_url":"https://api.github.com/repos/Moliholy/cvmfs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Moliholy/cvmfs/labels{/name}","releases_url":"https://api.github.com/repos/Moliholy/cvmfs/releases{/id}","created_at":"2015-03-18T14:00:48Z","updated_at":"2015-03-18T14:00:51Z","pushed_at":"2015-03-31T09:44:15Z","git_url":"git://github.com/Moliholy/cvmfs.git","ssh_url":"git@github.com:Moliholy/cvmfs.git","clone_url":"https://github.com/Moliholy/cvmfs.git","svn_url":"https://github.com/Moliholy/cvmfs","homepage":"http://cernvm.cern.ch/portal/filesystem","size":88719,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"devel"}},"base":{"label":"cvmfs:devel","ref":"devel","sha":"51ed52c04191e4d6a8064639716d2b3dff85c1bf","user":{"login":"cvmfs","id":1560859,"avatar_url":"https://avatars.githubusercontent.com/u/1560859?v=3","gravatar_id":"","url":"https://api.github.com/users/cvmfs","html_url":"https://github.com/cvmfs","followers_url":"https://api.github.com/users/cvmfs/followers","following_url":"https://api.github.com/users/cvmfs/following{/other_user}","gists_url":"https://api.github.com/users/cvmfs/gists{/gist_id}","starred_url":"https://api.github.com/users/cvmfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvmfs/subscriptions","organizations_url":"https://api.github.com/users/cvmfs/orgs","repos_url":"https://api.github.com/users/cvmfs/repos","events_url":"https://api.github.com/users/cvmfs/events{/privacy}","received_events_url":"https://api.github.com/users/cvmfs/received_events","type":"Organization","site_admin":false},"repo":{"id":3784908,"name":"cvmfs","full_name":"cvmfs/cvmfs","owner":{"login":"cvmfs","id":1560859,"avatar_url":"https://avatars.githubusercontent.com/u/1560859?v=3","gravatar_id":"","url":"https://api.github.com/users/cvmfs","html_url":"https://github.com/cvmfs","followers_url":"https://api.github.com/users/cvmfs/followers","following_url":"https://api.github.com/users/cvmfs/following{/other_user}","gists_url":"https://api.github.com/users/cvmfs/gists{/gist_id}","starred_url":"https://api.github.com/users/cvmfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvmfs/subscriptions","organizations_url":"https://api.github.com/users/cvmfs/orgs","repos_url":"https://api.github.com/users/cvmfs/repos","events_url":"https://api.github.com/users/cvmfs/events{/privacy}","received_events_url":"https://api.github.com/users/cvmfs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cvmfs/cvmfs","description":"The CernVM File System","fork":false,"url":"https://api.github.com/repos/cvmfs/cvmfs","forks_url":"https://api.github.com/repos/cvmfs/cvmfs/forks","keys_url":"https://api.github.com/repos/cvmfs/cvmfs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cvmfs/cvmfs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cvmfs/cvmfs/teams","hooks_url":"https://api.github.com/repos/cvmfs/cvmfs/hooks","issue_events_url":"https://api.github.com/repos/cvmfs/cvmfs/issues/events{/number}","events_url":"https://api.github.com/repos/cvmfs/cvmfs/events","assignees_url":"https://api.github.com/repos/cvmfs/cvmfs/assignees{/user}","branches_url":"https://api.github.com/repos/cvmfs/cvmfs/branches{/branch}","tags_url":"https://api.github.com/repos/cvmfs/cvmfs/tags","blobs_url":"https://api.github.com/repos/cvmfs/cvmfs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cvmfs/cvmfs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cvmfs/cvmfs/git/refs{/sha}","trees_url":"https://api.github.com/repos/cvmfs/cvmfs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cvmfs/cvmfs/statuses/{sha}","languages_url":"https://api.github.com/repos/cvmfs/cvmfs/languages","stargazers_url":"https://api.github.com/repos/cvmfs/cvmfs/stargazers","contributors_url":"https://api.github.com/repos/cvmfs/cvmfs/contributors","subscribers_url":"https://api.github.com/repos/cvmfs/cvmfs/subscribers","subscription_url":"https://api.github.com/repos/cvmfs/cvmfs/subscription","commits_url":"https://api.github.com/repos/cvmfs/cvmfs/commits{/sha}","git_commits_url":"https://api.github.com/repos/cvmfs/cvmfs/git/commits{/sha}","comments_url":"https://api.github.com/repos/cvmfs/cvmfs/comments{/number}","issue_comment_url":"https://api.github.com/repos/cvmfs/cvmfs/issues/comments{/number}","contents_url":"https://api.github.com/repos/cvmfs/cvmfs/contents/{+path}","compare_url":"https://api.github.com/repos/cvmfs/cvmfs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cvmfs/cvmfs/merges","archive_url":"https://api.github.com/repos/cvmfs/cvmfs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cvmfs/cvmfs/downloads","issues_url":"https://api.github.com/repos/cvmfs/cvmfs/issues{/number}","pulls_url":"https://api.github.com/repos/cvmfs/cvmfs/pulls{/number}","milestones_url":"https://api.github.com/repos/cvmfs/cvmfs/milestones{/number}","notifications_url":"https://api.github.com/repos/cvmfs/cvmfs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cvmfs/cvmfs/labels{/name}","releases_url":"https://api.github.com/repos/cvmfs/cvmfs/releases{/id}","created_at":"2012-03-21T09:10:41Z","updated_at":"2015-03-31T09:11:39Z","pushed_at":"2015-03-31T09:44:15Z","git_url":"git://github.com/cvmfs/cvmfs.git","ssh_url":"git@github.com:cvmfs/cvmfs.git","clone_url":"https://github.com/cvmfs/cvmfs.git","svn_url":"https://github.com/cvmfs/cvmfs","homepage":"http://cernvm.cern.ch/portal/filesystem","size":97174,"stargazers_count":32,"watchers_count":32,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":37,"mirror_url":null,"open_issues_count":6,"forks":37,"open_issues":6,"watchers":32,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/cvmfs/cvmfs/pulls/826"},"html":{"href":"https://github.com/cvmfs/cvmfs/pull/826"},"issue":{"href":"https://api.github.com/repos/cvmfs/cvmfs/issues/826"},"comments":{"href":"https://api.github.com/repos/cvmfs/cvmfs/issues/826/comments"},"review_comments":{"href":"https://api.github.com/repos/cvmfs/cvmfs/pulls/826/comments"},"review_comment":{"href":"https://api.github.com/repos/cvmfs/cvmfs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cvmfs/cvmfs/pulls/826/commits"},"statuses":{"href":"https://api.github.com/repos/cvmfs/cvmfs/statuses/179bb4d185a99891d6189cc68a5e57f4bcba7c6c"}}}}