{"id":13647239,"url":"https://github.com/shioyadan/Konata","last_synced_at":"2025-04-22T02:31:00.791Z","repository":{"id":50935517,"uuid":"89604584","full_name":"shioyadan/Konata","owner":"shioyadan","description":"Konata is an instruction pipeline visualizer for Onikiri2-Kanata/Gem5-O3PipeView formats. You can download the pre-built binaries from https://github.com/shioyadan/Konata/releases","archived":false,"fork":false,"pushed_at":"2024-04-08T12:14:08.000Z","size":1163,"stargazers_count":406,"open_issues_count":9,"forks_count":38,"subscribers_count":14,"default_branch":"master","last_synced_at":"2024-12-13T06:32:12.989Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shioyadan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-27T14:09:24.000Z","updated_at":"2024-12-12T14:12:53.000Z","dependencies_parsed_at":"2024-01-07T01:18:04.751Z","dependency_job_id":"e7802090-2061-431c-9dca-cab3785772ce","html_url":"https://github.com/shioyadan/Konata","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shioyadan%2FKonata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shioyadan%2FKonata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shioyadan%2FKonata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shioyadan%2FKonata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shioyadan","download_url":"https://codeload.github.com/shioyadan/Konata/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250163593,"owners_count":21385265,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T01:03:25.631Z","updated_at":"2025-04-22T02:31:00.365Z","avatar_url":"https://github.com/shioyadan.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Waveform Viewers"],"sub_categories":[],"readme":"# Konata\n\n* Konata is an instruction pipeline visualizer for Onikiri2-Kanata/Gem5-O3PipeView formats.\n* ASPLOS 2018 learning gem5 tutorial presentation is [here](https://github.com/shioyadan/Konata/wiki/gem5-konata.pdf\n)\n* The Onikiri2-Kanata format is described in [here](docs/kanata-log-format.md). It can represent a more detailed pipeline behavior than Gem5-O3PipeView.\n\n![demo](https://github.com/shioyadan/Konata/wiki/images/konata.gif)\n\n\n## Installation\n\nThere are two ways to launch Konata.\nIf you fail to launch a pre-built binary, please try the second way.\n\n1. Extract an archive and launch an executable file (konata.exe or konata).\n    * Pre-built binaries are available from [here](https://github.com/shioyadan/Konata/releases).\n2. Launch from this repository.\n    1. Install node.js from https://nodejs.org\n    2. Clone this repository.\n    3. Launch install.bat (Windows) or install.sh (Linux/MacOS).\n    4. Launch Konata from konata.vbs (Windows) or konata.sh (Linux/MacOS).\n\n\n## Usage\n\n### Basic\n\n1. Generate a trace log from gem5 with the O3 CPU model\n    * Execute gem5 with the following flags\n    * This example is from http://www.m5sim.org/Visualization\n    ```\n    $ ./build/ARM/gem5.opt \\\n        --debug-flags=O3PipeView \\\n        --debug-start=\u003cfirst tick of interest\u003e \\\n        --debug-file=trace.out \\\n        configs/example/se.py \\\n        --cpu-type=detailed \\\n        --caches -c \u003cpath to binary\u003e \\\n        -m \u003clast cycle of interest\u003e\n    ```\n2. Load a generated \"trace.out\" to Konata\n    * from a menu in a window or using drag\u0026drop\n3. If you use ```O3CPUAll``` as well as ```O3PipeView``` as follows, Konata shows more detailed CPU log and visualizes dependency between instructions. \n    ```\n    --debug-flags=O3PipeView,O3CPUAll\n    ```\n\n### Keyboard\n\n* mouse wheel up, key up: scroll up\n* mouse wheel down, key down: scroll down\n* ctrl + mouse wheel up, key \"+\", ctrl+key up: zoom in\n* ctrl + mouse wheel down, key \"-\", ctrl+key down: zoom out\n* ctrl + f, F3, shift+F3: find a string \n* F1, ctrl+shift+p: open a command palette\n\n### Tips\n\n* If you miss pipelines in a right pane, you can move to pipelines by click \"Adjust position\" in a right-click menu.\n* You can visually compare two traces as follows:\n    1. Load two trace files\n    2. Right-click and select \"Synchronized school\" \u0026 \"Transparent mode\"\n    3. Right-click and select a color scheme\n    4. Move to another tab and adjust a position with the transparent mode\n* If you cannot launch Konata, try to install the following runtimes (or try to install the latest Google Chrome, because it uses the same runtimes).\n    ```\n    sudo apt install \\\n        libgconf-2-4 \\\n        libgtk-3-0 \\\n        libxss1 \\\n        libnss3 \\\n        libasound2 \\\n        libx11-xcb1 \\\n        libcanberra-gtk3-module \\\n        libgbm-dev\n    ```\n* In ```O3CPUAll``` mode, Konata associates each line in trace.out with each instruction by tracking ```[sn:\u003cserial number\u003e]```. If you output custom log with the above serial information, Konata shows your custom log.\n\n\n## Development\n\n* Install dependent runtimes as follows or use Dockerfile included in a source tree\n    ```\n    # Install node.js/npm\n    sudo apt install nodejs\n\n    # Install electron/electron-packager\n    # Since electron is huge, they are installed globally.\n    npm -g install electron\n    npm -g install electron-packager\n\n    # Run and build\n    make init   # Setup libraries\n    make        # Run Konata\n    make pack   # Build \u0026 pack Konata for Windows/Linux/Mac\n    ```\n\n## License\n\nCopyright (C) 2016-2022 Ryota Shioya \u003cshioya@ci.i.u-tokyo.ac.jp\u003e\n\nThis application is released under the 3-Clause BSD License, see LICENSE.md.\nThis application bundles ELECTRON and many third-party packages in accordance with \nthe licenses presented in THIRD-PARTY-LICENSES.md.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshioyadan%2FKonata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshioyadan%2FKonata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshioyadan%2FKonata/lists"}