freebsd-nq/sys/dev/hwpmc
Joseph Koshy 151392465f 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
..
hwpmc_alpha.c MFP4: 2005-06-09 19:45:09 +00:00
hwpmc_amd.c Fix a -Wuninitialized warning reported by rwatson. 2005-06-21 06:03:30 +00:00
hwpmc_amd.h MFP4: 2005-06-09 19:45:09 +00:00
hwpmc_arm.c MFP4: 2005-06-09 19:45:09 +00:00
hwpmc_ia64.c MFP4: 2005-06-09 19:45:09 +00:00
hwpmc_logging.c MFP4: 2005-06-30 19:01:26 +00:00
hwpmc_mod.c MFP4: 2005-06-30 19:01:26 +00:00
hwpmc_pentium.c MFP4: 2005-06-09 19:45:09 +00:00
hwpmc_pentium.h MFP4: 2005-06-09 19:45:09 +00:00
hwpmc_piv.c MFP4: 2005-06-09 19:45:09 +00:00
hwpmc_piv.h MFP4: 2005-06-09 19:45:09 +00:00
hwpmc_powerpc.c MFP4: 2005-06-09 19:45:09 +00:00
hwpmc_ppro.c MFP4: 2005-06-09 19:45:09 +00:00
hwpmc_ppro.h MFP4: 2005-06-09 19:45:09 +00:00
hwpmc_sparc64.c MFP4: 2005-06-09 19:45:09 +00:00
hwpmc_x86.c MFP4: 2005-06-09 19:45:09 +00:00
pmc_events.h MFP4: 2005-06-09 19:45:09 +00:00