| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Reported by: Chris Torek <chris.torek@gmail.com>
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
| |
a non-zero value.
MFC after: 1 week
|
|
|
|
|
|
| |
up the symbol. Add a test to exercise this code path.
Reviewed by: adrian
|
| |
|
|
|
|
| |
X-MFC-With: r272488
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
preparation for adding userland CTF support to DTrace.
MFC after: 1 month
Sponsored by: EMC / Isilon Storage Division
|
|
|
|
|
| |
Submitted by: Luke Chang-Hsien Tsai <luke.tw@gmail.com>
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
libcxxrt or libsupc++, if WITHOUT_CXX is defined.
Noticed by: sbruno
MFC after: 1 week
|
|
|
|
|
|
|
| |
are found. This improves compatibility with Solaris' libproc and fixes a
number of failing DTrace tests that rely on this feature.
MFC after: 3 weeks
|
|
|
|
|
|
|
| |
first address after the end of the map entry and should therefore be
excluded.
MFC after: 2 weeks
|
|
|
|
|
|
|
|
| |
ET_EXEC. This fixes several problems with the DTrace pid provider not
being able to match probes.
Reviewed by: rpaulo
MFC after: 2 weeks
|
|
|
|
|
|
|
|
| |
the extent of a symbol.
Submitted by: Prashanth Kumar <pra_udupi@yahoo.co.in>
Reviewed by: rpaulo
MFC after: 1 week
|
| |
|
|
|
|
|
|
| |
* Don't print any error messages to stderr unless DEBUG is defined.
* Add a DPRINTFX macro for use when errno isn't set.
* Print the error string from libelf when appropriate.
|
|
|
|
| |
preventing a lot of symbol lookups in dtruss -s, for example.
|
|
|
|
|
|
| |
which might have been reallocated.
Pointed out by: stefanf
|
|
|
|
|
|
| |
libc++rt/libsupc++.
Discussed with: theraven
|
|
|
|
| |
exist. This makes it possible to dtrace some C++ programs like devd.
|
|
|
|
|
|
|
|
| |
o return the correct status in proc_wstatus()
o proc_read takes a void *
o correctly allocate the objs structure array
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
|
|
|
|
| |
* breakpoint setup support
* register query
* symbol to address mapping and vice-versa
* more misc utility functions based on their Solaris counterpart
Also, I've written some test cases.
Sponsored by: The FreeBSD Foundation
|
|
These will be fleshed out as part of the DTrace userland tracing
development.
For now, the kernel tracing part of DTrace requires minimal functionality
for this library.
The API for this library is deliberately different from the libproc in
OpenSolaris due to licensing restrictions.
|