<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/ddb, branch releng/12.2</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.2</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.2'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2020-05-21T02:08:34Z</updated>
<entry>
<title>MFC r361011: kernel: provide panicky version of __unreachable</title>
<updated>2020-05-21T02:08:34Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2020-05-21T02:08:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f359167141f2ab817ca5adaf027cfcb37a347ddf'/>
<id>urn:sha1:f359167141f2ab817ca5adaf027cfcb37a347ddf</id>
<content type='text'>
__builtin_unreachable doesn't raise any compile-time warnings/errors on its
own, so problems with its usage can't be easily detected. While it would be
nice for this situation to change and compilers to at least add a warning
for trivial cases where local state means the instruction can't be reached,
this isn't the case at the moment and likely will not happen.

This commit adds an __assert_unreachable, whose intent is incredibly clear:
it asserts that this instruction is unreachable. On INVARIANTS builds, it's
a panic(), and on non-INVARIANTS it expands to  __unreachable().

Existing users of __unreachable() are converted to __assert_unreachable,
to improve debuggability if this assumption is violated.
</content>
</entry>
<entry>
<title>add an option for ddb ps command to print process arguments</title>
<updated>2018-08-09T11:21:31Z</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2018-08-09T11:21:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=27cfcd95993f512af6b4a5a5fd764b370e64ef34'/>
<id>urn:sha1:27cfcd95993f512af6b4a5a5fd764b370e64ef34</id>
<content type='text'>
We use ps to collect the information of all processes in textdump. But
it doesn't contain process arguments which however sometimes are very
useful for debugging.  The new 'a' modifier adds that capability.

While here, remove 'm' modifier from ddb.4.  It was in the manual page
from its very first revision, but I could not find any evidence of the
code ever supporting it.

Submitted by:	Terry Hu &lt;thu@panzura.com&gt;
Reviewed by:	kib
MFC after:	1 week
Sponsored by:	Panzura
Differential Revision: https://reviews.freebsd.org/D16603
</content>
</entry>
<entry>
<title>Extend show proc with reaper, sigparent, and vmspace information</title>
<updated>2018-05-25T13:59:48Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2018-05-25T13:59:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e76bd38065c91d7f76e11c89367ff4ed16e765b8'/>
<id>urn:sha1:e76bd38065c91d7f76e11c89367ff4ed16e765b8</id>
<content type='text'>
I have regularly needed the last couple of months.

Sponsored by:	iXsystems, Inc.
</content>
</entry>
<entry>
<title>Fix PPC symbol resolution</title>
<updated>2018-05-10T03:59:48Z</updated>
<author>
<name>Justin Hibbits</name>
<email>jhibbits@FreeBSD.org</email>
</author>
<published>2018-05-10T03:59:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b4a0a5987135379c4e7f208fa3690d9d02e93552'/>
<id>urn:sha1:b4a0a5987135379c4e7f208fa3690d9d02e93552</id>
<content type='text'>
Summary:
There were 2 issues that were preventing correct symbol resolution
on PowerPC/pseries:

1- memory corruption at chrp_attach() - this caused the inital
   part of the symbol table to become zeroed, which would cause
   the kernel linker to fail to parse it.
   (this was probably zeroing out other memory parts as well)

2- DDB symbol resolution wasn't working because symtab contained
   not relocated addresses but it was given relocated offsets.
   Although relocating the symbol table fixed this, it broke the
   linker, that already handled this case.
   Thus, the fix for this consists in adding a new DDB macro:
   DB_STOFFS(offs) that converts a (potentially) relocated offset
   into one that can be compared with symbol table values.

PR:		227093
Submitted by:	Leandro Lupori &lt;leandro.lupori_gmail.com&gt;
Differential Revision: https://reviews.freebsd.org/D15372
</content>
</entry>
<entry>
<title>Restore db_radix on parse error, otherwise we'll silently change it to</title>
<updated>2018-04-17T15:44:05Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2018-04-17T15:44:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3531bbb5eae6a1b9b7088d4cd911d84139244724'/>
<id>urn:sha1:3531bbb5eae6a1b9b7088d4cd911d84139244724</id>
<content type='text'>
10 on a botched trace command.
</content>
</entry>
<entry>
<title>No need to force md code to define a macro that's the same as</title>
<updated>2018-04-16T13:52:23Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2018-04-16T13:52:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9d89a9f3267231ef8a3f407f04b566914563ab3c'/>
<id>urn:sha1:9d89a9f3267231ef8a3f407f04b566914563ab3c</id>
<content type='text'>
_BYTE_ORDER. Use that instead.
</content>
</entry>
<entry>
<title>db_script_exec: use a saved script name when reporting commands executed</title>
<updated>2018-03-04T13:27:21Z</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2018-03-04T13:27:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3761bead4a0d9a563af4eaf999b0c792b1b2d58b'/>
<id>urn:sha1:3761bead4a0d9a563af4eaf999b0c792b1b2d58b</id>
<content type='text'>
Before executing a command in a ddb script ddb prints an information
line of the form:
  db:1:my-script&gt; command
where 1 is the script's depth level, "my-script" is the scipt's name,
and "command" is the current command in the script.
db_script_exec() uses its 'scriptname' parameter to produce that string.
In the case when db_script_exec() is called from db_run_cmd() the
argument points to db_tok_string that is a global variable used for
command parsing.  So, its value changes with every command executed.

This commit changes the code to use the script's name stored in
ds_scriptname to print the line.

MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Implement 'domainset', a cpuset based NUMA policy mechanism.  This allows</title>
<updated>2018-01-12T22:48:23Z</updated>
<author>
<name>Jeff Roberson</name>
<email>jeff@FreeBSD.org</email>
</author>
<published>2018-01-12T22:48:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3f289c3fcf39b200550e2702068014cdd801d4da'/>
<id>urn:sha1:3f289c3fcf39b200550e2702068014cdd801d4da</id>
<content type='text'>
userspace to control NUMA policy administratively and programmatically.

Implement domainset based iterators in the page layer.

Remove the now legacy numa_* syscalls.

Cleanup some header polution created by having seq.h in proc.h.

Reviewed by:	markj, kib
Discussed with:	alc
Tested by:	pho
Sponsored by:	Netflix, Dell/EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D13403
</content>
</entry>
<entry>
<title>Generalize the gzio API.</title>
<updated>2018-01-08T21:27:41Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2018-01-08T21:27:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=78f57a9cdef729f94669fe1eb494666f403f9235'/>
<id>urn:sha1:78f57a9cdef729f94669fe1eb494666f403f9235</id>
<content type='text'>
We currently use a set of subroutines in kern_gzio.c to perform
compression of user and kernel core dumps. In the interest of adding
support for other compression algorithms (zstd) in this role without
complicating the API consumers, add a simple compressor API which can be
used to select an algorithm.

Also change the (non-default) GZIO kernel option to not enable
compressed user cores by default. It's not clear that such a default
would be desirable with support for multiple algorithms implemented,
and it's inconsistent in that it isn't applied to kernel dumps.

Reviewed by:	cem
Differential Revision:	https://reviews.freebsd.org/D13632
</content>
</entry>
<entry>
<title>ddb: fix validation of cpu id in 'set db_cpu=x'</title>
<updated>2017-12-05T14:22:08Z</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2017-12-05T14:22:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6e1c5d187c92f3fdc6477e775ce0361c0ae6f5a9'/>
<id>urn:sha1:6e1c5d187c92f3fdc6477e775ce0361c0ae6f5a9</id>
<content type='text'>
MFC after:	1 week
</content>
</entry>
</feed>
