summaryrefslogtreecommitdiffstats
path: root/lib/libproc
Commit message (Collapse)AuthorAgeFilesLines
* Implement DTrace for PowerPC. This includes both 32-bit and 64-bit.jhibbits2012-11-072-0/+11
| | | | | | | | | | | There is one known issue: Some probes will display an error message along the lines of: "Invalid address (0)" I tested this with both a simple dtrace probe and dtruss on a few different binaries on 32-bit. I only compiled 64-bit, did not run it, but I don't expect problems without the modules loaded. Volunteers are welcome. MFC after: 1 month
* When calling the C++ demangler, make sure to free the returned buffer,rpaulo2012-09-071-6/+24
| | | | | | which might have been reallocated. Pointed out by: stefanf
* Add support for demangling C++ symbols. This requires linking libproc withrpaulo2012-09-062-2/+22
| | | | | | libc++rt/libsupc++. Discussed with: theraven
* Fix test cases to work with the latest version of the API.rpaulo2012-09-062-3/+4
|
* Make sure we visit both symbol sections even if one of them doesn'trpaulo2012-09-021-24/+21
| | | | exist. This makes it possible to dtrace some C++ programs like devd.
* Make libproc compilable for MIPSgonzo2012-03-232-0/+11
|
* fix a serious bug in libproc's proc_attachavg2011-08-031-2/+1
| | | | | | | | | | proc_attach always frees any struct proc_handle data that it allocates, but that is supposed to be done only in error conditions. PR: bin/158431 Approved by: re (kib) MFC after: 1 week
* Fix a memory leak on the error conditionkevlo2010-12-141-1/+1
| | | | Reviewed by: rpaulo
* Ignore EINTR when calling waitpid.rpaulo2010-09-181-1/+2
|
* Several fixes for libproc:rpaulo2010-08-115-9/+25
| | | | | | | | 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
* Revert SHLIB_MAJOR to 2.rpaulo2010-07-311-1/+1
| | | | | As discussed with kan@, since DTrace is the only consumer of libproc right now, there's no need for a major shlib bump.
* Bump the shared library major version due to ABI conflicts.rpaulo2010-07-311-1/+1
| | | | Sponsored by: The FreeBSD Foundation
* New version of libproc. Changes are:rpaulo2010-07-3116-76/+1316
| | | | | | | | | | | * 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
* Removed redundant -I. from CFLAGS and "yes" from WITHOUT_MAN.ru2010-02-251-2/+2
|
* Build lib/ with WARNS=6 by default.ed2010-01-021-2/+0
| | | | | | | | | Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and lower it when needed. I'm setting WARNS?=0 for secure/. It seems secure/ includes the Makefile.inc provided by lib/. I'm not going to touch that directory. Most of the code there is contributed anyway.
* Bump the version of all non-symbol-versioned shared libraries inkensmith2009-07-191-1/+1
| | | | | | | | preparation for 8.0-RELEASE. Add the previous version of those libraries to ObsoleteFiles.inc and bump __FreeBSD_Version. Reviewed by: kib Approved by: re (rwatson)
* Merge latest DTrace changes from Perforce.rodrigc2008-11-052-3/+10
| | | | | | Update libproc API to reflect new changes. Approved by: jb
* Add the Makefile for the process library which was missed in the previousjb2008-05-221-0/+20
| | | | commit.
* Add a process library with some stubs that the DTrace client needs.jb2008-05-225-0/+473
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.
OpenPOWER on IntegriCloud