{"repo":"ryncsn/memstrack","free":true,"listed":false,"github":"https://github.com/ryncsn/memstrack","clone":"git clone https://github.com/ryncsn/memstrack.git","description":"A memory allocation tracer combined with stack trace.","language":"C","stars":177,"topics":["tracing","memory-allocation","kernel","perf","ftrace","debug","stacktrace"],"license":"GPL-3.0","category":"analytics","readme_excerpt":"Memstrack A runtime memory allocation tracer, like a hot spot analyzer for memory allocation, can help analyze overall memory usage, peak memory usage, kernel module memory usage, all combined with stacktrace. Userspace memory trace is planned and not yet implemented. This tool works by tracing all page-level memory allocation events in kernel (currently supports using perf or ftrace), and actively integrate the events into a stack trace tree. It can also work with kernel's page owner log file and use as a memory usage viewer. Usage To analyze the memory usage of a certain program/module/code, you have to start memstrack before start/load the program, since memstrack can only track the allocation events at runtime. TUI By default, memstrack will show a TUI, showing all memory allocation happened since memstrack is started: Usage Report memstrack can generate a report of memory allocation info during a long period. An example report, which shows the memory usage summary of a typical kdump run on Fedora 32 in a KVM VM: Quick start Installation Fedora/CentOS In Latest Fedora/CentOS, this package is available by default, install it with dnf. Arch Linux In Arch Linux, memstrack and memstrack-git packages are both available in the AUR To install, you can either use an AUR helper or follow the manual procedure as follows: Clone the package: Finally build and install the application: Done! (Thanks to barmadrid for packaging on Arch Linux) Install from source Or, you can also install ","default_branch":null,"files":null,"tree":[],"storefront":"/r/ryncsn","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ryncsn/memstrack/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}