Author: mmacy
Date: Wed Jun 19 21:10:13 2019
New Revision: 349217
URL: https://svnweb.freebsd.org/changeset/base/349217
Log:
Tell loader to ignore newer features enabled on the root pool.
There are many new features in ZoF. Most, if not all, do not effect read only
usage.
Encryption in p
Author: mmacy
Date: Wed May 8 18:10:19 2019
New Revision: 347357
URL: https://svnweb.freebsd.org/changeset/base/347357
Log:
Enable sys/disk.h consumers to avoid pulling in networking headers.
The networking headers break ZoF.
Modified:
head/sys/sys/disk.h
Modified: head/sys/sys/disk.h
Author: mmacy
Date: Wed Nov 21 01:24:27 2018
New Revision: 340718
URL: https://svnweb.freebsd.org/changeset/base/340718
Log:
hwpmc: new counters and bug fix MFCs
MFC r340108 and r340149
Added:
stable/12/lib/libpmc/pmu-events/arch/x86/amdfam17h/data-fabric.json
- copied unchanged from r
Author: mmacy
Date: Thu Dec 13 04:40:53 2018
New Revision: 342024
URL: https://svnweb.freebsd.org/changeset/base/342024
Log:
Generalize AES iov optimization
Right now, aesni_cipher_alloc does a bit of special-casing
for CRYPTO_F_IOV, to not do any allocation if the first uio
is large en
Author: mmacy
Date: Wed May 23 17:00:05 2018
New Revision: 334104
URL: https://svnweb.freebsd.org/changeset/base/334104
Log:
epoch: allow for conditionally asserting that the epoch context fields
are unused by zeroing on INVARIANTS builds
Modified:
head/sys/netinet/ip_divert.c
head/sys/ne
Author: mmacy
Date: Wed May 23 17:25:00 2018
New Revision: 334108
URL: https://svnweb.freebsd.org/changeset/base/334108
Log:
hwpmc: add thread id field to callchain and context switch records to allow
filtering
on thread in post-processing.
To generate stacks for just ${THREADID}:
p
Author: mmacy
Date: Wed May 23 17:30:23 2018
New Revision: 334109
URL: https://svnweb.freebsd.org/changeset/base/334109
Log:
UPDATING: note that the pmc callchain ABI has changed
Modified:
head/UPDATING
Modified: head/UPDATING
=
Author: mmacy
Date: Wed May 23 17:44:29 2018
New Revision: 334110
URL: https://svnweb.freebsd.org/changeset/base/334110
Log:
hwppmc: set threadid in callchain records - second part of r334108
Modified:
head/sys/dev/hwpmc/hwpmc_logging.c
head/sys/dev/hwpmc/hwpmc_mod.c
Modified: head/sys/dev
Author: mmacy
Date: Wed May 23 19:55:47 2018
New Revision: 334114
URL: https://svnweb.freebsd.org/changeset/base/334114
Log:
pmc: bump PMC major version to reflect ABI breakage and make warning not
require verbose
Modified:
head/sys/sys/pmc.h
head/usr.sbin/pmcstat/pmcstat_log.c
Modified:
Author: mmacy
Date: Wed May 23 20:50:09 2018
New Revision: 334116
URL: https://svnweb.freebsd.org/changeset/base/334116
Log:
udp: assign flowid to udp sockets round-robin
On a 2x8x2 SKL this increases measured throughput with 64
netperf -H $DUT -t UDP_STREAM -- -m 1
from 590kpps to 1
Author: mmacy
Date: Wed May 23 21:02:14 2018
New Revision: 334118
URL: https://svnweb.freebsd.org/changeset/base/334118
Log:
UDP: further performance improvements on tx
Cumulative throughput while running 64
netperf -H $DUT -t UDP_STREAM -- -m 1
on a 2x8x2 SKL went from 1.1Mpps to 2.5
Author: mmacy
Date: Thu May 24 01:03:31 2018
New Revision: 334124
URL: https://svnweb.freebsd.org/changeset/base/334124
Log:
malloc: Add flag for conditionally zeroing for INVARIANTS builds
Modified:
head/sys/sys/malloc.h
Modified: head/sys/sys/malloc.h
==
Author: mmacy
Date: Thu May 24 01:04:56 2018
New Revision: 334125
URL: https://svnweb.freebsd.org/changeset/base/334125
Log:
convert allocations to INVARIANTS M_ZERO
Modified:
head/sys/netinet/ip_divert.c
head/sys/netinet/raw_ip.c
head/sys/netinet/tcp_subr.c
head/sys/netinet/udp_usrreq.
Author: mmacy
Date: Thu May 24 01:12:06 2018
New Revision: 334126
URL: https://svnweb.freebsd.org/changeset/base/334126
Log:
devd: drop WARNS back down to 3 until 6 actually works with GCC
Modified:
head/sbin/devd/Makefile
Modified: head/sbin/devd/Makefile
===
Author: mmacy
Date: Thu May 24 04:30:06 2018
New Revision: 334128
URL: https://svnweb.freebsd.org/changeset/base/334128
Log:
libpmcstat: compile in events based on json description
Added:
head/lib/libpmcstat/libpmcstat_pmu_util.c (contents, props changed)
head/lib/libpmcstat/pmu-events/
Author: mmacy
Date: Thu May 24 04:31:53 2018
New Revision: 334129
URL: https://svnweb.freebsd.org/changeset/base/334129
Log:
take NUMA out
Modified:
head/sys/amd64/conf/GENERIC-NODEBUG
Modified: head/sys/amd64/conf/GENERIC-NODEBUG
=
Author: mmacy
Date: Thu May 24 04:38:17 2018
New Revision: 334130
URL: https://svnweb.freebsd.org/changeset/base/334130
Log:
fix !amd64 signature for pmu_sample_rate_get
Modified:
head/lib/libpmcstat/libpmcstat_pmu_util.c
Modified: head/lib/libpmcstat/libpmcstat_pmu_util.c
==
Author: mmacy
Date: Thu May 24 04:43:40 2018
New Revision: 334131
URL: https://svnweb.freebsd.org/changeset/base/334131
Log:
pmcstat: don't compare signed and unsigned
Modified:
head/usr.sbin/pmcstat/pmcstat.c
Modified: head/usr.sbin/pmcstat/pmcstat.c
Author: mmacy
Date: Thu May 24 06:47:04 2018
New Revision: 334133
URL: https://svnweb.freebsd.org/changeset/base/334133
Log:
pmcstat top mode + -I - use fully qualified address
Modified:
head/usr.sbin/pmcstat/pmcpl_callgraph.c
Modified: head/usr.sbin/pmcstat/pmcpl_callgraph.c
===
Author: mmacy
Date: Thu May 24 06:47:40 2018
New Revision: 334134
URL: https://svnweb.freebsd.org/changeset/base/334134
Log:
libpmcstat: import aliases table and bug fixes
Modified:
head/lib/libpmcstat/libpmcstat_pmu_util.c
Modified: head/lib/libpmcstat/libpmcstat_pmu_util.c
Author: mmacy
Date: Thu May 24 07:18:49 2018
New Revision: 334135
URL: https://svnweb.freebsd.org/changeset/base/334135
Log:
pmcstat: add usage strings for -L and -I
Modified:
head/usr.sbin/pmcstat/pmcstat.c
Modified: head/usr.sbin/pmcstat/pmcstat.c
==
Author: mmacy
Date: Thu May 24 15:04:44 2018
New Revision: 334156
URL: https://svnweb.freebsd.org/changeset/base/334156
Log:
remove All Rights Reserved from new libpmcstat file
Modified:
head/lib/libpmcstat/libpmcstat_pmu_util.c
Modified: head/lib/libpmcstat/libpmcstat_pmu_util.c
===
Author: mmacy
Date: Thu May 24 15:28:16 2018
New Revision: 334159
URL: https://svnweb.freebsd.org/changeset/base/334159
Log:
AF_UNIX: assert that we're not acquiring the same lock
Modified:
head/sys/kern/uipc_usrreq.c
Modified: head/sys/kern/uipc_usrreq.c
Author: mmacy
Date: Thu May 24 17:54:08 2018
New Revision: 334172
URL: https://svnweb.freebsd.org/changeset/base/334172
Log:
if_delgroups: add missed unlock introduced by r334118
Modified:
head/sys/net/if.c
Modified: head/sys/net/if.c
=
Author: mmacy
Date: Thu May 24 18:22:05 2018
New Revision: 334174
URL: https://svnweb.freebsd.org/changeset/base/334174
Log:
AF_UNIX in connectat unp and unp2 can be the same
Modified:
head/sys/kern/uipc_usrreq.c
Modified: head/sys/kern/uipc_usrreq.c
=
Author: mmacy
Date: Thu May 24 18:22:13 2018
New Revision: 334175
URL: https://svnweb.freebsd.org/changeset/base/334175
Log:
AF_UNIX: evidently Samba likes to connect a unix socket to itself, fix locking
Modified:
head/sys/kern/uipc_usrreq.c
Modified: head/sys/kern/uipc_usrreq.c
Author: mmacy
Date: Thu May 24 21:13:46 2018
New Revision: 334185
URL: https://svnweb.freebsd.org/changeset/base/334185
Log:
AF_UNIX: It is possible for UNIX datagram sockets to be connected
to themselves. The updated code assumed that that could not happen
and would try to lock the unp mute
Author: mmacy
Date: Thu May 24 21:22:03 2018
New Revision: 334186
URL: https://svnweb.freebsd.org/changeset/base/334186
Log:
libpmcstat: Don't build pmu tables on !amd64 until the corresponding
util routines have been written and tested. Currently building them
breaks the build on power64
Author: mmacy
Date: Thu May 24 23:21:23 2018
New Revision: 334193
URL: https://svnweb.freebsd.org/changeset/base/334193
Log:
CK: update consumers to use CK macros across the board
r334189 changed the fields to have names distinct from those in queue.h
in order to expose the oversights as
Author: mmacy
Date: Thu May 24 23:47:27 2018
New Revision: 334194
URL: https://svnweb.freebsd.org/changeset/base/334194
Log:
netipsec/!VIMAGE: don't declare/define spdcache_destroy on non-VIMAGE builds
this breaks MIPS compiles in universe
Modified:
head/sys/netipsec/key.c
Modified: head/s
Author: mmacy
Date: Thu May 24 23:58:57 2018
New Revision: 334195
URL: https://svnweb.freebsd.org/changeset/base/334195
Log:
MALTA64EL: disable modules until objcopy is fixed
Modified:
head/sys/mips/conf/MALTA64EL
Modified: head/sys/mips/conf/MALTA64EL
===
Author: mmacy
Date: Fri May 25 19:48:26 2018
New Revision: 334222
URL: https://svnweb.freebsd.org/changeset/base/334222
Log:
rtrequest1_fib: we need to always bump the ifaddr refcount when we take a
reference from
an rtentry. r334118 introduced a case when this was not done.
While we're
x27;t overload the system
Update man page with newer sample types and remove unused sample type.
Squashed commit of the following:
commit 4459d43eff815bec08ccc5533dbe5de846f03128
Author: Matt Macy
Date: Sat May 26 00:06:31 2018 -0700
libpmc: fix pmu function signatures fo
Author: mmacy
Date: Sat May 26 19:38:31 2018
New Revision: 334245
URL: https://svnweb.freebsd.org/changeset/base/334245
Log:
pmu-events: re-delete after re-addition by revert
Deleted:
head/lib/libpmcstat/pmu-events/
___
svn-src-all@freebsd.org maili
Author: mmacy
Date: Sun May 27 06:47:09 2018
New Revision: 334253
URL: https://svnweb.freebsd.org/changeset/base/334253
Log:
in_pcbladdr: remove debug code that snuck in with ifa epoch conversion r334118
Modified:
head/sys/netinet/in_pcb.c
Modified: head/sys/netinet/in_pcb.c
Author: mmacy
Date: Sun May 27 17:49:27 2018
New Revision: 334256
URL: https://svnweb.freebsd.org/changeset/base/334256
Log:
pmcstat: suppress uninitialized warning of event
Modified:
head/usr.sbin/pmcstat/pmcstat.c
Modified: head/usr.sbin/pmcstat/pmcstat.c
==
Author: mmacy
Date: Mon May 28 23:12:26 2018
New Revision: 334298
URL: https://svnweb.freebsd.org/changeset/base/334298
Log:
hwpmc_logging.c: don't call wakeup_one with thread lock held, don't
malloc(M_WAITOK) in an epoch section
Modified:
head/sys/dev/hwpmc/hwpmc_logging.c
head/sys/dev/h
Author: mmacy
Date: Mon May 28 23:14:38 2018
New Revision: 334299
URL: https://svnweb.freebsd.org/changeset/base/334299
Log:
witness/hwpmc: fix locking order for pmc locks
Modified:
head/sys/kern/subr_witness.c
Modified: head/sys/kern/subr_witness.c
==
Author: mmacy
Date: Mon May 28 23:16:39 2018
New Revision: 334300
URL: https://svnweb.freebsd.org/changeset/base/334300
Log:
hwmpc: fix brain-damaged handling of thread descriptor freeing
Modified:
head/sys/dev/hwpmc/hwpmc_mod.c
Modified: head/sys/dev/hwpmc/hwpmc_mod.c
==
Author: mmacy
Date: Mon May 28 23:17:57 2018
New Revision: 334301
URL: https://svnweb.freebsd.org/changeset/base/334301
Log:
hwpmc: make pmc class specification work to enable fixed function counters
Modified:
head/sys/dev/hwpmc/hwpmc_mod.c
Modified: head/sys/dev/hwpmc/hwpmc_mod.c
==
Author: mmacy
Date: Tue May 29 00:19:23 2018
New Revision: 334304
URL: https://svnweb.freebsd.org/changeset/base/334304
Log:
hwpmc: add class field to identify which class a pmc came frome
Modified:
head/sys/sys/pmc.h
Modified: head/sys/sys/pmc.h
=
Author: mmacy
Date: Tue May 29 00:53:53 2018
New Revision: 334305
URL: https://svnweb.freebsd.org/changeset/base/334305
Log:
route: fix missed ref adds
- ensure that we bump the ifa ref whenever we add a reference
- defer freeing epoch protected references until after the if_purgaddrs
Author: mmacy
Date: Tue May 29 04:04:06 2018
New Revision: 334311
URL: https://svnweb.freebsd.org/changeset/base/334311
Log:
hwpmc: don't incrorrectly strip the ANY flag
Modified:
head/sys/dev/hwpmc/hwpmc_core.c
Modified: head/sys/dev/hwpmc/hwpmc_core.c
==
Author: mmacy
Date: Tue May 29 04:23:21 2018
New Revision: 334313
URL: https://svnweb.freebsd.org/changeset/base/334313
Log:
libpmc: add support for using fixed function counters
Modified:
head/lib/libpmc/libpmc_pmu_util.c (contents, props changed)
Modified: head/lib/libpmc/libpmc_pmu_util
Author: mmacy
Date: Tue May 29 04:23:16 2018
New Revision: 334312
URL: https://svnweb.freebsd.org/changeset/base/334312
Log:
libpmc: export names of counters for stat mode, make get_by_idx name
consistent with others
Modified:
head/lib/libpmc/libpmc_pmu_util.c (contents, props changed)
h
Author: mmacy
Date: Tue May 29 07:14:57 2018
New Revision: 334314
URL: https://svnweb.freebsd.org/changeset/base/334314
Log:
rt_getifa_fib: don't use ifa but info->rti_ifa
Reported by: kp
Modified:
head/sys/net/route.c
Modified: head/sys/net/route.c
Author: mmacy
Date: Tue May 29 18:03:43 2018
New Revision: 334343
URL: https://svnweb.freebsd.org/changeset/base/334343
Log:
iflib: hold context lock across detach for drivers that need it
Modified:
head/sys/net/iflib.c
Modified: head/sys/net/iflib.c
=
Author: mmacy
Date: Tue May 29 18:03:48 2018
New Revision: 334344
URL: https://svnweb.freebsd.org/changeset/base/334344
Log:
hwpmc: don't enter epoch section across mmap hook
Modified:
head/sys/dev/hwpmc/hwpmc_mod.c
head/sys/kern/vfs_vnops.c
head/sys/sys/pmckern.h
Modified: head/sys/dev/
Author: mmacy
Date: Tue May 29 18:26:12 2018
New Revision: 334345
URL: https://svnweb.freebsd.org/changeset/base/334345
Log:
libpmc: free allocated string on return from pmc_allocate
Reported by: Coverity
CID: 1391359
Modified:
head/lib/libpmc/libpmc.c
Modified: head/lib/libpmc/libpm
Author: mmacy
Date: Tue May 29 18:30:37 2018
New Revision: 334346
URL: https://svnweb.freebsd.org/changeset/base/334346
Log:
libpmc: remove fixed counter diagnostic
Modified:
head/lib/libpmc/libpmc_pmu_util.c (contents, props changed)
Modified: head/lib/libpmc/libpmc_pmu_util.c
===
Author: mmacy
Date: Tue May 29 19:07:00 2018
New Revision: 334347
URL: https://svnweb.freebsd.org/changeset/base/334347
Log:
libpmc: don't leak string in error case either
Reported by: vangyzen@
Modified:
head/lib/libpmc/libpmc.c
Modified: head/lib/libpmc/libpmc.c
=
Author: mmacy
Date: Tue May 29 20:09:35 2018
New Revision: 334349
URL: https://svnweb.freebsd.org/changeset/base/334349
Log:
libpmc: don't return -1 on success in pmc_allocate
Modified:
head/lib/libpmc/libpmc.c
Modified: head/lib/libpmc/libpmc.c
==
Author: mmacy
Date: Tue May 29 20:28:34 2018
New Revision: 334350
URL: https://svnweb.freebsd.org/changeset/base/334350
Log:
pmc: Add new sub-command structured "pmc" utility
This will manage pmc functionality with a more
manageable structure of subcommands rather than the
gradually acc
Author: mmacy
Date: Tue May 29 21:02:08 2018
New Revision: 334353
URL: https://svnweb.freebsd.org/changeset/base/334353
Log:
pmc: silence scan-build warnings
Modified:
head/usr.sbin/pmc/cmd_pmc_stat.c (contents, props changed)
Modified: head/usr.sbin/pmc/cmd_pmc_stat.c
Author: mmacy
Date: Tue May 29 21:02:13 2018
New Revision: 334354
URL: https://svnweb.freebsd.org/changeset/base/334354
Log:
libpmc: silence scan-build warnings
Modified:
head/lib/libpmc/libpmc_pmu_util.c (contents, props changed)
head/lib/libpmc/pmclog.c
Modified: head/lib/libpmc/libpmc
Author: mmacy
Date: Wed May 30 00:06:17 2018
New Revision: 334361
URL: https://svnweb.freebsd.org/changeset/base/334361
Log:
pmc: don't break build with format issues
Modified:
head/usr.sbin/pmc/Makefile
Modified: head/usr.sbin/pmc/Makefile
===
Author: mmacy
Date: Wed May 30 03:39:57 2018
New Revision: 334368
URL: https://svnweb.freebsd.org/changeset/base/334368
Log:
epoch(9): make epoch closer to style(9)
Modified:
head/sys/kern/subr_epoch.c
head/sys/sys/epoch.h
Modified: head/sys/kern/subr_epoch.c
==
Author: mmacy
Date: Wed May 30 03:40:02 2018
New Revision: 334369
URL: https://svnweb.freebsd.org/changeset/base/334369
Log:
libpmc: bring pmu_util closer in line with style(9)
Modified:
head/lib/libpmc/libpmc_pmu_util.c (contents, props changed)
Modified: head/lib/libpmc/libpmc_pmu_util.c
Author: mmacy
Date: Wed May 30 04:12:51 2018
New Revision: 334371
URL: https://svnweb.freebsd.org/changeset/base/334371
Log:
libpmc: squelch valgrind warnings
Modified:
head/lib/libpmc/libpmc.c
Modified: head/lib/libpmc/libpmc.c
===
Author: mmacy
Date: Wed May 30 06:29:22 2018
New Revision: 334374
URL: https://svnweb.freebsd.org/changeset/base/334374
Log:
hwpmc: remove stale assert
Reported by: eadler
Modified:
head/sys/dev/hwpmc/hwpmc_mod.c
Modified: head/sys/dev/hwpmc/hwpmc_mod.c
Author: mmacy
Date: Wed May 30 21:46:10 2018
New Revision: 334402
URL: https://svnweb.freebsd.org/changeset/base/334402
Log:
if_setlladdr: don't call ioctl in epoch context
PR: 228612
Reported by: markj
Modified:
head/sys/net/if.c
Modified: head/sys/net/if.c
==
Author: mmacy
Date: Wed May 30 22:03:02 2018
New Revision: 334404
URL: https://svnweb.freebsd.org/changeset/base/334404
Log:
pmc stat: fix format strings for 32-bit
Modified:
head/usr.sbin/pmc/Makefile (contents, props changed)
head/usr.sbin/pmc/cmd_pmc_stat.c (contents, props changed)
Author: mmacy
Date: Thu May 31 01:01:35 2018
New Revision: 334408
URL: https://svnweb.freebsd.org/changeset/base/334408
Log:
libpmc/jevents: fix cross-compile _to_ amd64
Reported by: emaste
Modified:
head/Makefile.inc1
Modified: head/Makefile.inc1
==
Author: mmacy
Date: Thu May 31 21:53:07 2018
New Revision: 334450
URL: https://svnweb.freebsd.org/changeset/base/334450
Log:
Reduce overhead of entropy collection
- move harvest mask check inline
- move harvest mask to frequently_read out of actively
modified cache line
- disable et
Author: mmacy
Date: Thu May 31 22:26:55 2018
New Revision: 334455
URL: https://svnweb.freebsd.org/changeset/base/334455
Log:
libpmc/pmu: enable for i386 as well
Modified:
head/Makefile.inc1
head/Makefile.libcompat
head/lib/libpmc/Makefile
head/lib/libpmc/libpmc_pmu_util.c (contents, p
Author: mmacy
Date: Thu May 31 22:26:50 2018
New Revision: 334454
URL: https://svnweb.freebsd.org/changeset/base/334454
Log:
libpmc: add pmu support for uncore events
Modified:
head/lib/libpmc/libpmc_pmu_util.c (contents, props changed)
Modified: head/lib/libpmc/libpmc_pmu_util.c
=
Author: mmacy
Date: Thu May 31 22:41:07 2018
New Revision: 334456
URL: https://svnweb.freebsd.org/changeset/base/334456
Log:
hwpmc: remove unused pre-table driven bits for intel
Intel now provides comprehensive tables for all performance counters
and the various valid configuration permut
Author: mmacy
Date: Fri Jun 1 00:45:48 2018
New Revision: 334463
URL: https://svnweb.freebsd.org/changeset/base/334463
Log:
libpmc: Intel doesn't require runtime counter table init
Modified:
head/lib/libpmc/libpmc.c
Modified: head/lib/libpmc/libpmc.c
Author: mmacy
Date: Fri Jun 1 00:45:43 2018
New Revision: 334462
URL: https://svnweb.freebsd.org/changeset/base/334462
Log:
libpmc/pmu: update aliases table
Modified:
head/lib/libpmc/libpmc_pmu_util.c (contents, props changed)
Modified: head/lib/libpmc/libpmc_pmu_util.c
==
Author: mmacy
Date: Fri Jun 1 00:45:59 2018
New Revision: 334465
URL: https://svnweb.freebsd.org/changeset/base/334465
Log:
pmc: add list-events command
Added:
head/usr.sbin/pmc/cmd_pmc_list.c
- copied, changed from r334464, head/usr.sbin/pmc/pmc.c
Modified:
head/usr.sbin/pmc/Makefile
Author: mmacy
Date: Fri Jun 1 00:45:53 2018
New Revision: 334464
URL: https://svnweb.freebsd.org/changeset/base/334464
Log:
libpmc: allow substring for list and add function for printing event details
Modified:
head/lib/libpmc/libpmc_pmu_util.c (contents, props changed)
head/lib/libpmc/p
Author: mmacy
Date: Fri Jun 1 00:49:20 2018
New Revision: 334466
URL: https://svnweb.freebsd.org/changeset/base/334466
Log:
Update FreeBSD_version to reflect removal of in-kernel pmc tables for Intel
Modified:
head/sys/sys/param.h
Modified: head/sys/sys/param.h
=
Author: mmacy
Date: Sun Jun 3 19:37:09 2018
New Revision: 334584
URL: https://svnweb.freebsd.org/changeset/base/334584
Log:
pmc: remove assert that is invalid in interrupt context
Modified:
head/sys/sys/pmckern.h
Modified: head/sys/sys/pmckern.h
=
Author: mmacy
Date: Sun Jun 3 19:37:17 2018
New Revision: 334585
URL: https://svnweb.freebsd.org/changeset/base/334585
Log:
hwpmc: ensure that mapin updates are synchronous
Modified:
head/sys/dev/hwpmc/hwpmc_logging.c
Modified: head/sys/dev/hwpmc/hwpmc_logging.c
Author: mmacy
Date: Mon Jun 4 01:10:23 2018
New Revision: 334595
URL: https://svnweb.freebsd.org/changeset/base/334595
Log:
hwpmc: support sampling both kernel and user stacks when interrupted in kernel
This adds the -U options to pmcstat which will attribute in-kernel samples
back to th
Author: mmacy
Date: Mon Jun 4 02:05:48 2018
New Revision: 334596
URL: https://svnweb.freebsd.org/changeset/base/334596
Log:
hwpmc: ABI fixes
- increase pmc cpuid field from 8 to 12 bits
- add cpuid version string to initialize entry in the log
so that filter can identify which counter i
Author: mmacy
Date: Mon Jun 4 04:49:06 2018
New Revision: 334598
URL: https://svnweb.freebsd.org/changeset/base/334598
Log:
hwpmc: fix fixed counters checks
Modified:
head/sys/dev/hwpmc/hwpmc_core.c
Modified: head/sys/dev/hwpmc/hwpmc_core.c
==
Author: mmacy
Date: Mon Jun 4 04:59:48 2018
New Revision: 334601
URL: https://svnweb.freebsd.org/changeset/base/334601
Log:
pmc: add filter command
pmc filter allows the user to select event types, threads, and processes from
a sample.
% pmcstat -S unhalted_core_cycles -S llc-misses
Author: mmacy
Date: Mon Jun 4 05:04:40 2018
New Revision: 334602
URL: https://svnweb.freebsd.org/changeset/base/334602
Log:
update pmc_pmu_idx_get_by_event signature for !x86
Modified:
head/lib/libpmc/libpmc_pmu_util.c
Modified: head/lib/libpmc/libpmc_pmu_util.c
Author: mmacy
Date: Mon Jun 4 06:30:35 2018
New Revision: 334609
URL: https://svnweb.freebsd.org/changeset/base/334609
Log:
pmc filter: avoid spurious gcc uninitialized warning
Modified:
head/usr.sbin/pmc/cmd_pmc_filter.c
Modified: head/usr.sbin/pmc/cmd_pmc_filter.c
Author: mmacy
Date: Mon Jun 4 17:49:34 2018
New Revision: 334623
URL: https://svnweb.freebsd.org/changeset/base/334623
Log:
hwpmc: remove gratuitous curthread checks
Modified:
head/sys/dev/hwpmc/hwpmc_mod.c
Modified: head/sys/dev/hwpmc/hwpmc_mod.c
===
Author: mmacy
Date: Mon Jun 4 21:17:42 2018
New Revision: 334638
URL: https://svnweb.freebsd.org/changeset/base/334638
Log:
libpmc / stat: use westmere supported counter
Modified:
head/lib/libpmc/libpmc_pmu_util.c (contents, props changed)
Modified: head/lib/libpmc/libpmc_pmu_util.c
=
Author: mmacy
Date: Mon Jun 4 21:17:30 2018
New Revision: 334637
URL: https://svnweb.freebsd.org/changeset/base/334637
Log:
hwpmc: don't defer user callchain capture completion to ast
Modified:
head/sys/dev/hwpmc/hwpmc_mod.c
Modified: head/sys/dev/hwpmc/hwpmc_mod.c
=
Author: mmacy
Date: Mon Jun 4 21:17:46 2018
New Revision: 334639
URL: https://svnweb.freebsd.org/changeset/base/334639
Log:
libpmc: improve arg checking
Modified:
head/lib/libpmc/libpmc.c
Modified: head/lib/libpmc/libpmc.c
Author: mmacy
Date: Mon Jun 4 21:42:21 2018
New Revision: 334641
URL: https://svnweb.freebsd.org/changeset/base/334641
Log:
pmc stat: fix offset of specified counter
Modified:
head/usr.sbin/pmc/cmd_pmc_stat.c (contents, props changed)
Modified: head/usr.sbin/pmc/cmd_pmc_stat.c
===
Author: mmacy
Date: Mon Jun 4 22:39:22 2018
New Revision: 334644
URL: https://svnweb.freebsd.org/changeset/base/334644
Log:
pmc stat: add debug option for intermediate state
Modified:
head/usr.sbin/pmc/cmd_pmc_stat.c (contents, props changed)
Modified: head/usr.sbin/pmc/cmd_pmc_stat.c
===
Author: mmacy
Date: Tue Jun 5 04:26:40 2018
New Revision: 334647
URL: https://svnweb.freebsd.org/changeset/base/334647
Log:
hwpmc: log name->pid, name->tid mappings
By logging all threads and processes 'pmc filter'
can now filter on process or thread name, relieving
the user of the bur
Author: mmacy
Date: Wed Jun 6 02:48:09 2018
New Revision: 334701
URL: https://svnweb.freebsd.org/changeset/base/334701
Log:
hwpmc: add summary command and further metadata extensions
metadata changes:
- log pmc sample rate with pmcallocate
- log proc flags with thread / process logging
Author: mmacy
Date: Thu Jun 7 00:54:11 2018
New Revision: 334746
URL: https://svnweb.freebsd.org/changeset/base/334746
Log:
cpufunc: add rdtscp for x86
Modified:
head/sys/amd64/include/cpufunc.h
head/sys/i386/include/cpufunc.h
Modified: head/sys/amd64/include/cpufunc.h
===
Author: mmacy
Date: Thu Jun 7 00:55:17 2018
New Revision: 334748
URL: https://svnweb.freebsd.org/changeset/base/334748
Log:
libpmc: simplify lookup by idx
Modified:
head/lib/libpmc/libpmc_pmu_util.c (contents, props changed)
Modified: head/lib/libpmc/libpmc_pmu_util.c
Author: mmacy
Date: Thu Jun 7 00:54:43 2018
New Revision: 334747
URL: https://svnweb.freebsd.org/changeset/base/334747
Log:
hwpmc: don't log pid->name more than once
Modified:
head/sys/dev/hwpmc/hwpmc_mod.c
Modified: head/sys/dev/hwpmc/hwpmc_mod.c
===
Author: mmacy
Date: Thu Jun 7 02:03:22 2018
New Revision: 334749
URL: https://svnweb.freebsd.org/changeset/base/334749
Log:
pmc: convert native to jsonl and track TSC value of samples
- add '-j' options to filter to enable converting native pmc
log format to json lines format to enable
Author: mmacy
Date: Thu Jun 7 02:20:27 2018
New Revision: 334750
URL: https://svnweb.freebsd.org/changeset/base/334750
Log:
hwpmc: don't do EMIT64 on constant
Modified:
head/sys/dev/hwpmc/hwpmc_logging.c
Modified: head/sys/dev/hwpmc/hwpmc_logging.c
==
Author: mmacy
Date: Thu Jun 7 03:19:21 2018
New Revision: 334753
URL: https://svnweb.freebsd.org/changeset/base/334753
Log:
libpmc: add missed (uintmax_t) casts
Modified:
head/lib/libpmc/libpmc_json.cc (contents, props changed)
Modified: head/lib/libpmc/libpmc_json.cc
Author: mmacy
Date: Thu Jun 7 04:57:40 2018
New Revision: 334756
URL: https://svnweb.freebsd.org/changeset/base/334756
Log:
AF_UNIX: check for unp == unp2 on disconnect
Modified:
head/sys/kern/uipc_usrreq.c
Modified: head/sys/kern/uipc_usrreq.c
==
Author: mmacy
Date: Fri Jun 8 04:58:03 2018
New Revision: 334827
URL: https://svnweb.freebsd.org/changeset/base/334827
Log:
hwpmc: simplify calling convention for hwpmc interrupt handling
pmc_process_interrupt takes 5 arguments when only 3 are needed.
cpu is always available in curcpu an
Author: mmacy
Date: Fri Jun 8 05:01:09 2018
New Revision: 334828
URL: https://svnweb.freebsd.org/changeset/base/334828
Log:
hwpmc: avoid undefined variable on LINT
Modified:
head/sys/dev/hwpmc/hwpmc_core.c
Modified: head/sys/dev/hwpmc/hwpmc_core.c
===
Author: mmacy
Date: Fri Jun 8 05:17:06 2018
New Revision: 334829
URL: https://svnweb.freebsd.org/changeset/base/334829
Log:
rtentry_zinit: don't blindly pass through M_ZERO to counter alloc
Modified:
head/sys/net/route.c
Modified: head/sys/net/route.c
===
Author: mmacy
Date: Fri Jun 8 05:48:36 2018
New Revision: 334832
URL: https://svnweb.freebsd.org/changeset/base/334832
Log:
unbreak LINT build after r334804
Modified:
head/sys/conf/NOTES
Modified: head/sys/conf/NOTES
==
Author: mmacy
Date: Fri Jun 8 05:48:28 2018
New Revision: 334831
URL: https://svnweb.freebsd.org/changeset/base/334831
Log:
hwpmc: fix arm64 INVARIANTS build
Modified:
head/sys/dev/hwpmc/hwpmc_arm64.c
Modified: head/sys/dev/hwpmc/hwpmc_arm64.c
===
1 - 100 of 425 matches
Mail list logo