1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
The GNU gprofng GUI is a feature rich graphical user interface for the
GNU gprofng tool. It makes it possible to interactively analyze and
compare gprofng profiling experiments. Users can drill into an
applications profile together with the applications code to gather an
understanding and insight into what an application is doing throughout
its runtime.
The GUI is a Java application utilizing the Swing GUI framework.
1. To build gprofng-gui on GNU/Linux from a released tarball:
$ wget https://ftp.gnu.org/gnu/gprofng-gui/gprofng-gui.VERSION.tar.gz
$ tar xzvf gprofng-gui.VERSION.tar.gz
$ cd gprofng-gui.VERSION
$ mkdir build && cd build/
$ ../configure --prefix=PREFIX && make && make install
2. To build gprofn-gui on GNU/Linux from the development git repo:
$ git clone https://git.savannah.gnu.org/git/gprofng-gui.git
$ cd gprofng-gui
$ autoreconf -i -f
$ mkdir build && cd build/
$ ../configure --prefix=PREFIX && make && make install
This GUI requires gprofng to be installed in the system to be used.
The gprofng profiler is part of the GNU binutils. Make sure to have
installed in your system and available in your PATH. Then you can
launch the GUI using the following gprofng command:
$ gprofng display gui [GUI_OPTIONS] [EXPERIMENT]
REMOTE CONNECTION FROM WINDOWS AND MACOS
The remote analysis feature added to gprofng-gui 2.0 makes it possible to run
the gprofng-gui on a client (including Windows and macOS) and connect with ssh
to remote GNU/Linux servers where gprofng is installed.
To build gprofng-gui on macOS:
- Do (1) or (2) to install the GUI.
To build gprofng-gui on Windows:
- Install JDK and msys2
- Run msys2 and install software:
pacman -Syu # You may need to close and reopen msys2
pacman -S mingw-w64-ucrt-x86_64-gcc
pacman -S autotools
pacman -S git
- Add javac to $PATH, for example:
PATH="$PATH:/c/Program Files/OpenLogic/jre-21.0.6.7-hotspot/bin"
- Do (1) or (2) to install the GUI.
Before connecting to a remote host, configure ssh to connect without password
and questions from ssh.
Check that this command runs without any questions from ssh:
ssh YOUR_SERVER uname -a
Launch the GUI using the following commands:
on Windows
PREFIX/bin/gprofng-gui.ps1
on macOS
PREFIX/bin/gprofng-gui
|