OS Manuals

/usr/bin/pfunct

dwarf manipulation utilities

From pahole 1.32-r0 (os), captured 2026-11-05 by running pfunct --help (exit 0). permalink

Usage: pfunct [OPTION...] FILE

  -a, --addr=ADDR            show just the function that where ADDR is
  -A, --all                  show all functions that match filter, or show all
                             function prototypes if no filter is specified
      --btf_base=PATH        Path to the base BTF file for split BTF input
  -b, --expand_types         Expand types needed by the prototype
      --compile[=FUNCTION]   Generate compilable source code with types
                             expanded (Default all functions)
  -c, --class=CLASS          functions that have CLASS pointer parameters
      --devel_version        Print development version with git SHA (e.g.,
                             v1.31-189-g437fced33da3393e)
  -E, --externals            show just external functions
  -f, --function=FUNCTION    show just FUNCTION
  -F, --format_path=FORMAT_LIST   List of debugging formats to try
  -g, --goto_labels          show number of goto labels
  -G, --cc_uninlined         declared inline, uninlined by compiler
  -H, --cc_inlined           not declared inline, inlined by compiler
  -i, --inline_expansions    show inline expansions
  -I, --inline_expansions_stats   show inline expansions stats
  -l, --decl_info            show source code info
      --no_parm_names        Don't show parameter names
  -N, --function_name_len    show size of functions names
  -p, --nr_parms             show number of parameters
  -P, --prototypes           show function prototypes
      --symtab[=NAME]        show symbol table NAME (Default .symtab)
  -s, --sizes                show size of functions
  -S, --nr_variables         show number of variables
  -t, --total_inline_stats   show Multi-CU total inline expansions stats
  -T, --variables            show variables
  -V, --verbose              be verbose
  -?, --help                 Give this help list
      --usage                Give a short usage message
      --version              Print program version

Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.
Options (31)
OptionDescriptionSource
-a, --addr ADDRshow just the function that where ADDR ishelp + man
-A, --allshow all functions that match filter, or show all function prototypes if no filter is specifiedhelp
--btf_base PATHUse PATH as the base BTF when loading split BTF.help + man
-b, --expand_typesExpand types needed by the prototype.help + man
--compile FUNCTIONGenerate compilable source code with types expanded (Default all functions).help + man
-c, --class CLASSFilter for functions that have CLASS pointer parameters.help + man
--devel_versionPrint development version with git SHA (e.g., v1.31-189-g437fced33da3393e)help
-E, --externalsShow just external functions (DWARF only).help + man
-f, --function FUNCTIONShow just FUNCTION.help + man
-F, --format_path FORMAT_LISTAllows specifying a list of debugging formats to try, in order.help + man
-g, --goto_labelsShow number of goto labels (DWARF only).help + man
-G, --cc_uninlineddeclared inline, uninlined by compilerhelp
-H, --cc_inlinedNot declared inline, inlined by compiler (DWARF only).help + man
-i, --inline_expansionsShow inline expansion stats (DWARF only).help + man
-I, --inline_expansions_statsshow inline expansions statshelp
-l, --decl_infoShow source code info.help + man
--no_parm_namesDo not show parameter names.help + man
-N, --function_name_lenshow size of functions nameshelp + man
-p, --nr_parmsShow number of parameters.help + man
-P, --prototypes, --show_function_prototypesShow function prototypes.help + man
--symtab NAMEShow symbol table NAME (default .symtab).help + man
-s, --sizesShow sizes of functions.help + man
-S, --nr_variablesShow number of variables.help + man
-t, --total_inline_statsShow multi-CU total inline expansion stats (DWARF only).help + man
-T, --variablesShow variables.help + man
-V, --verboseBe verbose.help + man
-?, --helpGive this help listhelp
--usageGive a short usage messagehelp
--versionPrint program versionhelp
-C, --class_name CLASS_NAMESShow just these classes. (in the manual page but not in --help)man
-G--cc_unlinlinedDeclared inline, uninlined by the compiler (DWARF only). (in the manual page but not in --help)man
Examples (4) from the manual page, untested

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.