| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
- Update (c) years and the manual page's date.
Notes:
svn path=/head/; revision=177162
|
|
|
|
|
|
|
|
|
| |
documentation: set 'errno' and return -1 in case of an error.
Update (c) years.
Notes:
svn path=/head/; revision=177107
|
|
|
|
| |
Notes:
svn path=/head/; revision=177106
|
|
|
|
| |
Notes:
svn path=/head/; revision=175914
|
|
|
|
| |
Notes:
svn path=/head/; revision=174406
|
|
|
|
|
|
|
| |
Sponsored by: FreeBSD Foundation and Google Inc.
Notes:
svn path=/head/; revision=174215
|
|
|
|
| |
Notes:
svn path=/head/; revision=174212
|
|
|
|
|
|
|
|
| |
- Defer detailed descriptions of individual functions in the API to
function-specific manual pages.
Notes:
svn path=/head/; revision=173900
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- pmc_attach(), pmc_detach().
- pmc_capabilities(), pmc_cpuinfo(), pmc_ncpu(), pmc_npmc(), pmc_pmcinfo(),
pmc_width().
- pmc_get_driver_stats().
- pmc_get_msr().
- pmc_read(), pmc_rw(), pmc_write().
- pmc_set().
- pmc_start(), pmc_stop().
Notes:
svn path=/head/; revision=173899
|
|
|
|
|
|
|
|
| |
- Describe functions pmc_configure_logfile(), pmc_flush_logfile() and
pmc_writelog() in their own manual page.
Notes:
svn path=/head/; revision=173889
|
|
|
|
|
|
|
| |
disposition,event,mode,state}' in their own manual page.
Notes:
svn path=/head/; revision=173880
|
|
|
|
| |
Notes:
svn path=/head/; revision=173872
|
|
|
|
| |
Notes:
svn path=/head/; revision=173871
|
|
|
|
| |
Notes:
svn path=/head/; revision=173870
|
|
|
|
|
|
|
|
|
|
|
| |
Update the description of the "p6-div" and "p6-mul" events according
to the "Intel(r) 64 and IA-32 Architectures Software Developers
Manual Volume 3B: System Programming Guide, Part 2, November 2006".
Reported by: Harald Servat <redcrash at gmail dot com> [1]
Notes:
svn path=/head/; revision=168660
|
|
|
|
|
|
|
| |
Reported by: Harald Servat <redcrash at gmail dot com>
Notes:
svn path=/head/; revision=168612
|
|
|
|
|
|
|
| |
Suggested by: "Harald Servat" <redcrash at gmail dot com>
Notes:
svn path=/head/; revision=167903
|
|
|
|
| |
Notes:
svn path=/head/; revision=162385
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Kernel changes:
Inform hwpmc of executable objects brought into the system by
kldload() and mmap(), and of their removal by kldunload() and
munmap(). A helper function linker_hwpmc_list_objects() has been
added to "sys/kern/kern_linker.c" and is used by hwpmc to retrieve
the list of currently loaded kernel modules.
The unused `MAPPINGCHANGE' event has been deprecated in favour
of separate `MAP_IN' and `MAP_OUT' events; this change reduces
space wastage in the log.
Bump the hwpmc's ABI version to "2.0.00". Teach hwpmc(4) to
handle the map change callbacks.
Change the default per-cpu sample buffer size to hold
32 samples (up from 16).
Increment __FreeBSD_version.
libpmc(3) changes:
Update libpmc(3) to deal with the new events in the log file; bring
the pmclog(3) manual page in sync with the code.
pmcstat(8) changes:
Introduce new options to pmcstat(8): "-r" (root fs path), "-M"
(mapfile name), "-q"/"-v" (verbosity control). Option "-k" now
takes a kernel directory as its argument but will also work with
the older invocation syntax.
Rework string handling in pmcstat(8) to use an opaque type for
interned strings. Clean up ELF parsing code and add support for
tracking dynamic object mappings reported by a v2.0.00 hwpmc(4).
Report statistics at the end of a log conversion run depending
on the requested verbosity level.
Reviewed by: jhb, dds (kernel parts of an earlier patch)
Tested by: gallatin (earlier patch)
Notes:
svn path=/head/; revision=157144
|
|
|
|
|
|
|
|
|
| |
line for
pmc.3 and libpmc.c.
Notes:
svn path=/head/; revision=156907
|
|
|
|
|
|
|
| |
not in a halt or sleep state.
Notes:
svn path=/head/; revision=155998
|
|
|
|
| |
Notes:
svn path=/head/; revision=152761
|
|
|
|
| |
Notes:
svn path=/head/; revision=152551
|
|
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=148223
|
|
|
|
|
|
|
|
|
| |
HISTORY section.
MFC after: 3 days
Notes:
svn path=/head/; revision=148222
|
|
|
|
|
|
|
|
|
|
| |
- Change some section numbers to match reality
- For MLINKS to manpages from ports, mention which port installs them
MFC after: 3 days
Notes:
svn path=/head/; revision=148011
|
|
|
|
|
|
|
|
|
| |
error when a log record crosses an internal buffer boundary.
Approved by: re (scottl)
Notes:
svn path=/head/; revision=147864
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Allow libpmc(3) to support P4/EMT64 PMCs on the amd64 architecture
and AMD K8 PMCs on the i386. [2]
Submitted by: ps [1]
Pointy hat: myself [2]
Approved by: re (scottl)
Notes:
svn path=/head/; revision=147759
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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)
Notes:
svn path=/head/; revision=147708
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Clarify the sections on "Cascading P4 PMCs" and
"Precise Event Based Sampling" (1)
- Bump document date.
Reviewed by: jkoshy
Submitted by: jkoshy (1)
Approved by: re (blanket)
Notes:
svn path=/head/; revision=147586
|
|
|
|
|
|
|
|
| |
Reviewed by: jkoshy
Approved by: re (blanket)
Notes:
svn path=/head/; revision=147584
|
|
|
|
| |
Notes:
svn path=/head/; revision=147219
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Implement sampling modes and logging support in hwpmc(4).
- Separate MI and MD parts of hwpmc(4) and allow sharing of
PMC implementations across different architectures.
Add support for P4 (EMT64) style PMCs to the amd64 code.
- New pmcstat(8) options: -E (exit time counts) -W (counts
every context switch), -R (print log file).
- pmc(3) API changes, improve our ability to keep ABI compatibility
in the future. Add more 'alias' names for commonly used events.
- bug fixes & documentation.
Notes:
svn path=/head/; revision=147191
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Have pmcstat(8) and pmccontrol(8) use these APIs.
Return PMC class-related constants (PMC widths and capabilities)
with the OP GETCPUINFO call leaving OP PMCINFO to return only the
dynamic information associated with a PMC (i.e., whether enabled,
owner pid, reload count etc.).
Allow pmc_read() (i.e., OPS PMCRW) on active self-attached PMCs to
get upto-date values from hardware since we can guarantee that the
hardware is running the correct PMC at the time of the call.
Bug fixes:
- (x86 class processors) Fix a bug that prevented an RDPMC
instruction from being recognized as permitted till after the
attached process had context switched out and back in again after
a pmc_start() call.
Tighten the rules for using RDPMC class instructions: a GETMSR
OP is now allowed only after an OP ATTACH has been done by the
PMC's owner to itself. OP GETMSR is not allowed for PMCs that
track descendants, for PMCs attached to processes other than
their owner processes.
- (P4/HTT processors only) Fix a bug that caused the MI and MD
layers to get out of sync. Add a new MD operation 'get_config()'
as part of this fix.
- Allow multiple system-mode PMCs at the same row-index but on
different CPUs to be allocated.
- Reject allocation of an administratively disabled PMC.
Misc. code cleanups and refactoring. Improve a few comments.
Notes:
svn path=/head/; revision=145774
|
|
|
|
| |
Notes:
svn path=/head/; revision=145440
|
|
|
|
| |
Notes:
svn path=/head/; revision=145351
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
us when <sys/pmc.h> is included.
o Replace "#if __i386__" and "#if __amd64__" with the equivalent of
"#ifdef __i386__" and "#ifdef __amd64__" (resp.) These tokens are
not defined on all platforms.
o Conditionally compile pmc_parse_mask() on i386 and amd64 only. It's
only referenced there. This will change when support for other
platforms is added, of course.
Ok'd by: jkoshy@
Notes:
svn path=/head/; revision=145340
|
|
|
|
| |
Notes:
svn path=/head/; revision=145315
|
|
|
|
|
|
|
|
|
| |
for WARNS lines.
Submitted by: ru
Notes:
svn path=/head/; revision=145280
|
|
utilities
and documentation into -CURRENT.
Bump FreeBSD_version.
Reviewed by: alc, jhb (kernel changes)
Notes:
svn path=/head/; revision=145256
|