[BACK]Return to gprof.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / gprof

Diff for /src/usr.bin/gprof/gprof.c between version 1.26 and 1.27

version 1.26, 2016/10/08 19:55:39 version 1.27, 2021/01/27 07:18:41
Line 37 
Line 37 
 static struct gmonhdr   gmonhdr;  static struct gmonhdr   gmonhdr;
 extern char *__progname;  extern char *__progname;
   
   long    hz;
   char    *a_outname;
   char    *gmonname;
   nltype  *nl;                    /* the whole namelist */
   nltype  *npe;                   /* the virtual end of the namelist */
   int     nname;                  /* the number of function names */
   arctype *archead;               /* the head of arcs in current cycle list */
   cltype  *cyclehead;             /* the head of the list */
   int     cyclecnt;               /* the number of cycles found */
   nltype  *cyclenl;               /* cycle header namelist */
   int     ncycle;                 /* number of cycles discovered */
   int     debug;
   UNIT    *samples;
   unsigned long   s_lowpc;        /* lowpc from the profile file */
   unsigned long   s_highpc;       /* highpc from the profile file */
   unsigned long   lowpc, highpc;  /* range profiled, in UNIT's */
   unsigned sampbytes;             /* number of bytes of samples */
   int     nsamples;               /* number of samples */
   double  actime;                 /* accumulated time thus far for putprofline */
   double  totime;                 /* total time for all routines */
   double  printtime;              /* total of time being printed */
   double  scale;                  /* scale factor converting samples to pc */
   unsigned char   *textspace;     /* text space of a.out in core */
   int     cyclethreshold;         /* with -C, minimum cycle size to ignore */
   bool    aflag;                          /* suppress static functions */
   bool    bflag;                          /* blurbs, too */
   bool    cflag;                          /* discovered call graph, too */
   bool    Cflag;                          /* find cut-set to eliminate cycles */
   bool    dflag;                          /* debugging options */
   bool    eflag;                          /* specific functions excluded */
   bool    Eflag;                          /* functions excluded with time */
   bool    fflag;                          /* specific functions requested */
   bool    Fflag;                          /* functions requested with time */
   bool    kflag;                          /* arcs to be deleted */
   bool    sflag;                          /* sum multiple gmon.out files */
   bool    zflag;                          /* zero time/called functions, too */
   
 int  int
 main(int argc, char *argv[])  main(int argc, char *argv[])
 {  {

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27