)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":1002273,"name":"Richard Allen","email":"rsaxvc@gmail.com","username":"rsaxvc","status":"@BryghtLabs, @rsaxvc.net"},"change_message_id":"491c32f422ae2f27074c580a309612355f8ff4f6","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"08b504d6_c95b0d08","updated":"2024-11-29 19:39:53.000000000","message":"Need to fix the committer email.\n\nThis tool isn\u0027t needed for any other profiling work, however.","commit_id":"508a9276380cdee3e363c8fd1565862a593fde9f"},{"author":{"_account_id":1000853,"name":"zapb","display_name":"Marc Schink","email":"dev@zapb.de","username":"zapb"},"change_message_id":"c2e11d0188fad030eb8db7c4d5faac86d3ca7983","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"a1c5eb72_85cb8b18","updated":"2025-02-06 07:55:40.000000000","message":"Hi Richard, is there no tool out there to analyze gmon files?\nThe current code is far away from being acceptable wrt to coding style.","commit_id":"fa20ac5db4be74fa322320a882958bbaaecae692"},{"author":{"_account_id":1002273,"name":"Richard Allen","email":"rsaxvc@gmail.com","username":"rsaxvc","status":"@BryghtLabs, @rsaxvc.net"},"change_message_id":"de9ea7ceabebd4421f2b7bb51bf782bbd1ea22bd","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":2,"id":"93a9de05_04a0d8b9","in_reply_to":"132ed29f_fc7183f0","updated":"2025-02-07 04:14:06.000000000","message":"Also, OpenOCD might not be the best place for such a tool, but since a few of us are working on updates to the profiling system  that impact the generated gmon files I thought it might be handy.","commit_id":"fa20ac5db4be74fa322320a882958bbaaecae692"},{"author":{"_account_id":1002306,"name":"Richard Allen","display_name":"Richard Allen","email":"rsaxvc@rsaxvc.net"},"change_message_id":"d73fd663a9fcc7151be61186cb9127ba1342f1a9","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"85a67314_6ce5c952","in_reply_to":"2dd9eb01_bea986c1","updated":"2025-02-12 22:09:42.000000000","message":"makes sense - I\u0027ve placed it here for now: https://gist.github.com/rsaxvc/fde1c83096fcc8a82a981fc7490fba64","commit_id":"fa20ac5db4be74fa322320a882958bbaaecae692"},{"author":{"_account_id":1000853,"name":"zapb","display_name":"Marc Schink","email":"dev@zapb.de","username":"zapb"},"change_message_id":"35b9e62dd153f02e34337d9e7dd97930632e6a8d","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":2,"id":"2dd9eb01_bea986c1","in_reply_to":"93a9de05_04a0d8b9","updated":"2025-02-12 21:39:18.000000000","message":"PEP8 should be fine. Yes, I\u0027m also not sure if OpenOCD is the best place. Maybe a dedicated repository for Python scripts related to gmon parsing/analyzing would be better. We could add a link to the repo then, or something like that.\n\nThe problem I see is simply that an additional tool increases potential maintenance work and the resources are already very limited.","commit_id":"fa20ac5db4be74fa322320a882958bbaaecae692"},{"author":{"_account_id":1002273,"name":"Richard Allen","email":"rsaxvc@gmail.com","username":"rsaxvc","status":"@BryghtLabs, @rsaxvc.net"},"change_message_id":"dd227239ac8c1ed7d87eb2a04254b4d4fe826f49","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":2,"id":"132ed29f_fc7183f0","in_reply_to":"a1c5eb72_85cb8b18","updated":"2025-02-06 13:06:26.000000000","message":"Hi Marc, I couldn\u0027t find anything that would display the raw histogram data.\n\nIs there an OpenOCD python style-guide? Is it just PEP8?","commit_id":"fa20ac5db4be74fa322320a882958bbaaecae692"}],"tools/scripts/gmon_parse.py":[{"author":{"_account_id":1002273,"name":"Richard Allen","email":"rsaxvc@gmail.com","username":"rsaxvc","status":"@BryghtLabs, @rsaxvc.net"},"change_message_id":"491c32f422ae2f27074c580a309612355f8ff4f6","unresolved":true,"context_lines":[{"line_number":1,"context_line":"#!/usr/bin/env python3"},{"line_number":2,"context_line":"# SPDX-License-Identifier: GPL-2.0"},{"line_number":3,"context_line":"import argparse"},{"line_number":4,"context_line":"import sys"},{"line_number":5,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"33ac4e30_ea1100c0","line":2,"updated":"2024-11-29 19:39:53.000000000","message":"check-patch doesn\u0027t seem to like this license identifier. I got this from another python tool. Not sure how to make this right.","commit_id":"508a9276380cdee3e363c8fd1565862a593fde9f"},{"author":{"_account_id":1002273,"name":"Richard Allen","email":"rsaxvc@gmail.com","username":"rsaxvc","status":"@BryghtLabs, @rsaxvc.net"},"change_message_id":"5b8c1c0e830a0c6e3e48843f6c9e8ff7214eb7df","unresolved":true,"context_lines":[{"line_number":5,"context_line":""},{"line_number":6,"context_line":"parser \u003d argparse.ArgumentParser()"},{"line_number":7,"context_line":"parser.add_argument(\u0027inputFiles\u0027, nargs\u003d\u0027+\u0027, type\u003dargparse.FileType(\u0027rb\u0027))"},{"line_number":8,"context_line":"parser.set_defaults(PSZ\u003d4, baz\u003d\u0027badger\u0027)"},{"line_number":9,"context_line":"parser.add_argument(\u0027--32\u0027, dest\u003d\u0027PSZ\u0027, action\u003d\u0027store_const\u0027, const\u003d4, help\u003d\"32-bit pointers\")"},{"line_number":10,"context_line":"parser.add_argument(\u0027--64\u0027, dest\u003d\u0027PSZ\u0027, action\u003d\u0027store_const\u0027, const\u003d8, help\u003d\"64-bit pointers\")"},{"line_number":11,"context_line":"args \u003d parser.parse_args()"}],"source_content_type":"text/x-python","patch_set":1,"id":"5199913c_f1e3333c","line":8,"updated":"2024-12-12 02:43:55.000000000","message":"remove baz/badger","commit_id":"508a9276380cdee3e363c8fd1565862a593fde9f"},{"author":{"_account_id":1002273,"name":"Richard Allen","email":"rsaxvc@gmail.com","username":"rsaxvc","status":"@BryghtLabs, @rsaxvc.net"},"change_message_id":"dd227239ac8c1ed7d87eb2a04254b4d4fe826f49","unresolved":false,"context_lines":[{"line_number":5,"context_line":""},{"line_number":6,"context_line":"parser \u003d argparse.ArgumentParser()"},{"line_number":7,"context_line":"parser.add_argument(\u0027inputFiles\u0027, nargs\u003d\u0027+\u0027, type\u003dargparse.FileType(\u0027rb\u0027))"},{"line_number":8,"context_line":"parser.set_defaults(PSZ\u003d4, baz\u003d\u0027badger\u0027)"},{"line_number":9,"context_line":"parser.add_argument(\u0027--32\u0027, dest\u003d\u0027PSZ\u0027, action\u003d\u0027store_const\u0027, const\u003d4, help\u003d\"32-bit pointers\")"},{"line_number":10,"context_line":"parser.add_argument(\u0027--64\u0027, dest\u003d\u0027PSZ\u0027, action\u003d\u0027store_const\u0027, const\u003d8, help\u003d\"64-bit pointers\")"},{"line_number":11,"context_line":"args \u003d parser.parse_args()"}],"source_content_type":"text/x-python","patch_set":1,"id":"f784b995_aa4189f3","line":8,"in_reply_to":"5199913c_f1e3333c","updated":"2025-02-06 13:06:26.000000000","message":"Done","commit_id":"508a9276380cdee3e363c8fd1565862a593fde9f"}]}
