readprofile [options]

       This manpage documents version 2.0 of the program.

       The  readprofile  command  uses  the /proc/profile information to print
       ascii data on standard output.  The output is organized in  three  col-
       umns: the first is the number of clock ticks, the second is the name of
       third  is the normalized `load' of the procedure, calculated as a ratio
       between the number of ticks and the length of the procedure.  The  out-
       put is filled with blanks to ease readability.

       -a, --all
              Print  all  symbols  in  the mapfile.  By default the procedures
              with reported ticks are not printed.

       -b, --histbin
              Print individual histogram-bin counts.

       -i, --info
              Info.  This makes readprofile only print the profiling step used
              filing  buffer,  and  is  chosen  during  kernel   configuration
              (through  `make  config'),  or in the kernel's command line.  If
              number is printed.

       -m, --mapfile mapfile
      You should specify the map file  on  cmdline  if  your
              current  kernel  isn't the last one you compiled, or if you keep
     elsewhere.  If the name of the  map  file  ends  with
              `.gz' it is decompressed on the fly.

       -M, --multiplier multiplier
              On  some  architectures it is possible to alter the frequency at
              which the kernel delivers  profiling  interrupts  to  each  CPU.
              kernel).  This option also  resets  the  profiling  buffer,  and
              requires superuser privileges.

       -p, --profile pro-file
              Specify  a  different  profiling  buffer,  which  by  default is
              to `freeze' the kernel profiling at some time and read it later.
              The /proc/profile file can be copied using `cat' or `cp'.  There
              buffer in advance.

       -V, --version
              Display version information and exit.

       -h, --help
              Display help text and exit.

       Browse the profiling buffer ordering by clock ticks:
          readprofile | sort -nr | less

       Print the 20 most loaded procedures:
          readprofile | sort -nr +2 | head -20

       Print only filesystem profile:
          readprofile | grep _ext2

       Look at all the kernel information, with ram addresses:
          readprofile -av | less

       Browse a `freezed' profile buffer for a non current kernel:
          readprofile -p ~/profile.freeze -m /

       Request profiling at 2kHz per CPU, and reset the profiling buffer:
          sudo readprofile -M 20

       /proc/profile changed in the step from 1.2 to 1.3


       module is available, and it wouldn't be easy to build.  To enable  pro-
       filing step.

       Profiling  is  disabled when interrupts are inhibited.  This means that
       for misleading information.

       /proc/profile              A binary snapshot of the profiling buffer.

       The readprofile command is part of the util-linux package and is avail-
       able from Linux  Kernel  Archive  <