OPGPROF(1)

πŸ“¦
version 1.4.0 Β· 5 versions
, in opensuse-leap 16.0

πŸ’– NAME πŸ’–

okay so bestie, meet OPGPROF(1) from the General Commands Manual β€” the command is opgprof, and her whole job is to produce gprof-format profile data. iconic behavior, honestly.

✨ SYNOPSIS ✨

opgprof [ options ] [profile specification]

πŸ¦‹ DESCRIPTION πŸ¦‹

opgprof outputs gprof-format profile data for a given binary image, straight from an OProfile session. no cap, that’s the vibe πŸ’…

If you’re like β€œwait, how do I even write profile specifications?” β€” see oprofile(1), bestie. she explains it.

πŸŽ€ OPTIONS πŸŽ€

  • --help / -? / --usage β€” show help message. cute and helpful.
  • --version / -v β€” show version.
  • --verbose / -V [options] β€” give verbose debugging output. yes, she’s talking a lot, but it’s useful.
  • --session-dir=dir_path β€” use the sample database from the specified directory dir_path instead of the default location. If --session-dir is not specified, then opgprof will search for samples in <current_dir>/oprofile_data first. If that directory does not exist, the standard session-dir of /var/lib/oprofile is used.
  • --image-path / -p [paths] β€” comma-separated list of additional paths to search for binaries. This is needed to find modules in kernels 2.6 and upwards. very β€œwhere are the binaries hiding” energy.
  • --root / -R [path] β€” a path to a filesystem to search for additional binaries.
  • --threshold / -t [percentage] β€” only output data for symbols that have more than the given percentage of total samples. picky? no, curated.
  • --output-filename / -o [file] β€” output to the given file instead of the default, gmon.out.

🌸 ENVIRONMENT 🌸

No special environment variables are recognized by opgprof. literally none. zero. zilch. she’s low-maintenance like that 🫢

🧚 FILES 🧚

  • <session_dir>/samples β€” the location of the generated sample files.

🌈 VERSION 🌈

This man page is current for oprofile-1.4.0. periodt.

πŸ‘‘ SEE ALSO πŸ‘‘


That’s the tea πŸ«– β€” this page is serving oprofile-1.4.0 energy from the 4th Berkeley Distribution, dated Thu 28 September 2023. stay slay, bestie πŸ’…βœ¨

πŸ“¦ where this page comes from