{
    "mode": "man",
    "parameter": "GPROFNG.1",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/GPROFNG.1/1/json",
    "generated": "2026-11-10T01:35:36Z",
    "synopsis": "gprofng [option(s)] action [qualifier] [option(s)] target [options]",
    "sections": {
        "NAME": {
            "content": "gprofng - The next generation GNU application profiling tool\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "gprofng [option(s)] action [qualifier] [option(s)] target [options]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This is the driver for the gprofng tools suite to gather and analyze performance data.\n\nThe driver executes the action specified.  An example of an action is collect to collect\nperformance data.  Depending on the action, a qualifier may be needed to further define the\ncommand.  The last item is the target that the command applies to.\n\nThere are three places where options are supported.  The driver supports options.  These can\nbe found below.  The action, possibly in combination with the qualifier also supports\noptions.  A description of these can be found in the man page for the command.  Any options\nneeded to execute the target command should follow the target name.\n\nFor example, to collect performance data for an application called a.out and store the\nresults in experiment directory mydata.er, the following command may be used:\n\n$ gprofng collect app -o mydata.er a.out -t 2\n\nIn this example, the action is collect, the qualifier is app, the single argument to the\ncommand is \"-o mydata.er\" and the target is a.out.  The target command is invoked with the -t\n2 option.\n\nIf gprofng is executed without any additional option, action, or target, a usage overview is\nprinted.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "--version\nPrint the version number and exit.\n\n--help\nPrint usage information and exit.\n",
            "subsections": []
        },
        "ENVIRONMENT": {
            "content": "The following environment variables are supported:\n\nGPROFNGMAXCALLSTACKDEPTH\nSet the depth of the call stack (default is 256).\n\nGPROFNGUSEJAVAOPTIONS\nMay be set when profiling a C/C++ application that uses dlopen() to execute Java code.\n\nGPROFNGALLOWCOREDUMP\nSet  this  variable  to  allow  a core file to be generated; otherwise an error report is\ncreated on /tmp.\n\nGPROFNGARCHIVE\nUse this variable  to  define  the  settings  for  automatic  archiving  upon  experiment\nrecording completion.\n\nGPROFNGARCHIVECOMMONDIR\nSet this variable to the location of the common archive.\n\nGPROFNGJAVAMAXCALLSTACKDEPTH\nSet  the  depth of the Java call stack; the default is 256; set to 0 to disable capturing\nof call stacks.\n\nGPROFNGJAVANATIVEMAXCALLSTACKDEPTH\nSet the depth of the Java native call stack; the default is 256;  set  to  0  to  disable\ncapturing of call stacks (JNI and assembly call stacks are not captured).\n\nGPROFNGSYSCONFDIR\nSet  the  path  to the gprofng.rc configuration file.  By default, this file is placed in\nthe etc subdirectory of the binutils installation directory.  In case  an  RPM  has  been\nused for the installation, this file is in directory /etc.\n\nWhen  building  and  installing  from  the  source,  the  user  can  set the path to this\nconfiguration file to a non-default location.  If this is the case, the user may set  the\n\"GPROFNGSYSCONFDIR\" environment variable to point to this location.\n\nOtherwise,  the  gp-display-text,  gp-display-src,  and gp-archive tools cannot find this\nfile.\n",
            "subsections": []
        },
        "NOTES": {
            "content": "The gprofng driver supports the following commands.\n\nCollect performance data:\n\n\"gprofng collect app\"\nCollect application performance data.\n\nDisplay the performance results:\n\n\"gprofng display text\"\nDisplay the performance data in ASCII format.\n\n\"gprofng display html\"\nGenerate an HTML file from one or more experiments.\n\n\"gprofng display gui\"\nStart the GUI.  Note that this tool is not available by default and needs to be installed\nseperately.\n\nMiscellaneous commands:\n\n\"gprofng display src\"\nDisplay source or disassembly with compiler annotations.\n\n\"gprofng archive\"\nInclude binaries and source code in an experiment directory.\n\nIt is also possible to invoke the lower level commands directly, but since these are  subject\nto change, in particular the options, we recommend to use the driver.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "gp-archive(1),  gp-collect-app(1),  gp-display-gui(1), gp-display-html(1), gp-display-src(1),\ngp-display-text(1)\n\nEach gprofng command also supports the --help option.  This lists the  options  and  a  short\ndescription for each option.\n\nFor example this displays the options supported on the gprofng collect app command:\n\n$ gprofng collect app --help\n\nThe  user  guide  for  gprofng  is  maintained  as a Texinfo manual.  If the info and gprofng\nprograms are correctly installed, the  command  info  gprofng  should  give  access  to  this\ndocument.\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright (c) 2022-2024 Free Software Foundation, Inc.\n\nPermission  is granted to copy, distribute and/or modify this document under the terms of the\nGNU Free Documentation License, Version 1.3 or  any  later  version  published  by  the  Free\nSoftware Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-\nCover  Texts.   A  copy  of  the  license  is  included  in  the  section  entitled \"GNU Free\nDocumentation License\".\n\nbinutils-2.42                                2026-02-09                                 GPROFNG.1(1)",
            "subsections": []
        }
    },
    "summary": "gprofng - The next generation GNU application profiling tool",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "gp-archive",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/gp-archive/1/json"
        },
        {
            "name": "gp-collect-app",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/gp-collect-app/1/json"
        },
        {
            "name": "gp-display-gui",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/gp-display-gui/1/json"
        },
        {
            "name": "gp-display-html",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/gp-display-html/1/json"
        },
        {
            "name": "gp-display-src",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/gp-display-src/1/json"
        },
        {
            "name": "gp-display-text",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/gp-display-text/1/json"
        }
    ]
}