{"action":"created","comment":{"url":"https://api.github.com/repos/draios/sysdig/pulls/comments/39101455","id":39101455,"diff_hunk":"@@ -1877,6 +1892,43 @@ const char* sinsp_evt::get_param_as_str(uint32_t id, OUT const char** resolved_s\n \t\t}\n \t\tbreak;\n \t}\n+\tcase PT_SIGSET:\n+\t{\n+\t\tASSERT(payload_len == sizeof(uint32_t));\n+\t\tuint32_t val = *(uint32_t *)payload;\n+\n+\t\tm_resolved_paramstr_storage[0] = '\\0';\n+\t\tm_paramstr_storage[0]          = '\\0';\n+\n+\t\tchar* storage = &m_paramstr_storage[0];\n+\t\tint remaining = m_paramstr_storage.size();\n+\t\tbool first = true;\n+\n+\t\tfor (int sig = 0; sig < 32; sig++)\n+\t\t{\n+\t\t\tif (val & (1U << sig) )\n+\t\t\t{\n+\t\t\t\tconst char* sigstr = sinsp_utils::signal_to_str(sig+1);\n+\t\t\t\tif(sigstr)\n+\t\t\t\t{\n+\t\t\t\t\tint printed = snprintf(storage, remaining,\n+\t\t\t\t\t\t\t       \"%s%s\",\n+\t\t\t\t\t\t\t       !first ? \" \" : \"\",\n+\t\t\t\t\t\t\t       sigstr);\n+\t\t\t\t\tif (printed >= remaining)","path":"userspace/libsinsp/event.cpp","position":69,"original_position":69,"commit_id":"282ab94f8214c75975d6e14e084f83e5ed48edf2","original_commit_id":"282ab94f8214c75975d6e14e084f83e5ed48edf2","user":{"login":"gianlucaborello","id":4187028,"avatar_url":"https://avatars.githubusercontent.com/u/4187028?v=3","gravatar_id":"","url":"https://api.github.com/users/gianlucaborello","html_url":"https://github.com/gianlucaborello","followers_url":"https://api.github.com/users/gianlucaborello/followers","following_url":"https://api.github.com/users/gianlucaborello/following{/other_user}","gists_url":"https://api.github.com/users/gianlucaborello/gists{/gist_id}","starred_url":"https://api.github.com/users/gianlucaborello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gianlucaborello/subscriptions","organizations_url":"https://api.github.com/users/gianlucaborello/orgs","repos_url":"https://api.github.com/users/gianlucaborello/repos","events_url":"https://api.github.com/users/gianlucaborello/events{/privacy}","received_events_url":"https://api.github.com/users/gianlucaborello/received_events","type":"User","site_admin":false},"body":"coding style","created_at":"2015-09-09T21:51:27Z","updated_at":"2015-09-09T21:51:27Z","html_url":"https://github.com/draios/sysdig/pull/432#discussion_r39101455","pull_request_url":"https://api.github.com/repos/draios/sysdig/pulls/432","_links":{"self":{"href":"https://api.github.com/repos/draios/sysdig/pulls/comments/39101455"},"html":{"href":"https://github.com/draios/sysdig/pull/432#discussion_r39101455"},"pull_request":{"href":"https://api.github.com/repos/draios/sysdig/pulls/432"}}},"pull_request":{"url":"https://api.github.com/repos/draios/sysdig/pulls/432","id":44043445,"html_url":"https://github.com/draios/sysdig/pull/432","diff_url":"https://github.com/draios/sysdig/pull/432.diff","patch_url":"https://github.com/draios/sysdig/pull/432.patch","issue_url":"https://api.github.com/repos/draios/sysdig/issues/432","number":432,"state":"open","locked":false,"title":"Small zsh tab-completion fixes, added support for ppoll()","user":{"login":"dkogan","id":170011,"avatar_url":"https://avatars.githubusercontent.com/u/170011?v=3","gravatar_id":"","url":"https://api.github.com/users/dkogan","html_url":"https://github.com/dkogan","followers_url":"https://api.github.com/users/dkogan/followers","following_url":"https://api.github.com/users/dkogan/following{/other_user}","gists_url":"https://api.github.com/users/dkogan/gists{/gist_id}","starred_url":"https://api.github.com/users/dkogan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkogan/subscriptions","organizations_url":"https://api.github.com/users/dkogan/orgs","repos_url":"https://api.github.com/users/dkogan/repos","events_url":"https://api.github.com/users/dkogan/events{/privacy}","received_events_url":"https://api.github.com/users/dkogan/received_events","type":"User","site_admin":false},"body":"Hi. This branch is a bit heterogeneous, but most of the patches are small and non-controversial. The bigger changes are support for ppoll(), which carries with it support for logging sigset_t. I implemented this as a 32-bit integer, so any signals above that don't get logged. Thanks to Chris McKenzie for debugging some logging stuff here.\r\n","created_at":"2015-09-02T21:14:57Z","updated_at":"2015-09-09T21:51:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"00a989daaddcc4d11f5edd4f65a44ad3a1cc3a6e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/draios/sysdig/pulls/432/commits","review_comments_url":"https://api.github.com/repos/draios/sysdig/pulls/432/comments","review_comment_url":"https://api.github.com/repos/draios/sysdig/pulls/comments{/number}","comments_url":"https://api.github.com/repos/draios/sysdig/issues/432/comments","statuses_url":"https://api.github.com/repos/draios/sysdig/statuses/282ab94f8214c75975d6e14e084f83e5ed48edf2","head":{"label":"dkogan:dev","ref":"dev","sha":"282ab94f8214c75975d6e14e084f83e5ed48edf2","user":{"login":"dkogan","id":170011,"avatar_url":"https://avatars.githubusercontent.com/u/170011?v=3","gravatar_id":"","url":"https://api.github.com/users/dkogan","html_url":"https://github.com/dkogan","followers_url":"https://api.github.com/users/dkogan/followers","following_url":"https://api.github.com/users/dkogan/following{/other_user}","gists_url":"https://api.github.com/users/dkogan/gists{/gist_id}","starred_url":"https://api.github.com/users/dkogan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkogan/subscriptions","organizations_url":"https://api.github.com/users/dkogan/orgs","repos_url":"https://api.github.com/users/dkogan/repos","events_url":"https://api.github.com/users/dkogan/events{/privacy}","received_events_url":"https://api.github.com/users/dkogan/received_events","type":"User","site_admin":false},"repo":{"id":18483016,"name":"sysdig","full_name":"dkogan/sysdig","owner":{"login":"dkogan","id":170011,"avatar_url":"https://avatars.githubusercontent.com/u/170011?v=3","gravatar_id":"","url":"https://api.github.com/users/dkogan","html_url":"https://github.com/dkogan","followers_url":"https://api.github.com/users/dkogan/followers","following_url":"https://api.github.com/users/dkogan/following{/other_user}","gists_url":"https://api.github.com/users/dkogan/gists{/gist_id}","starred_url":"https://api.github.com/users/dkogan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkogan/subscriptions","organizations_url":"https://api.github.com/users/dkogan/orgs","repos_url":"https://api.github.com/users/dkogan/repos","events_url":"https://api.github.com/users/dkogan/events{/privacy}","received_events_url":"https://api.github.com/users/dkogan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dkogan/sysdig","description":"a system exploration and troubleshooting tool","fork":true,"url":"https://api.github.com/repos/dkogan/sysdig","forks_url":"https://api.github.com/repos/dkogan/sysdig/forks","keys_url":"https://api.github.com/repos/dkogan/sysdig/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dkogan/sysdig/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dkogan/sysdig/teams","hooks_url":"https://api.github.com/repos/dkogan/sysdig/hooks","issue_events_url":"https://api.github.com/repos/dkogan/sysdig/issues/events{/number}","events_url":"https://api.github.com/repos/dkogan/sysdig/events","assignees_url":"https://api.github.com/repos/dkogan/sysdig/assignees{/user}","branches_url":"https://api.github.com/repos/dkogan/sysdig/branches{/branch}","tags_url":"https://api.github.com/repos/dkogan/sysdig/tags","blobs_url":"https://api.github.com/repos/dkogan/sysdig/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dkogan/sysdig/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dkogan/sysdig/git/refs{/sha}","trees_url":"https://api.github.com/repos/dkogan/sysdig/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dkogan/sysdig/statuses/{sha}","languages_url":"https://api.github.com/repos/dkogan/sysdig/languages","stargazers_url":"https://api.github.com/repos/dkogan/sysdig/stargazers","contributors_url":"https://api.github.com/repos/dkogan/sysdig/contributors","subscribers_url":"https://api.github.com/repos/dkogan/sysdig/subscribers","subscription_url":"https://api.github.com/repos/dkogan/sysdig/subscription","commits_url":"https://api.github.com/repos/dkogan/sysdig/commits{/sha}","git_commits_url":"https://api.github.com/repos/dkogan/sysdig/git/commits{/sha}","comments_url":"https://api.github.com/repos/dkogan/sysdig/comments{/number}","issue_comment_url":"https://api.github.com/repos/dkogan/sysdig/issues/comments{/number}","contents_url":"https://api.github.com/repos/dkogan/sysdig/contents/{+path}","compare_url":"https://api.github.com/repos/dkogan/sysdig/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dkogan/sysdig/merges","archive_url":"https://api.github.com/repos/dkogan/sysdig/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dkogan/sysdig/downloads","issues_url":"https://api.github.com/repos/dkogan/sysdig/issues{/number}","pulls_url":"https://api.github.com/repos/dkogan/sysdig/pulls{/number}","milestones_url":"https://api.github.com/repos/dkogan/sysdig/milestones{/number}","notifications_url":"https://api.github.com/repos/dkogan/sysdig/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dkogan/sysdig/labels{/name}","releases_url":"https://api.github.com/repos/dkogan/sysdig/releases{/id}","created_at":"2014-04-06T04:44:25Z","updated_at":"2015-01-30T21:14:31Z","pushed_at":"2015-09-02T21:42:02Z","git_url":"git://github.com/dkogan/sysdig.git","ssh_url":"git@github.com:dkogan/sysdig.git","clone_url":"https://github.com/dkogan/sysdig.git","svn_url":"https://github.com/dkogan/sysdig","homepage":null,"size":7037,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"draios:dev","ref":"dev","sha":"632ff863c4da88fd59002b09a398b667cb5a87ed","user":{"login":"draios","id":5068817,"avatar_url":"https://avatars.githubusercontent.com/u/5068817?v=3","gravatar_id":"","url":"https://api.github.com/users/draios","html_url":"https://github.com/draios","followers_url":"https://api.github.com/users/draios/followers","following_url":"https://api.github.com/users/draios/following{/other_user}","gists_url":"https://api.github.com/users/draios/gists{/gist_id}","starred_url":"https://api.github.com/users/draios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/draios/subscriptions","organizations_url":"https://api.github.com/users/draios/orgs","repos_url":"https://api.github.com/users/draios/repos","events_url":"https://api.github.com/users/draios/events{/privacy}","received_events_url":"https://api.github.com/users/draios/received_events","type":"Organization","site_admin":false},"repo":{"id":15926180,"name":"sysdig","full_name":"draios/sysdig","owner":{"login":"draios","id":5068817,"avatar_url":"https://avatars.githubusercontent.com/u/5068817?v=3","gravatar_id":"","url":"https://api.github.com/users/draios","html_url":"https://github.com/draios","followers_url":"https://api.github.com/users/draios/followers","following_url":"https://api.github.com/users/draios/following{/other_user}","gists_url":"https://api.github.com/users/draios/gists{/gist_id}","starred_url":"https://api.github.com/users/draios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/draios/subscriptions","organizations_url":"https://api.github.com/users/draios/orgs","repos_url":"https://api.github.com/users/draios/repos","events_url":"https://api.github.com/users/draios/events{/privacy}","received_events_url":"https://api.github.com/users/draios/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/draios/sysdig","description":"Linux system exploration and troubleshooting tool with first class support for containers","fork":false,"url":"https://api.github.com/repos/draios/sysdig","forks_url":"https://api.github.com/repos/draios/sysdig/forks","keys_url":"https://api.github.com/repos/draios/sysdig/keys{/key_id}","collaborators_url":"https://api.github.com/repos/draios/sysdig/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/draios/sysdig/teams","hooks_url":"https://api.github.com/repos/draios/sysdig/hooks","issue_events_url":"https://api.github.com/repos/draios/sysdig/issues/events{/number}","events_url":"https://api.github.com/repos/draios/sysdig/events","assignees_url":"https://api.github.com/repos/draios/sysdig/assignees{/user}","branches_url":"https://api.github.com/repos/draios/sysdig/branches{/branch}","tags_url":"https://api.github.com/repos/draios/sysdig/tags","blobs_url":"https://api.github.com/repos/draios/sysdig/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/draios/sysdig/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/draios/sysdig/git/refs{/sha}","trees_url":"https://api.github.com/repos/draios/sysdig/git/trees{/sha}","statuses_url":"https://api.github.com/repos/draios/sysdig/statuses/{sha}","languages_url":"https://api.github.com/repos/draios/sysdig/languages","stargazers_url":"https://api.github.com/repos/draios/sysdig/stargazers","contributors_url":"https://api.github.com/repos/draios/sysdig/contributors","subscribers_url":"https://api.github.com/repos/draios/sysdig/subscribers","subscription_url":"https://api.github.com/repos/draios/sysdig/subscription","commits_url":"https://api.github.com/repos/draios/sysdig/commits{/sha}","git_commits_url":"https://api.github.com/repos/draios/sysdig/git/commits{/sha}","comments_url":"https://api.github.com/repos/draios/sysdig/comments{/number}","issue_comment_url":"https://api.github.com/repos/draios/sysdig/issues/comments{/number}","contents_url":"https://api.github.com/repos/draios/sysdig/contents/{+path}","compare_url":"https://api.github.com/repos/draios/sysdig/compare/{base}...{head}","merges_url":"https://api.github.com/repos/draios/sysdig/merges","archive_url":"https://api.github.com/repos/draios/sysdig/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/draios/sysdig/downloads","issues_url":"https://api.github.com/repos/draios/sysdig/issues{/number}","pulls_url":"https://api.github.com/repos/draios/sysdig/pulls{/number}","milestones_url":"https://api.github.com/repos/draios/sysdig/milestones{/number}","notifications_url":"https://api.github.com/repos/draios/sysdig/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/draios/sysdig/labels{/name}","releases_url":"https://api.github.com/repos/draios/sysdig/releases{/id}","created_at":"2014-01-15T05:45:17Z","updated_at":"2015-09-09T17:30:26Z","pushed_at":"2015-09-09T01:00:26Z","git_url":"git://github.com/draios/sysdig.git","ssh_url":"git@github.com:draios/sysdig.git","clone_url":"https://github.com/draios/sysdig.git","svn_url":"https://github.com/draios/sysdig","homepage":"http://www.sysdig.org/","size":15733,"stargazers_count":2741,"watchers_count":2741,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":228,"mirror_url":null,"open_issues_count":78,"forks":228,"open_issues":78,"watchers":2741,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/draios/sysdig/pulls/432"},"html":{"href":"https://github.com/draios/sysdig/pull/432"},"issue":{"href":"https://api.github.com/repos/draios/sysdig/issues/432"},"comments":{"href":"https://api.github.com/repos/draios/sysdig/issues/432/comments"},"review_comments":{"href":"https://api.github.com/repos/draios/sysdig/pulls/432/comments"},"review_comment":{"href":"https://api.github.com/repos/draios/sysdig/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/draios/sysdig/pulls/432/commits"},"statuses":{"href":"https://api.github.com/repos/draios/sysdig/statuses/282ab94f8214c75975d6e14e084f83e5ed48edf2"}}}}