{"action":"closed","number":8,"pull_request":{"url":"https://api.github.com/repos/irqlevel/nkfs/pulls/8","id":30481617,"html_url":"https://github.com/irqlevel/nkfs/pull/8","diff_url":"https://github.com/irqlevel/nkfs/pull/8.diff","patch_url":"https://github.com/irqlevel/nkfs/pull/8.patch","issue_url":"https://api.github.com/repos/irqlevel/nkfs/issues/8","number":8,"state":"closed","locked":false,"title":"Ftrace","user":{"login":"thatskriptkid","id":8300184,"avatar_url":"https://avatars.githubusercontent.com/u/8300184?v=3","gravatar_id":"","url":"https://api.github.com/users/thatskriptkid","html_url":"https://github.com/thatskriptkid","followers_url":"https://api.github.com/users/thatskriptkid/followers","following_url":"https://api.github.com/users/thatskriptkid/following{/other_user}","gists_url":"https://api.github.com/users/thatskriptkid/gists{/gist_id}","starred_url":"https://api.github.com/users/thatskriptkid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thatskriptkid/subscriptions","organizations_url":"https://api.github.com/users/thatskriptkid/orgs","repos_url":"https://api.github.com/users/thatskriptkid/repos","events_url":"https://api.github.com/users/thatskriptkid/events{/privacy}","received_events_url":"https://api.github.com/users/thatskriptkid/received_events","type":"User","site_admin":false},"body":"Add trace events to some functions in kmod/inode.c and dio.c. Header kmod/inc/events.h contains trace events and trace event classes. \r\n\r\nFunctions with trace events: nkfs_inode_create() ,dio_clu_sync(),nkfs_inode_delete(),nkfs_inode_block_write()\r\nHow to test: \r\n1) cd /sys/kernel/debug/tracing\r\n2) echo '*' > set_ftrace_notrace #do not trace all functions (all events desabled by default)\r\n3)  #load nkfs modules\r\n4) echo 1 > events/nkfs/enable #enable all trace events, or\r\n4.1) echo 1 > events/nkfs/inode_write_block/enable #particular trace event\r\n5) cat trace #trace_printk output,defined in events.h","created_at":"2015-03-04T16:42:43Z","updated_at":"2015-03-06T17:05:19Z","closed_at":"2015-03-06T17:05:19Z","merged_at":"2015-03-06T17:05:19Z","merge_commit_sha":"455d054924a9afc8c22150970d577cf06e455b1c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/irqlevel/nkfs/pulls/8/commits","review_comments_url":"https://api.github.com/repos/irqlevel/nkfs/pulls/8/comments","review_comment_url":"https://api.github.com/repos/irqlevel/nkfs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/irqlevel/nkfs/issues/8/comments","statuses_url":"https://api.github.com/repos/irqlevel/nkfs/statuses/3552b6b8c8dc6485bdcf956bfaecae8ddcbe0754","head":{"label":"thatskriptkid:master","ref":"master","sha":"3552b6b8c8dc6485bdcf956bfaecae8ddcbe0754","user":{"login":"thatskriptkid","id":8300184,"avatar_url":"https://avatars.githubusercontent.com/u/8300184?v=3","gravatar_id":"","url":"https://api.github.com/users/thatskriptkid","html_url":"https://github.com/thatskriptkid","followers_url":"https://api.github.com/users/thatskriptkid/followers","following_url":"https://api.github.com/users/thatskriptkid/following{/other_user}","gists_url":"https://api.github.com/users/thatskriptkid/gists{/gist_id}","starred_url":"https://api.github.com/users/thatskriptkid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thatskriptkid/subscriptions","organizations_url":"https://api.github.com/users/thatskriptkid/orgs","repos_url":"https://api.github.com/users/thatskriptkid/repos","events_url":"https://api.github.com/users/thatskriptkid/events{/privacy}","received_events_url":"https://api.github.com/users/thatskriptkid/received_events","type":"User","site_admin":false},"repo":{"id":31665080,"name":"nkfs","full_name":"thatskriptkid/nkfs","owner":{"login":"thatskriptkid","id":8300184,"avatar_url":"https://avatars.githubusercontent.com/u/8300184?v=3","gravatar_id":"","url":"https://api.github.com/users/thatskriptkid","html_url":"https://github.com/thatskriptkid","followers_url":"https://api.github.com/users/thatskriptkid/followers","following_url":"https://api.github.com/users/thatskriptkid/following{/other_user}","gists_url":"https://api.github.com/users/thatskriptkid/gists{/gist_id}","starred_url":"https://api.github.com/users/thatskriptkid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thatskriptkid/subscriptions","organizations_url":"https://api.github.com/users/thatskriptkid/orgs","repos_url":"https://api.github.com/users/thatskriptkid/repos","events_url":"https://api.github.com/users/thatskriptkid/events{/privacy}","received_events_url":"https://api.github.com/users/thatskriptkid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thatskriptkid/nkfs","description":"distributed decentralized fault-tolerant file system.","fork":true,"url":"https://api.github.com/repos/thatskriptkid/nkfs","forks_url":"https://api.github.com/repos/thatskriptkid/nkfs/forks","keys_url":"https://api.github.com/repos/thatskriptkid/nkfs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thatskriptkid/nkfs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thatskriptkid/nkfs/teams","hooks_url":"https://api.github.com/repos/thatskriptkid/nkfs/hooks","issue_events_url":"https://api.github.com/repos/thatskriptkid/nkfs/issues/events{/number}","events_url":"https://api.github.com/repos/thatskriptkid/nkfs/events","assignees_url":"https://api.github.com/repos/thatskriptkid/nkfs/assignees{/user}","branches_url":"https://api.github.com/repos/thatskriptkid/nkfs/branches{/branch}","tags_url":"https://api.github.com/repos/thatskriptkid/nkfs/tags","blobs_url":"https://api.github.com/repos/thatskriptkid/nkfs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thatskriptkid/nkfs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thatskriptkid/nkfs/git/refs{/sha}","trees_url":"https://api.github.com/repos/thatskriptkid/nkfs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thatskriptkid/nkfs/statuses/{sha}","languages_url":"https://api.github.com/repos/thatskriptkid/nkfs/languages","stargazers_url":"https://api.github.com/repos/thatskriptkid/nkfs/stargazers","contributors_url":"https://api.github.com/repos/thatskriptkid/nkfs/contributors","subscribers_url":"https://api.github.com/repos/thatskriptkid/nkfs/subscribers","subscription_url":"https://api.github.com/repos/thatskriptkid/nkfs/subscription","commits_url":"https://api.github.com/repos/thatskriptkid/nkfs/commits{/sha}","git_commits_url":"https://api.github.com/repos/thatskriptkid/nkfs/git/commits{/sha}","comments_url":"https://api.github.com/repos/thatskriptkid/nkfs/comments{/number}","issue_comment_url":"https://api.github.com/repos/thatskriptkid/nkfs/issues/comments{/number}","contents_url":"https://api.github.com/repos/thatskriptkid/nkfs/contents/{+path}","compare_url":"https://api.github.com/repos/thatskriptkid/nkfs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thatskriptkid/nkfs/merges","archive_url":"https://api.github.com/repos/thatskriptkid/nkfs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thatskriptkid/nkfs/downloads","issues_url":"https://api.github.com/repos/thatskriptkid/nkfs/issues{/number}","pulls_url":"https://api.github.com/repos/thatskriptkid/nkfs/pulls{/number}","milestones_url":"https://api.github.com/repos/thatskriptkid/nkfs/milestones{/number}","notifications_url":"https://api.github.com/repos/thatskriptkid/nkfs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thatskriptkid/nkfs/labels{/name}","releases_url":"https://api.github.com/repos/thatskriptkid/nkfs/releases{/id}","created_at":"2015-03-04T15:49:04Z","updated_at":"2015-03-05T14:00:30Z","pushed_at":"2015-03-05T14:00:30Z","git_url":"git://github.com/thatskriptkid/nkfs.git","ssh_url":"git@github.com:thatskriptkid/nkfs.git","clone_url":"https://github.com/thatskriptkid/nkfs.git","svn_url":"https://github.com/thatskriptkid/nkfs","homepage":"","size":1485,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"irqlevel:master","ref":"master","sha":"323f446bac42fc06a223211ee389dfc4e64d55a4","user":{"login":"irqlevel","id":6997173,"avatar_url":"https://avatars.githubusercontent.com/u/6997173?v=3","gravatar_id":"","url":"https://api.github.com/users/irqlevel","html_url":"https://github.com/irqlevel","followers_url":"https://api.github.com/users/irqlevel/followers","following_url":"https://api.github.com/users/irqlevel/following{/other_user}","gists_url":"https://api.github.com/users/irqlevel/gists{/gist_id}","starred_url":"https://api.github.com/users/irqlevel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irqlevel/subscriptions","organizations_url":"https://api.github.com/users/irqlevel/orgs","repos_url":"https://api.github.com/users/irqlevel/repos","events_url":"https://api.github.com/users/irqlevel/events{/privacy}","received_events_url":"https://api.github.com/users/irqlevel/received_events","type":"User","site_admin":false},"repo":{"id":25922969,"name":"nkfs","full_name":"irqlevel/nkfs","owner":{"login":"irqlevel","id":6997173,"avatar_url":"https://avatars.githubusercontent.com/u/6997173?v=3","gravatar_id":"","url":"https://api.github.com/users/irqlevel","html_url":"https://github.com/irqlevel","followers_url":"https://api.github.com/users/irqlevel/followers","following_url":"https://api.github.com/users/irqlevel/following{/other_user}","gists_url":"https://api.github.com/users/irqlevel/gists{/gist_id}","starred_url":"https://api.github.com/users/irqlevel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irqlevel/subscriptions","organizations_url":"https://api.github.com/users/irqlevel/orgs","repos_url":"https://api.github.com/users/irqlevel/repos","events_url":"https://api.github.com/users/irqlevel/events{/privacy}","received_events_url":"https://api.github.com/users/irqlevel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/irqlevel/nkfs","description":"distributed decentralized fault-tolerant file system.","fork":false,"url":"https://api.github.com/repos/irqlevel/nkfs","forks_url":"https://api.github.com/repos/irqlevel/nkfs/forks","keys_url":"https://api.github.com/repos/irqlevel/nkfs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/irqlevel/nkfs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/irqlevel/nkfs/teams","hooks_url":"https://api.github.com/repos/irqlevel/nkfs/hooks","issue_events_url":"https://api.github.com/repos/irqlevel/nkfs/issues/events{/number}","events_url":"https://api.github.com/repos/irqlevel/nkfs/events","assignees_url":"https://api.github.com/repos/irqlevel/nkfs/assignees{/user}","branches_url":"https://api.github.com/repos/irqlevel/nkfs/branches{/branch}","tags_url":"https://api.github.com/repos/irqlevel/nkfs/tags","blobs_url":"https://api.github.com/repos/irqlevel/nkfs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/irqlevel/nkfs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/irqlevel/nkfs/git/refs{/sha}","trees_url":"https://api.github.com/repos/irqlevel/nkfs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/irqlevel/nkfs/statuses/{sha}","languages_url":"https://api.github.com/repos/irqlevel/nkfs/languages","stargazers_url":"https://api.github.com/repos/irqlevel/nkfs/stargazers","contributors_url":"https://api.github.com/repos/irqlevel/nkfs/contributors","subscribers_url":"https://api.github.com/repos/irqlevel/nkfs/subscribers","subscription_url":"https://api.github.com/repos/irqlevel/nkfs/subscription","commits_url":"https://api.github.com/repos/irqlevel/nkfs/commits{/sha}","git_commits_url":"https://api.github.com/repos/irqlevel/nkfs/git/commits{/sha}","comments_url":"https://api.github.com/repos/irqlevel/nkfs/comments{/number}","issue_comment_url":"https://api.github.com/repos/irqlevel/nkfs/issues/comments{/number}","contents_url":"https://api.github.com/repos/irqlevel/nkfs/contents/{+path}","compare_url":"https://api.github.com/repos/irqlevel/nkfs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/irqlevel/nkfs/merges","archive_url":"https://api.github.com/repos/irqlevel/nkfs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/irqlevel/nkfs/downloads","issues_url":"https://api.github.com/repos/irqlevel/nkfs/issues{/number}","pulls_url":"https://api.github.com/repos/irqlevel/nkfs/pulls{/number}","milestones_url":"https://api.github.com/repos/irqlevel/nkfs/milestones{/number}","notifications_url":"https://api.github.com/repos/irqlevel/nkfs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/irqlevel/nkfs/labels{/name}","releases_url":"https://api.github.com/repos/irqlevel/nkfs/releases{/id}","created_at":"2014-10-29T13:49:43Z","updated_at":"2015-03-03T16:14:04Z","pushed_at":"2015-03-06T17:05:19Z","git_url":"git://github.com/irqlevel/nkfs.git","ssh_url":"git@github.com:irqlevel/nkfs.git","clone_url":"https://github.com/irqlevel/nkfs.git","svn_url":"https://github.com/irqlevel/nkfs","homepage":"","size":2651,"stargazers_count":2,"watchers_count":2,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/irqlevel/nkfs/pulls/8"},"html":{"href":"https://github.com/irqlevel/nkfs/pull/8"},"issue":{"href":"https://api.github.com/repos/irqlevel/nkfs/issues/8"},"comments":{"href":"https://api.github.com/repos/irqlevel/nkfs/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/irqlevel/nkfs/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/irqlevel/nkfs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/irqlevel/nkfs/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/irqlevel/nkfs/statuses/3552b6b8c8dc6485bdcf956bfaecae8ddcbe0754"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"irqlevel","id":6997173,"avatar_url":"https://avatars.githubusercontent.com/u/6997173?v=3","gravatar_id":"","url":"https://api.github.com/users/irqlevel","html_url":"https://github.com/irqlevel","followers_url":"https://api.github.com/users/irqlevel/followers","following_url":"https://api.github.com/users/irqlevel/following{/other_user}","gists_url":"https://api.github.com/users/irqlevel/gists{/gist_id}","starred_url":"https://api.github.com/users/irqlevel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irqlevel/subscriptions","organizations_url":"https://api.github.com/users/irqlevel/orgs","repos_url":"https://api.github.com/users/irqlevel/repos","events_url":"https://api.github.com/users/irqlevel/events{/privacy}","received_events_url":"https://api.github.com/users/irqlevel/received_events","type":"User","site_admin":false},"comments":0,"review_comments":9,"commits":2,"additions":108,"deletions":2,"changed_files":4}}