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
On 04/06/2018 00:33, Rodney W. Grimes wrote:
> lsof is your friend here. That is the tool of choice for finding
> cwd of processes that are in directories you can not unmount.
s/lsof/fstat -f [-m]/
:-)
--
Andriy Gapon
___
svn-src-all@freebsd.org maili
Author: matthew (ports committer)
Date: Mon Jun 4 05:55:40 2018
New Revision: 334608
URL: https://svnweb.freebsd.org/changeset/base/334608
Log:
Restore kevlo's src commit bit after only 4 months and 3 weeks away.
Since it's been such a short hiatus, there's no need for any period of
re-ment
Author: delphij
Date: Mon Jun 4 05:53:32 2018
New Revision: 334607
URL: https://svnweb.freebsd.org/changeset/base/334607
Log:
MFC r333783: MFV r333779: xz 5.2.4.
Modified:
stable/11/contrib/xz/COPYING
stable/11/contrib/xz/ChangeLog
stable/11/contrib/xz/README
stable/11/contrib/xz/THANK
Author: delphij
Date: Mon Jun 4 05:47:15 2018
New Revision: 334606
URL: https://svnweb.freebsd.org/changeset/base/334606
Log:
MFC r333098:
Don't bail out from the check if readboot() returns !FSFATAL.
This can happen when the fsinfo signature is invalid, and the
user have choose to
On Sun, Jun 03, 2018 at 07:19:47PM +0200, Florian Smeets via svn-src-all wrote:
> On 01.06.18 07:51, Eitan Adler wrote:
> > Author: eadler
> > Date: Fri Jun 1 05:51:40 2018
> > New Revision: 334474
> > URL: https://svnweb.freebsd.org/changeset/base/334474
> >
> > Log:
> > top(1): Display of TID
On Sun, Jun 03, 2018 at 01:41:24PM +, Eitan Adler wrote:
> Author: eadler
> Date: Sun Jun 3 13:41:23 2018
> New Revision: 334557
> URL: https://svnweb.freebsd.org/changeset/base/334557
>
> Log:
> top(1): restore size for kern.cp_times
>
> Restore last minute change that broke top(1).
>
Author: delphij
Date: Mon Jun 4 05:38:22 2018
New Revision: 334605
URL: https://svnweb.freebsd.org/changeset/base/334605
Log:
MFC r333098:
Don't bail out from the check if readboot() returns !FSFATAL.
This can happen when the fsinfo signature is invalid, and the
user have choose to
Author: eadler
Date: Mon Jun 4 05:27:00 2018
New Revision: 334604
URL: https://svnweb.freebsd.org/changeset/base/334604
Log:
top(1): some nitpicks
- prefer fully spelled names to "u_long"
- fix speeling
Modified:
head/usr.bin/top/commands.c
head/usr.bin/top/machine.c
Modified: head
04.06.2018 12:07, Cy Schubert wrote:
> In message <5b14c64b.2070...@grosbein.net>, Eugene Grosbein writes:
>> Bad side effect of doing that is it is not hard to get a "core"
>> from top when run as a user, as it is going to try to write
>> to /, and it probably does not have permissio
Author: delphij
Date: Mon Jun 4 05:23:06 2018
New Revision: 334603
URL: https://svnweb.freebsd.org/changeset/base/334603
Log:
MFC r332905:
Use calloc() instead of malloc+bzero.
Reviewed by: ken, emaste
Modified:
stable/11/usr.sbin/camdd/camdd.c
Directory Properties:
stable/11/
In message <5b14c64b.2070...@grosbein.net>, Eugene Grosbein writes:
> 04.06.2018 4:33, Rodney W. Grimes wrote:
>
> Bad side effect of doing that is it is not hard to get a "core"
> from top when run as a user, as it is going to try to write
> to /, and it probably does not have permi
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
On 2 Jun, Rodney W. Grimes wrote:
>> Author: eadler
>> Date: Sat Jun 2 22:06:27 2018
>> New Revision: 334543
>> URL: https://svnweb.freebsd.org/changeset/base/334543
>>
>> Log:
>> top(1): chdir to / as init; remove unneeded comment
>>
>> - chdir to / to allow unmounting of wd
>> - remov
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: eadler
Date: Mon Jun 4 04:59:32 2018
New Revision: 334600
URL: https://svnweb.freebsd.org/changeset/base/334600
Log:
top(1): include what you use
- Change headers to more closely match what we use
- use more standard functions instead of bzero, bcmp, bcopy
- Add myself to autho
Author: eadler
Date: Mon Jun 4 04:59:24 2018
New Revision: 334599
URL: https://svnweb.freebsd.org/changeset/base/334599
Log:
top(1): Prefer memcpy over bcopy
Modified:
head/usr.bin/top/machine.c
Modified: head/usr.bin/top/machine.c
===
04.06.2018 4:33, Rodney W. Grimes wrote:
Bad side effect of doing that is it is not hard to get a "core"
from top when run as a user, as it is going to try to write
to /, and it probably does not have permission for that.
We already have global sysctl kern.corefile that can be chan
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: eadler
Date: Mon Jun 4 03:16:24 2018
New Revision: 334597
URL: https://svnweb.freebsd.org/changeset/base/334597
Log:
top(1): Use strsep instead of homegrown alternative
This replaces some complex, and not quite correct logic, with a more
common strsep pattern.
Reviewed by:
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 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: dteske
Date: Sun Jun 3 23:49:02 2018
New Revision: 334594
URL: https://svnweb.freebsd.org/changeset/base/334594
Log:
dwatch(1): Update manual to reference actual release
MFC after:3 days
X-MFC-to: stable/11
Sponsored by: Smule, Inc.
Modified:
head/cddl/usr.sbin/dwatc
Author: eadler
Date: Sun Jun 3 23:40:54 2018
New Revision: 334593
URL: https://svnweb.freebsd.org/changeset/base/334593
Log:
top(1): another pass of cleanup
- avoid the need to call a function to get size of known array. I'll
likely re-arrange some of the indirect in a later to avoid the
Author: asomers
Date: Sun Jun 3 23:36:29 2018
New Revision: 334592
URL: https://svnweb.freebsd.org/changeset/base/334592
Log:
audit(4): add tests for the cl audit class
The only syscalls in this class are close, closefrom, munmap, and revoke.
Submitted by: aniketp
MFC after:2 we
Author: eadler
Date: Sun Jun 3 22:42:54 2018
New Revision: 334591
URL: https://svnweb.freebsd.org/changeset/base/334591
Log:
top(1): top warnings and cleanup
- Add const where helpful
- add missing 'static' for file-local functions
- use nitems where possible
- convert manual abort()
Dimitry Andric wrote:
>On 3 Jun 2018, at 21:46, Rick Macklem wrote:
>>
>> Author: rmacklem
>> Date: Sun Jun 3 19:46:44 2018
>> New Revision: 334586
>> URL: https://svnweb.freebsd.org/changeset/base/334586
>>
>> Log:
>> Fix a gcc8 warning about a write only variable.
>>
>> gcc8 warns that "verf"
On 3 Jun 2018, at 21:46, Rick Macklem wrote:
>
> Author: rmacklem
> Date: Sun Jun 3 19:46:44 2018
> New Revision: 334586
> URL: https://svnweb.freebsd.org/changeset/base/334586
>
> Log:
> Fix a gcc8 warning about a write only variable.
>
> gcc8 warns that "verf" was set but not used. This wa
Author: pstef
Date: Sun Jun 3 21:40:38 2018
New Revision: 334590
URL: https://svnweb.freebsd.org/changeset/base/334590
Log:
indent(1): new option -lpl
With -lpl, code surrounded by parentheses in continuation lines is lined up
even if it would extend past the right margin.
With -nlp
Author: pstef
Date: Sun Jun 3 21:34:29 2018
New Revision: 334589
URL: https://svnweb.freebsd.org/changeset/base/334589
Log:
indent(1): revert introduction of -lpl
That was committed with the wrong message. Will be re-added.
Modified:
head/usr.bin/indent/args.c
head/usr.bin/indent/inde
> On Sat, Jun 2, 2018 at 11:08 PM, Eitan Adler wrote:
>
> > On 2 June 2018 at 16:56, Rodney W. Grimes
> > wrote:
> > >> Author: eadler
> > >> Date: Sat Jun 2 22:06:27 2018
> > >> New Revision: 334543
> > >> URL: https://svnweb.freebsd.org/changeset/base/334543
> > >>
> > >> Log:
> > >> top(1)
On Sun, 03 Jun 2018 19:19:47 +0200, Florian Smeets via svn-src-all
wrote:
On 01.06.18 07:51, Eitan Adler wrote:
Author: eadler
Date: Fri Jun 1 05:51:40 2018
New Revision: 334474
URL: https://svnweb.freebsd.org/changeset/base/334474
Log:
top(1): Display of TID when using 'H' flag
Some
On Sat, Jun 2, 2018 at 11:08 PM, Eitan Adler wrote:
> On 2 June 2018 at 16:56, Rodney W. Grimes
> wrote:
> >> Author: eadler
> >> Date: Sat Jun 2 22:06:27 2018
> >> New Revision: 334543
> >> URL: https://svnweb.freebsd.org/changeset/base/334543
> >>
> >> Log:
> >> top(1): chdir to / as init;
Author: pstef
Date: Sun Jun 3 20:59:59 2018
New Revision: 334588
URL: https://svnweb.freebsd.org/changeset/base/334588
Log:
indent(1): new option -lpl (always line up to parenthesis)
With -lp, if a line has an opening paren which is not closed on that line,
then continuation lines will b
Author: pstef
Date: Sun Jun 3 20:48:58 2018
New Revision: 334587
URL: https://svnweb.freebsd.org/changeset/base/334587
Log:
indent(1): manual page corretions
Add missing options, synchronize syntax summary with the actual option list,
and other fixes.
Submitted by: Tom Lane
Modifie
Also, this is a mistake. You should put it back in.
Warner
On Sat, Jun 2, 2018, 11:07 PM Eitan Adler wrote:
> Author: eadler
> Date: Sun Jun 3 05:07:46 2018
> New Revision: 334552
> URL: https://svnweb.freebsd.org/changeset/base/334552
>
> Log:
> top(1): remove chdir to /
>
> While this ca
This came up a few days ago on tech-k...@netbsd.org mailing list as well...
Warner
On Sat, Jun 2, 2018, 11:07 PM Eitan Adler wrote:
> Author: eadler
> Date: Sun Jun 3 05:07:46 2018
> New Revision: 334552
> URL: https://svnweb.freebsd.org/changeset/base/334552
>
> Log:
> top(1): remove chdir
Author: rmacklem
Date: Sun Jun 3 19:46:44 2018
New Revision: 334586
URL: https://svnweb.freebsd.org/changeset/base/334586
Log:
Fix a gcc8 warning about a write only variable.
gcc8 warns that "verf" was set but not used. This was because the code
that uses it is disabled via a "#if 0".
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: 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: pstef
Date: Sun Jun 3 19:05:20 2018
New Revision: 334583
URL: https://svnweb.freebsd.org/changeset/base/334583
Log:
indent(1): if an identifier can be either a typedef name or as a struct
member, it is taken as the latter
Modified:
head/usr.bin/indent/lexi.c
head/usr.bin/indent/t
Author: pstef
Date: Sun Jun 3 18:38:03 2018
New Revision: 334581
URL: https://svnweb.freebsd.org/changeset/base/334581
Log:
indent(1): if the token is a "[" then neither of the blocks is relevant
Modified:
head/usr.bin/indent/indent.c
Modified: head/usr.bin/indent/indent.c
=
Author: pstef
Date: Sun Jun 3 18:34:36 2018
New Revision: 334580
URL: https://svnweb.freebsd.org/changeset/base/334580
Log:
indent(1): don't add a space after a label
It's not needed and it fools pr_comment().
Modified:
head/usr.bin/indent/indent.c
Modified: head/usr.bin/indent/indent.
Author: pstef
Date: Sun Jun 3 18:32:11 2018
New Revision: 334579
URL: https://svnweb.freebsd.org/changeset/base/334579
Log:
indent(1): ignore null characters from input
Modified:
head/usr.bin/indent/io.c
Modified: head/usr.bin/indent/io.c
Author: pstef
Date: Sun Jun 3 18:29:20 2018
New Revision: 334578
URL: https://svnweb.freebsd.org/changeset/base/334578
Log:
indent(1): don't overflow di_stack[]
Modified:
head/usr.bin/indent/indent.c
Modified: head/usr.bin/indent/indent.c
Author: pstef
Date: Sun Jun 3 18:19:41 2018
New Revision: 334576
URL: https://svnweb.freebsd.org/changeset/base/334576
Log:
indent(1): improve CHECK_SIZE_ macros
Rewrite the macros so that they take a parameter. Consumers use it to signal
how much room in the buffer they need; this lets
Author: pstef
Date: Sun Jun 3 17:55:50 2018
New Revision: 334574
URL: https://svnweb.freebsd.org/changeset/base/334574
Log:
indent(1): remove troff output support
The troff output in indent was invented at Sun and the online documentation
for some post-SunOS operating system includes thi
On 01.06.18 07:51, Eitan Adler wrote:
> Author: eadler
> Date: Fri Jun 1 05:51:40 2018
> New Revision: 334474
> URL: https://svnweb.freebsd.org/changeset/base/334474
>
> Log:
> top(1): Display of TID when using 'H' flag
>
> Some users prefer seeing the TID when viewing individual threads.
Author: dim
Date: Sun Jun 3 17:17:45 2018
New Revision: 334572
URL: https://svnweb.freebsd.org/changeset/base/334572
Log:
MFC r334432:
Fix build of stand with base gcc
* Make autoboot() a static function in stand/common/boot.c, so it does
not shadow local variables in gptboot.c an
Author: pstef
Date: Sun Jun 3 17:11:01 2018
New Revision: 334571
URL: https://svnweb.freebsd.org/changeset/base/334571
Log:
indent(1): avoid resetting last_bl to a bogus value when reallocating
underlying buffer
Modified:
head/usr.bin/indent/indent_globs.h
Modified: head/usr.bin/indent/in
Author: pstef
Date: Sun Jun 3 17:07:56 2018
New Revision: 334570
URL: https://svnweb.freebsd.org/changeset/base/334570
Log:
indent(1): the check for buffer overflow has to be done before copy
Modified:
head/usr.bin/indent/indent.c
Modified: head/usr.bin/indent/indent.c
=
Author: pstef
Date: Sun Jun 3 17:05:55 2018
New Revision: 334569
URL: https://svnweb.freebsd.org/changeset/base/334569
Log:
indent(1): use errx() instead of abort()
Modified:
head/usr.bin/indent/indent.c
Modified: head/usr.bin/indent/indent.c
Author: pstef
Date: Sun Jun 3 17:03:55 2018
New Revision: 334568
URL: https://svnweb.freebsd.org/changeset/base/334568
Log:
indent(1): limit character classification functions' input to unsigned char
Modified:
head/usr.bin/indent/args.c
head/usr.bin/indent/indent.c
head/usr.bin/indent/io
Author: pstef
Date: Sun Jun 3 16:52:30 2018
New Revision: 334567
URL: https://svnweb.freebsd.org/changeset/base/334567
Log:
indent(1): recognize more type names
Most are from C99.
Modified:
head/usr.bin/indent/lexi.c
Modified: head/usr.bin/indent/lexi.c
Author: pstef
Date: Sun Jun 3 16:42:58 2018
New Revision: 334566
URL: https://svnweb.freebsd.org/changeset/base/334566
Log:
indent(1): don't format function declarations as variables
Added:
head/usr.bin/indent/tests/f_decls.0 (contents, props changed)
head/usr.bin/indent/tests/f_decls.0.
Author: pstef
Date: Sun Jun 3 16:27:40 2018
New Revision: 334565
URL: https://svnweb.freebsd.org/changeset/base/334565
Log:
indent(1): remove is_procname.
It was a shorthand for checking if ps.procname is a non-empty string; the
same can be done with ps.procname[0] which avoids the need
Author: pstef
Date: Sun Jun 3 16:21:15 2018
New Revision: 334564
URL: https://svnweb.freebsd.org/changeset/base/334564
Log:
indent(1): disjoint parser state from lexi()
The function is sometimes used as a look-ahead, so ideally it should bear
no information about parser state.
Modified:
Author: pstef
Date: Sun Jun 3 15:28:55 2018
New Revision: 334563
URL: https://svnweb.freebsd.org/changeset/base/334563
Log:
indent(1): improve handling of boxed comments indentation
The trick is to copy everything from the start of the line into the buffer
that stores newlines and commen
Author: np
Date: Sun Jun 3 15:12:40 2018
New Revision: 334562
URL: https://svnweb.freebsd.org/changeset/base/334562
Log:
MFC r333650, r333652, r333682, r334406, r334409-r334410, and r334489.
r333650:
cxgbe(4): Claim some more T5 and T6 boards.
r333652:
cxgbe(4): Add support for tw
Author: pstef
Date: Sun Jun 3 14:13:11 2018
New Revision: 334560
URL: https://svnweb.freebsd.org/changeset/base/334560
Log:
indent(1): improve predictability of lexi()
lexi() reads the input stream and categorizes the next token. indent will
sometimes buffer up a sequence of tokens in or
Author: pstef
Date: Sun Jun 3 14:03:20 2018
New Revision: 334559
URL: https://svnweb.freebsd.org/changeset/base/334559
Log:
indent(1): improve handling of comments and newlines between "if (...)" or
"while (...)" and "else" or "{"
* Don't flush newlines - there can be multiple of them an
Author: eadler
Date: Sun Jun 3 13:41:23 2018
New Revision: 334557
URL: https://svnweb.freebsd.org/changeset/base/334557
Log:
top(1): restore size for kern.cp_times
Restore last minute change that broke top(1).
Modified:
head/usr.bin/top/machine.c
Modified: head/usr.bin/top/machine.c
==
Author: pstef
Date: Sun Jun 3 13:40:58 2018
New Revision: 334556
URL: https://svnweb.freebsd.org/changeset/base/334556
Log:
indent(1): remove undocumented and rather useless option (-ps)
It's used to treat the "->" access operator as a binary operator and put
space characters around it.
Author: wulf
Date: Sun Jun 3 10:53:10 2018
New Revision: 334555
URL: https://svnweb.freebsd.org/changeset/base/334555
Log:
[evdev] Sync event codes with Linux kernel 4.16
MFC after:2 weeks
Modified:
head/sys/dev/evdev/input-event-codes.h
head/sys/dev/evdev/input.h
Modified: head/
top doesn't work on a amd64 (64 logical cores) and on an arm64 (8 cores)
system anymore (world and kernel are in sync):
tuexen@epyc:~ % uname -a
FreeBSD epyc.nplab.de 12.0-CURRENT FreeBSD 12.0-CURRENT #5 r334554: Sun Jun 3
11:26:58 CEST 2018
r...@epyc.nplab.de:/usr/obj/usr/home/tuexen/head/
65 matches
Mail list logo