<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libproc/proc_sym.c, branch upstream/11.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Fix debug symbols loading in libproc: 0 is a valid file descriptor.</title>
<updated>2015-03-13T04:26:48+00:00</updated>
<author>
<name>Stanislav Sedov</name>
<email>stas@FreeBSD.org</email>
</author>
<published>2015-03-13T04:26:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0faaddb8db04ac565762d9548b67cbdff4b9ed7b'/>
<id>0faaddb8db04ac565762d9548b67cbdff4b9ed7b</id>
<content type='text'>
Reported by:	Chris Torek &lt;chris.torek@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reported by:	Chris Torek &lt;chris.torek@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Teach libproc how to find debugging symbols in /usr/lib/debug.</title>
<updated>2015-02-13T03:18:29+00:00</updated>
<author>
<name>Rui Paulo</name>
<email>rpaulo@FreeBSD.org</email>
</author>
<published>2015-02-13T03:18:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=eda94c07de53d96a7453d9a33f37ee1a3f3b1803'/>
<id>eda94c07de53d96a7453d9a33f37ee1a3f3b1803</id>
<content type='text'>
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>Stop iterating and return if the caller-supplied callback function returns</title>
<updated>2015-01-31T03:22:00+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2015-01-31T03:22:00+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c7fa6f0bb0728acdcd7a60b62967c3e3b9a09148'/>
<id>c7fa6f0bb0728acdcd7a60b62967c3e3b9a09148</id>
<content type='text'>
a non-zero value.

MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
a non-zero value.

MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure that we don't try to demangle a symbol name if we failed to look</title>
<updated>2015-01-25T00:34:43+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2015-01-25T00:34:43+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=cd9c9939501f157bda77d9d3d8c7c7a37b23776a'/>
<id>cd9c9939501f157bda77d9d3d8c7c7a37b23776a</id>
<content type='text'>
up the symbol. Add a test to exercise this code path.

Reviewed by:	adrian
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
up the symbol. Add a test to exercise this code path.

Reviewed by:	adrian
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a memory leak that occured when looking up CTF info for a symbol.</title>
<updated>2014-12-23T15:40:57+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2014-12-23T15:40:57+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3f1cbdbeb190dc15a4602a55e7d100461e20643e'/>
<id>3f1cbdbeb190dc15a4602a55e7d100461e20643e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove an incorrect and useless debug print.</title>
<updated>2014-10-04T02:34:30+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2014-10-04T02:34:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ec0454905207f2e89d91d11f661e6c446cea4252'/>
<id>ec0454905207f2e89d91d11f661e6c446cea4252</id>
<content type='text'>
X-MFC-With:	r272488
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
X-MFC-With:	r272488
</pre>
</div>
</content>
</entry>
<entry>
<title>Hook up support for userland CTF support in DTrace. This required some</title>
<updated>2014-10-03T23:20:37+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2014-10-03T23:20:37+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=41da933c8714c30290d4301e980c4203b1c03736'/>
<id>41da933c8714c30290d4301e980c4203b1c03736</id>
<content type='text'>
modifications to libproc to support fetching the CTF info for a given file.

With this change, dtrace(1) is able to resolve type info for function and
USDT probe arguments, and function return values. In particular, the args[n]
syntax should now work for referencing arguments of userland probes,
provided that the requisite CTF info is available.

The uctf tests pass if the test programs are compiled with CTF info. The
current infrastructure around the DTrace test suite doesn't support this
yet.

Differential Revision:	https://reviews.freebsd.org/D891
MFC after:		1 month
Relnotes:		yes
Sponsored by:		EMC / Isilon Storage Division
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
modifications to libproc to support fetching the CTF info for a given file.

With this change, dtrace(1) is able to resolve type info for function and
USDT probe arguments, and function return values. In particular, the args[n]
syntax should now work for referencing arguments of userland probes,
provided that the requisite CTF info is available.

The uctf tests pass if the test programs are compiled with CTF info. The
current infrastructure around the DTrace test suite doesn't support this
yet.

Differential Revision:	https://reviews.freebsd.org/D891
MFC after:		1 month
Relnotes:		yes
Sponsored by:		EMC / Isilon Storage Division
</pre>
</div>
</content>
</entry>
<entry>
<title>Factor out some of the duplicated code in the symbol lookup functions, in</title>
<updated>2014-09-25T19:08:06+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2014-09-25T19:08:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=540cc663b1a0663e0ebc69aae10518741b074dfd'/>
<id>540cc663b1a0663e0ebc69aae10518741b074dfd</id>
<content type='text'>
preparation for adding userland CTF support to DTrace.

MFC after:	1 month
Sponsored by:	EMC / Isilon Storage Division
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
preparation for adding userland CTF support to DTrace.

MFC after:	1 month
Sponsored by:	EMC / Isilon Storage Division
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a bug in r265255: only return NULL if the requested map wasn't found.</title>
<updated>2014-08-24T17:02:27+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2014-08-24T17:02:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=24a08d303e4491a9ada1309cce27c5d10560caa3'/>
<id>24a08d303e4491a9ada1309cce27c5d10560caa3</id>
<content type='text'>
Submitted by:	Luke Chang-Hsien Tsai &lt;luke.tw@gmail.com&gt;
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Submitted by:	Luke Chang-Hsien Tsai &lt;luke.tw@gmail.com&gt;
MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>In r268463, I misplaced a return in demangle(), causing the function to</title>
<updated>2014-08-09T12:25:06+00:00</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2014-08-09T12:25:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=96ec3cdd8ea16c2d2ce6b9832505b266ec1b2062'/>
<id>96ec3cdd8ea16c2d2ce6b9832505b266ec1b2062</id>
<content type='text'>
erroneously skip symbols that were not mangled at all.  Fix this by
moving the return into the preceding if block.

While here, simplify the code by letting __cxa_demangle() allocate the
needed space for the demangled symbol.  This also fixes a memory leak,
which would occur whenever __cxa_demangle() failed.

Reported by:	pgj
MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
erroneously skip symbols that were not mangled at all.  Fix this by
moving the return into the preceding if block.

While here, simplify the code by letting __cxa_demangle() allocate the
needed space for the demangled symbol.  This also fixes a memory leak,
which would occur whenever __cxa_demangle() failed.

Reported by:	pgj
MFC after:	3 days
</pre>
</div>
</content>
</entry>
</feed>
