| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
| |
0x3C: /* Per Intel document 325462-045US 01/2013. */
Add manpage to document all the goodness that is available in this
processor model.
Submitted by: hiren panchasara <hiren.panchasara@gmail.com>
Reviewed by: jimharris, sbruno
Obtained from: Yahoo! Inc.
MFC after: 2 weeks
|
|\ |
|
| |
| |
| |
| |
| | |
Reviewed by: mav
MFC after: 1 month
|
| |
| |
| |
| | |
Reviewed by: fabient
|
| |
| |
| |
| |
| |
| | |
This at least fixes -n option of pmcstat.
Reviewed by: fabient
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
their "write" versions.
Sponsored by: EMC / Isilon storage division
|
|/
|
|
|
|
|
|
| |
* VM_OBJECT_LOCK and VM_OBJECT_UNLOCK are mapped to write operations
* VM_OBJECT_SLEEP() is introduced as a general purpose primitve to
get a sleep operation using a VM_OBJECT_LOCK() as protection
* The approach must bear with vm_pager.h namespace pollution so many
files require including directly rwlock.h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
case 0x3E: /* Per Intel document 325462-045US 01/2013. */
Add manpage to document all the goodness that is available in this
processor model.
No support for uncore events at this time.
Submitted by: hiren panchasara <hiren.panchasara@gmail.com>
Reviewed by: davide, jimharris, sbruno
Obtained from: Yahoo! Inc.
MFC after: 2 weeks
|
|
|
|
|
| |
Submitted by: hiren panchasara <hiren.panchasara@gmail.com>
Obtained from: Yahoo! Inc
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
executed. This means past the point where userret() is generally
executed.
Skip the td_pinned check if a callchain tracing is currently happening
and add a more robust check to pmc_capture_user_callchain() in order to
catch td_pinned leak past ast() in hwpmc case.
Reported and tested by: fabient
MFC after: 1 week
X-MFC: r240246
|
|
|
|
|
|
|
| |
Submitted by: hiren panchasara <hiren.panchasara@gmail.com>
Reviewed by: jimharris@ sbruno@
Obtained from: Yahoo! Inc.
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
| |
In particular, do not lock Giant conditionally when calling into the
filesystem module, remove the VFS_LOCK_GIANT() and related
macros. Stop handling buffers belonging to non-mpsafe filesystems.
The VFS_VERSION is bumped to indicate the interface change which does
not result in the interface signatures changes.
Conducted and reviewed by: attilio
Tested by: pho
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(Model 0x2D /* Per Intel document 253669-044US 08/2012. */)
Add manpage to document all the goodness that is available in this
processor model.
No support for uncore events at this time.
Submitted by: hiren panchasara <hiren.panchasara@gmail.com>
Reviewed by: jimharris@ fabient@
Obtained from: Yahoo! Inc.
MFC after: 2 weeks
|
|
|
|
| |
MFC after: 16 days
|
|
|
|
|
|
|
|
|
|
|
| |
trap checks (eg. printtrap()).
Generally this check is not needed anymore, as there is not a legitimate
case where curthread != NULL, after pcpu 0 area has been properly
initialized.
Reviewed by: bde, jhb
MFC after: 1 week
|
|
|
|
|
|
| |
that can run on specific PMC.
MFC after: 1 month
|
|
|
|
|
|
|
|
|
|
| |
Update offcore RSP token for Sandy Bridge.
Note: No uncore support.
Will works on Family 6 Model 3a.
MFC after: 1 month
Tested by: bapt, grehan
|
|
|
|
|
|
|
|
|
| |
Due to some differences in MSRs between Xeon Sandy Bridge and Core Sandy
Bridge (Model 0x2A), wrmsr() may generate in a GP# fault exception and so a
panic of the machine.
Approved by: gnn (mentor)
MFC after: 3 days
|
|
|
|
|
| |
Sponsored by: NETASQ
MFC after: 3 days
|
|
|
|
|
|
| |
Callgraph is not captured, only current location.
Sample system wide profiling: "pmcstat -Sclock.hard -T"
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
| |
counters.
MFC after: 1 week
|
|
|
|
|
|
|
| |
by r233628.
Found by: monthadar, adrian
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
New kernel events can be added at various location for sampling or counting.
This will for example allow easy system profiling whatever the processor is
with known tools like pmcstat(8).
Simultaneous usage of software PMC and hardware PMC is possible, for example
looking at the lock acquire failure, page fault while sampling on
instructions.
Sponsored by: NETASQ
MFC after: 1 month
|
|
|
|
|
|
|
|
| |
- Do not cover error returned by pmc_core_initialize with the
result of pmc_uncore_initialize, fail right away.
- Give a user something to report instead failing silently
Reported by: Alexandr Kovalenko <never@nevermind.kiev.ua>
|
|
|
|
|
|
|
|
|
|
| |
- Exit the thread when soft shutdown is requested
- Wakeup owner thread.
Reproduced/tested by looping pmcstat measurement:
pmcstat -S instructions -O/tmp/test ls
MFC after: 1 week
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
- Replace MIPS24K-specific code with more generic framework that will
make adding new CPU support easier
- Add MIPS24K support for new framework
- Limit backtrace depth to 1 for stability reasons and add option
HWPMC_MIPS_BACKTRACE to override this limitation
|
|
|
|
|
|
| |
- Make kernel backtrace routine more robust by refusing to backtrace
further when encountered function that is possibly modifies SP
value
|
|
|
|
| |
mips24k hwpmc now compiles again.
|
| |
|
|
|
|
|
|
|
| |
This fixes a bug where users would see massively large counts, near
to 2**64 -1, due to the bits not being cleared.
MFC after: 3 weeks
|
|
|
|
|
|
|
|
|
|
|
| |
uncore counting events)
- New manpages with event lists.
- Add MSRs for the Intel Sandy Bridge microarchitecture
Reviewed by: attilio, brueffer, fabient
Approved by: gnn (mentor)
MFC after: 3 weeks
|
|
|
|
|
|
| |
that md is not null before dereferencing it.
PR: kern/156540
|
|
|
|
|
|
| |
Submitted by: Davide Italiano
Reviewed by: gnn
MFC after: 1 week
|
|
|
|
|
| |
Submitted by: Davide Italiano <davide.italiano@gmail.com>
MFC after: 3 days
|
|
|
|
|
| |
Submitted by: Davide Italiano <davide.italiano@gmail.com>
MFC after: 3 days
|
|
|
|
|
|
|
| |
conversions.
Reviewed by: jkoshy
MFC after: 1 week
|
|
|
|
|
| |
Suggested by: jhibbits [1]
MFC after: 3 days
|
|
|
|
|
|
|
| |
Sampling is in progress.
Approved by: nwhitehorn (mentor)
MFC after: 9.0-RELEASE
|
|
|
|
|
| |
Submitted by: Davide Italiano <davide.italiano@gmail.com>
Approved by: brucec
|
|
|
|
|
|
|
|
|
| |
processors with CPUID signature 06_1AH, 06_1EH, and 06_1FH.
Refuse to allocate them on unsupported model.
Submitted by: Davide Italiano <davide.italiano@gmail.com>
MFC after: 1 month
|
|
|
|
|
| |
Submitted by: Davide Italiano <davide italiano at gmail com>
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
| |
This is a bit hackish and should be made more generic (ie, support more than
two hard-coded performance counter+config register pairs) so it can be used
for mips74k and other chips.
All this does is process the initial interrupt event. It doesn't (yet) handle
callgraph events, so even if you route the exception/interrupt to this routine
and flip the bit on, it will hang and crash pmc unless you disable callgraph
support when you enable a sample based PMC.
|
|
|
|
|
|
|
|
| |
As the underlying block is 4KB if the PMC throughput is low the measurement
will be reported on the next tick. pmcstat(8) use the modified flush API to
reclaim current buffer before displaying next top.
MFC after: 1 month
|
|
|
|
|
|
|
|
| |
* Add the interrupt bit in the configuration register
* Correctly set the counter register for the sampling overflow
interrupt. The interrupt is asserted when bit 31 is set.
So set the overflow value at 0x80000000 and subtract the
programmed value as appropriate.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
patch modifies makesyscalls.sh to prefix all of the non-compatibility
calls (e.g. not linux_, freebsd32_) with sys_ and updates the kernel
entry points and all places in the code that use them. It also
fixes an additional name space collision between the kernel function
psignal and the libc function of the same name by renaming the kernel
psignal kern_psignal(). By introducing this change now we will ease future
MFCs that change syscalls.
Reviewed by: rwatson
Approved by: re (bz)
|