jkoshy 3cade8d074 MFP4:
- pmcstat(8) gprof output mode fixes:

  lib/libpmc/pmclog.{c,h}, sys/sys/pmclog.h:
  + Add a 'is_usermode' field to the PMCLOG_PCSAMPLE event
  + Add an 'entryaddr' field to the PMCLOG_PROCEXEC event,
    so that pmcstat(8) can determine where the runtime loader
    /libexec/ld-elf.so.1 is getting loaded.

  sys/kern/kern_exec.c:
  + Use a local struct to group the entry address of the image being
    exec()'ed and the process credential changed flag to the exec
    handling hook inside hwpmc(4).

  usr.sbin/pmcstat/*:
  + Support "-k kernelpath", "-D sampledir".
  + Implement the ELF bits of 'gmon.out' profile generation in a new
    file "pmcstat_log.c".  Move all log related functions to this
    file.
  + Move local definitions and prototypes to "pmcstat.h"

- Other bug fixes:
  + lib/libpmc/pmclog.c: correctly handle EOF in pmclog_read().
  + sys/dev/hwpmc_mod.c: unconditionally log a PROCEXIT event to all
    attached PMCs when a process exits.
  + sys/sys/pmc.h: correct a function prototype.
  + Improve usage checks in pmcstat(8).

Approved by:	re (blanket hwpmc)
2005-06-30 19:01:26 +00:00
..
2005-03-17 08:39:12 +00:00
2005-06-15 19:04:04 +00:00
2005-04-22 18:57:32 +00:00
2005-06-15 19:04:04 +00:00
2005-02-13 22:25:33 +00:00
2005-02-13 23:45:54 +00:00
2005-02-09 18:07:17 +00:00
2005-06-30 06:35:51 +00:00
2005-02-13 23:45:54 +00:00
2005-02-14 18:40:31 +00:00
2005-05-24 10:10:38 +00:00
2005-02-09 18:07:17 +00:00
2005-01-28 17:01:54 +00:00
2005-06-16 21:53:41 +00:00
2005-04-22 18:57:32 +00:00
2005-06-17 08:14:42 +00:00
2005-06-30 19:01:26 +00:00
2005-06-04 10:48:21 +00:00
2005-06-15 19:04:04 +00:00
2005-01-21 10:35:40 +00:00
2005-04-23 02:20:35 +00:00
2005-02-13 23:45:54 +00:00
2005-06-03 15:25:13 +00:00
2005-06-16 21:56:03 +00:00