)]}'
{"id":"openocd~master~I74faa7de5c7fac6f8c862e338d2de5492a0dd14a","project":"openocd","branch":"master","attention_set":{},"removed_from_attention_set":{"1002273":{"account":{"_account_id":1002273,"name":"Richard Allen","email":"rsaxvc@gmail.com","username":"rsaxvc","status":"@BryghtLabs, @rsaxvc.net"},"last_update":"2026-05-21 00:18:57.000000000","reason":"\u003cGERRIT_ACCOUNT_1002273\u003e replied on the change","reason_account":{"_account_id":1002273,"name":"Richard Allen","email":"rsaxvc@gmail.com","username":"rsaxvc","status":"@BryghtLabs, @rsaxvc.net"}},"1000021":{"account":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"last_update":"2026-05-30 18:17:01.000000000","reason":"removed on reply"}},"hashtags":[],"change_id":"I74faa7de5c7fac6f8c862e338d2de5492a0dd14a","subject":"target: profile: avoid division by zero","status":"MERGED","created":"2026-05-18 09:05:40.000000000","updated":"2026-05-30 18:17:05.000000000","submitted":"2026-05-30 18:17:05.000000000","submitter":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"total_comment_count":2,"unresolved_comment_count":0,"has_review_started":true,"submission_id":"9659","meta_rev_id":"d6c5d56982f749b5b79f043debf1b20132c38147","_number":9659,"owner":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"all":[{"value":0,"_account_id":1002273,"name":"Richard Allen","email":"rsaxvc@gmail.com","username":"rsaxvc","status":"@BryghtLabs, @rsaxvc.net"},{"value":0,"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},{"tag":"autogenerated:gerrit:merged","value":1,"date":"2026-05-30 18:17:05.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]}],"values":{"-1":"Fails"," 0":"No score","+1":"Verified"},"description":"","default_value":0},"Code-Review":{"approved":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"all":[{"tag":"autogenerated:gerrit:merged","value":1,"date":"2026-05-30 18:17:05.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":1002273,"name":"Richard Allen","email":"rsaxvc@gmail.com","username":"rsaxvc","status":"@BryghtLabs, @rsaxvc.net"},{"tag":"autogenerated:gerrit:merged","value":2,"date":"2026-05-30 18:17:05.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},{"value":0,"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]}],"values":{"-2":"This shall not be merged","-1":"I would prefer this is not merged as is"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me, approved"},"description":"","default_value":0}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},{"_account_id":1002273,"name":"Richard Allen","email":"rsaxvc@gmail.com","username":"rsaxvc","status":"@BryghtLabs, @rsaxvc.net"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2026-05-18 09:05:40.000000000","updated_by":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"reviewer":{"_account_id":1002273,"name":"Richard Allen","email":"rsaxvc@gmail.com","username":"rsaxvc","status":"@BryghtLabs, @rsaxvc.net"},"state":"REVIEWER"},{"updated":"2026-05-18 09:05:54.000000000","updated_by":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"reviewer":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"state":"CC"},{"updated":"2026-05-18 09:30:01.000000000","updated_by":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"reviewer":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"state":"REVIEWER"}],"messages":[{"id":"7a9673a2c546a872cb46e5fc7b96eb4ea213d817","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2026-05-18 09:05:40.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"b7702d260940125955192ffc67354fbb5b77b914","tag":"autogenerated:jenkins-gerrit-trigger","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2026-05-18 09:30:01.000000000","message":"Patch Set 1: Verified+1\n\nBuild Successful \n\nhttps://build.openocd.org/job/openocd-gerrit-build/22352/ : SUCCESS\n\nhttps://build.openocd.org/job/openocd-gerrit/23252/ : SUCCESS","accounts_in_message":[],"_revision_number":1},{"id":"2280a0dd4e768c2349da13c637e786812490fc76","author":{"_account_id":1002273,"name":"Richard Allen","email":"rsaxvc@gmail.com","username":"rsaxvc","status":"@BryghtLabs, @rsaxvc.net"},"real_author":{"_account_id":1002273,"name":"Richard Allen","email":"rsaxvc@gmail.com","username":"rsaxvc","status":"@BryghtLabs, @rsaxvc.net"},"date":"2026-05-21 00:18:57.000000000","message":"Patch Set 1: Code-Review+1\n\n(2 comments)","accounts_in_message":[],"_revision_number":1},{"id":"1e903bdf75ede917a00ce35c84bec0d901b7d10b","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2026-05-30 18:17:01.000000000","message":"Patch Set 1: Code-Review+2","accounts_in_message":[],"_revision_number":1},{"id":"d6c5d56982f749b5b79f043debf1b20132c38147","tag":"autogenerated:gerrit:merged","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2026-05-30 18:17:05.000000000","message":"Change has been successfully cherry-picked as fe239d9ffe8745effcd58e825e7169dd902c5c22","accounts_in_message":[],"_revision_number":2}],"current_revision":"fe239d9ffe8745effcd58e825e7169dd902c5c22","revisions":{"dc9ec73349b432652b52f2db70e230aab1366bfe":{"kind":"REWORK","_number":1,"created":"2026-05-18 09:05:40.000000000","uploader":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"ref":"refs/changes/59/9659/1","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/59/9659/1","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/59/9659/1 \u0026\u0026 git checkout -b change-9659 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/59/9659/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/59/9659/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/59/9659/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/59/9659/1","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/59/9659/1 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"103cde964855ab5693e15f3b0cefbdb10027ba0d","subject":"adapter/remote-bitbang: Drop unused #define"}],"author":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2026-05-18 08:56:07.000000000","tz":120},"committer":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2026-05-18 09:04:37.000000000","tz":120},"subject":"target: profile: avoid division by zero","message":"target: profile: avoid division by zero\n\nIssue detected by scan-build.\n\nThe function target_profiling() can return with num_of_samples\u003d\u003d0\nand this will trigger a division by zero.\n\nCheck the value of num_of_samples before continuing.\nWhile there, simplify the return path and the return value.\n\nFixes: dcf628298534 (\"target: filter and sort pc samples before storing\")\nChange-Id: I74faa7de5c7fac6f8c862e338d2de5492a0dd14a\nSigned-off-by: Antonio Borneo \u003cborneo.antonio@gmail.com\u003e\n"}},"fe239d9ffe8745effcd58e825e7169dd902c5c22":{"kind":"REWORK","_number":2,"created":"2026-05-30 18:17:05.000000000","uploader":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"ref":"refs/changes/59/9659/2","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/59/9659/2","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/59/9659/2 \u0026\u0026 git checkout -b change-9659 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/59/9659/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/59/9659/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/59/9659/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/59/9659/2","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/59/9659/2 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"9013ad2e5ebbb2e64f3af1c75cc33164f93c4a08","subject":"adapter/jtag-dpi: Use getaddrinfo() to support hostnames and IPv6"}],"author":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2026-05-18 08:56:07.000000000","tz":120},"committer":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2026-05-30 18:17:05.000000000","tz":0},"subject":"target: profile: avoid division by zero","message":"target: profile: avoid division by zero\n\nIssue detected by scan-build.\n\nThe function target_profiling() can return with num_of_samples\u003d\u003d0\nand this will trigger a division by zero.\n\nCheck the value of num_of_samples before continuing.\nWhile there, simplify the return path and the return value.\n\nFixes: dcf628298534 (\"target: filter and sort pc samples before storing\")\nChange-Id: I74faa7de5c7fac6f8c862e338d2de5492a0dd14a\nSigned-off-by: Antonio Borneo \u003cborneo.antonio@gmail.com\u003e\nReviewed-on: https://review.openocd.org/c/openocd/+/9659\nTested-by: jenkins\nReviewed-by: Richard Allen \u003crsaxvc@gmail.com\u003e\n"}}},"requirements":[],"submit_records":[{"rule_name":"gerrit~DefaultSubmitRule","status":"CLOSED","labels":[{"label":"Verified","status":"OK","applied_by":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]}},{"label":"Code-Review","status":"OK","applied_by":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"}}]}],"submit_requirements":[{"name":"Verified","status":"SATISFIED","is_legacy":true,"submittability_expression_result":{"expression":"label:Verified\u003dMAX -label:Verified\u003dMIN","fulfilled":true,"status":"PASS","passing_atoms":["label:Verified\u003dMAX","-label:Verified\u003dMIN"],"failing_atoms":[]}},{"name":"Code-Review","status":"SATISFIED","is_legacy":true,"submittability_expression_result":{"expression":"label:Code-Review\u003dMAX -label:Code-Review\u003dMIN","fulfilled":true,"status":"PASS","passing_atoms":["label:Code-Review\u003dMAX","-label:Code-Review\u003dMIN"],"failing_atoms":[]}}]}
