svn commit: r349217 - head/stand/libsa/zfs

2019-06-19 Thread Matt Macy
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

svn commit: r347357 - head/sys/sys

2019-05-08 Thread Matt Macy
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

svn commit: r340718 - in stable/12: lib/libpmc lib/libpmc/pmu-events lib/libpmc/pmu-events/arch/x86/amdfam17h sys/dev/hwpmc

2018-11-20 Thread Matt Macy
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

svn commit: r342024 - in head/sys: crypto/aesni opencrypto

2018-12-12 Thread Matt Macy
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

svn commit: r334104 - in head/sys: netinet sys

2018-05-23 Thread Matt Macy
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

svn commit: r334108 - in head: lib/libpmc lib/libpmcstat sys/sys usr.sbin/pmcstat

2018-05-23 Thread Matt Macy
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

svn commit: r334109 - head

2018-05-23 Thread Matt Macy
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 =

svn commit: r334110 - head/sys/dev/hwpmc

2018-05-23 Thread Matt Macy
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

svn commit: r334114 - in head: sys/sys usr.sbin/pmcstat

2018-05-23 Thread Matt Macy
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:

svn commit: r334116 - head/sys/netinet

2018-05-23 Thread Matt Macy
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

svn commit: r334118 - in head/sys: compat/linprocfs compat/linux compat/linuxkpi/common/include/linux dev/mlx5/mlx5_ib dev/wtap net net/altq netinet netinet/netdump netinet6 netpfil/pf nfs ofed/dri...

2018-05-23 Thread Matt Macy
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

svn commit: r334124 - head/sys/sys

2018-05-23 Thread Matt Macy
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 ==

svn commit: r334125 - in head/sys: netinet sys

2018-05-23 Thread Matt Macy
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.

svn commit: r334126 - head/sbin/devd

2018-05-23 Thread Matt Macy
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 ===

svn commit: r334128 - in head: . lib/libpmcstat lib/libpmcstat/pmu-events lib/libpmcstat/pmu-events/arch lib/libpmcstat/pmu-events/arch/arm64 lib/libpmcstat/pmu-events/arch/arm64/arm lib/libpmcstat...

2018-05-23 Thread Matt Macy
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/

svn commit: r334129 - head/sys/amd64/conf

2018-05-23 Thread Matt Macy
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 =

svn commit: r334130 - head/lib/libpmcstat

2018-05-23 Thread Matt Macy
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 ==

svn commit: r334131 - head/usr.sbin/pmcstat

2018-05-23 Thread Matt Macy
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

svn commit: r334133 - head/usr.sbin/pmcstat

2018-05-23 Thread Matt Macy
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 ===

svn commit: r334134 - head/lib/libpmcstat

2018-05-23 Thread Matt Macy
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

svn commit: r334135 - head/usr.sbin/pmcstat

2018-05-24 Thread Matt Macy
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 ==

svn commit: r334156 - head/lib/libpmcstat

2018-05-24 Thread Matt Macy
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 ===

svn commit: r334159 - head/sys/kern

2018-05-24 Thread Matt Macy
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

svn commit: r334172 - head/sys/net

2018-05-24 Thread Matt Macy
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 =

svn commit: r334174 - head/sys/kern

2018-05-24 Thread Matt Macy
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 =

svn commit: r334175 - head/sys/kern

2018-05-24 Thread Matt Macy
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

svn commit: r334185 - head/sys/kern

2018-05-24 Thread Matt Macy
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

svn commit: r334186 - in head: . lib/libpmcstat

2018-05-24 Thread Matt Macy
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

svn commit: r334193 - in head/sys: dev/hwpmc net netinet netinet6

2018-05-24 Thread Matt Macy
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

svn commit: r334194 - head/sys/netipsec

2018-05-24 Thread Matt Macy
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

svn commit: r334195 - head/sys/mips/conf

2018-05-24 Thread Matt Macy
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 ===

svn commit: r334222 - head/sys/net

2018-05-25 Thread Matt Macy
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

svn commit: r334242 - in head: . lib/libpmc lib/libpmc/pmu-events lib/libpmc/pmu-events/arch lib/libpmc/pmu-events/arch/arm64 lib/libpmc/pmu-events/arch/arm64/arm lib/libpmc/pmu-events/arch/arm64/a...

2018-05-26 Thread Matt Macy
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

svn commit: r334245 - head/lib/libpmcstat/pmu-events

2018-05-26 Thread Matt Macy
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

svn commit: r334253 - head/sys/netinet

2018-05-26 Thread Matt Macy
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

svn commit: r334256 - head/usr.sbin/pmcstat

2018-05-27 Thread Matt Macy
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 ==

svn commit: r334298 - head/sys/dev/hwpmc

2018-05-28 Thread Matt Macy
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

svn commit: r334299 - head/sys/kern

2018-05-28 Thread Matt Macy
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 ==

svn commit: r334300 - head/sys/dev/hwpmc

2018-05-28 Thread Matt Macy
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 ==

svn commit: r334301 - head/sys/dev/hwpmc

2018-05-28 Thread Matt Macy
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 ==

svn commit: r334304 - head/sys/sys

2018-05-28 Thread Matt Macy
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 =

svn commit: r334305 - head/sys/net

2018-05-28 Thread Matt Macy
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

svn commit: r334311 - head/sys/dev/hwpmc

2018-05-28 Thread Matt Macy
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 ==

svn commit: r334313 - head/lib/libpmc

2018-05-28 Thread Matt Macy
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

svn commit: r334312 - head/lib/libpmc

2018-05-28 Thread Matt Macy
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

svn commit: r334314 - head/sys/net

2018-05-29 Thread Matt Macy
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

svn commit: r334343 - head/sys/net

2018-05-29 Thread Matt Macy
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 =

svn commit: r334344 - in head/sys: dev/hwpmc kern sys

2018-05-29 Thread Matt Macy
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/

svn commit: r334345 - head/lib/libpmc

2018-05-29 Thread Matt Macy
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

svn commit: r334346 - head/lib/libpmc

2018-05-29 Thread Matt Macy
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 ===

svn commit: r334347 - head/lib/libpmc

2018-05-29 Thread Matt Macy
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 =

svn commit: r334349 - head/lib/libpmc

2018-05-29 Thread Matt Macy
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 ==

svn commit: r334350 - in head/usr.sbin: . pmc

2018-05-29 Thread Matt Macy
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

svn commit: r334353 - head/usr.sbin/pmc

2018-05-29 Thread Matt Macy
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

svn commit: r334354 - head/lib/libpmc

2018-05-29 Thread Matt Macy
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

svn commit: r334361 - head/usr.sbin/pmc

2018-05-29 Thread Matt Macy
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 ===

svn commit: r334368 - in head/sys: kern sys

2018-05-29 Thread Matt Macy
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 ==

svn commit: r334369 - head/lib/libpmc

2018-05-29 Thread Matt Macy
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

svn commit: r334371 - head/lib/libpmc

2018-05-29 Thread Matt Macy
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 ===

svn commit: r334374 - head/sys/dev/hwpmc

2018-05-29 Thread Matt Macy
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

svn commit: r334402 - head/sys/net

2018-05-30 Thread Matt Macy
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 ==

svn commit: r334404 - head/usr.sbin/pmc

2018-05-30 Thread Matt Macy
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)

svn commit: r334408 - head

2018-05-30 Thread Matt Macy
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 ==

svn commit: r334450 - in head/sys: conf dev/random net sys

2018-05-31 Thread Matt Macy
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

svn commit: r334455 - in head: . lib/libpmc

2018-05-31 Thread Matt Macy
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

svn commit: r334454 - head/lib/libpmc

2018-05-31 Thread Matt Macy
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 =

svn commit: r334456 - in head: lib/libpmc sys/amd64/include sys/conf sys/dev/hwpmc sys/i386/include sys/modules/hwpmc

2018-05-31 Thread Matt Macy
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

svn commit: r334463 - head/lib/libpmc

2018-05-31 Thread Matt Macy
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

svn commit: r334462 - head/lib/libpmc

2018-05-31 Thread Matt Macy
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 ==

svn commit: r334465 - head/usr.sbin/pmc

2018-05-31 Thread Matt Macy
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

svn commit: r334464 - in head: lib/libpmc usr.sbin/pmcstat

2018-05-31 Thread Matt Macy
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

svn commit: r334466 - head/sys/sys

2018-05-31 Thread Matt Macy
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 =

svn commit: r334584 - head/sys/sys

2018-06-03 Thread Matt Macy
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 =

svn commit: r334585 - head/sys/dev/hwpmc

2018-06-03 Thread Matt Macy
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

svn commit: r334595 - in head: sys/dev/hwpmc sys/kern sys/sys usr.sbin/pmcstat

2018-06-03 Thread Matt Macy
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

svn commit: r334596 - in head: lib/libpmc sys/amd64/include sys/dev/hwpmc sys/i386/include sys/sys

2018-06-03 Thread Matt Macy
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

svn commit: r334598 - head/sys/dev/hwpmc

2018-06-03 Thread Matt Macy
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 ==

svn commit: r334601 - in head: lib/libpmc usr.sbin/pmc

2018-06-03 Thread Matt Macy
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

svn commit: r334602 - head/lib/libpmc

2018-06-03 Thread Matt Macy
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

svn commit: r334609 - head/usr.sbin/pmc

2018-06-03 Thread Matt Macy
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

svn commit: r334623 - head/sys/dev/hwpmc

2018-06-04 Thread Matt Macy
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 ===

svn commit: r334638 - head/lib/libpmc

2018-06-04 Thread Matt Macy
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 =

svn commit: r334637 - head/sys/dev/hwpmc

2018-06-04 Thread Matt Macy
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 =

svn commit: r334639 - head/lib/libpmc

2018-06-04 Thread Matt Macy
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

svn commit: r334641 - head/usr.sbin/pmc

2018-06-04 Thread Matt Macy
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 ===

svn commit: r334644 - head/usr.sbin/pmc

2018-06-04 Thread Matt Macy
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 ===

svn commit: r334647 - in head: lib/libpmc sys/dev/hwpmc sys/kern sys/sys usr.sbin usr.sbin/pmc

2018-06-04 Thread Matt Macy
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

svn commit: r334701 - in head: lib/libpmc share/examples/hwpmc sys/dev/hwpmc sys/sys usr.sbin/pmc usr.sbin/pmcstat

2018-06-05 Thread Matt Macy
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

svn commit: r334746 - in head/sys: amd64/include i386/include

2018-06-06 Thread Matt Macy
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 ===

svn commit: r334748 - head/lib/libpmc

2018-06-06 Thread Matt Macy
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

svn commit: r334747 - head/sys/dev/hwpmc

2018-06-06 Thread Matt Macy
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 ===

svn commit: r334749 - in head: lib lib/libpmc sys/dev/hwpmc sys/sys usr.sbin usr.sbin/pmc usr.sbin/pmccontrol usr.sbin/pmcstat

2018-06-06 Thread Matt Macy
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

svn commit: r334750 - head/sys/dev/hwpmc

2018-06-06 Thread Matt Macy
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 ==

svn commit: r334753 - head/lib/libpmc

2018-06-06 Thread Matt Macy
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

svn commit: r334756 - head/sys/kern

2018-06-06 Thread Matt Macy
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 ==

svn commit: r334827 - in head/sys: amd64/amd64 arm/arm dev/hwpmc i386/i386 kern mips/atheros mips/cavium powerpc/powerpc sys

2018-06-07 Thread Matt Macy
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

svn commit: r334828 - head/sys/dev/hwpmc

2018-06-07 Thread Matt Macy
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 ===

svn commit: r334829 - head/sys/net

2018-06-07 Thread Matt Macy
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 ===

svn commit: r334832 - head/sys/conf

2018-06-07 Thread Matt Macy
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 ==

svn commit: r334831 - head/sys/dev/hwpmc

2018-06-07 Thread Matt Macy
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   2   3   4   5   >