summaryrefslogtreecommitdiffstats
path: root/lib/libproc
Commit message (Collapse)AuthorAgeFilesLines
* MFHgjb2016-03-101-0/+26
|\ | | | | | | Sponsored by: The FreeBSD Foundation
| * DIRDEPS_BUILD: Connect MK_TESTS.bdrewery2016-03-091-0/+26
| | | | | | | | Sponsored by: EMC / Isilon Storage Division
* | MFHgjb2016-03-022-2/+3
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * Remove WARNS inherited fine by ../Makefile.inc.bdrewery2016-02-262-2/+3
| | | | | | | | Sponsored by: EMC / Isilon Storage Division
* | First pass through library packaging.gjb2016-02-041-0/+1
| | | | | | | | Sponsored by: The FreeBSD Foundation
* | First pass to fix the 'tests' packages.gjb2016-02-021-0/+4
|/ | | | Sponsored by: The FreeBSD Foundation
* Add support for RISC-V ISA.br2016-01-242-0/+11
| | | | | | | Reviewed by: andrew Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Differential Revision: https://reviews.freebsd.org/D5040
* Fix LDADD/DPADD that should be LIBADD.bdrewery2015-12-041-2/+1
| | | | Sponsored by: EMC / Isilon Storage Division
* META MODE: Rework circular dependency guard for librtld_db/libproc.bdrewery2015-11-252-3/+1
| | | | | | | | | librtld_db only needs libutil.h to build, not the libproc library. So it can safely use its header and allow libproc to depend on librtld_rb to be built first to link. This is required after fixing ld --sysroot in r291226. Sponsored by: EMC / Isilon Storage Division
* META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host.bdrewery2015-11-251-1/+0
| | | | | | | | This both avoids some dependencies on xinstall.host and allows bootstrapping on older releases to work due to lack of at least 'install -l' support. Sponsored by: EMC / Isilon Storage Division
* Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) andngie2015-10-121-3/+0
| | | | | | | | | | | | netbsd-tests.test.mk (r289151) - Eliminate explicit OBJTOP/SRCTOP setting - Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk - Remove unnecessary TESTSDIR setting - Use SRCTOP where possible for clarity MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Divison
* Enable libproc symbol_lookup tests on arm64emaste2015-08-311-9/+0
| | | | | | | | This reverts part of r286863, as the kernel support required by these tests was added in r287105. PR: 202305 Sponsored by: The FreeBSD Foundation
* Fix libproc on architectures that don't need the program counter to beandrew2015-08-241-1/+10
| | | | | | | | | | adjusted. This seems to be the case on all non-x86 architectures libproc supports. Reviewed by: kib Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3465
* On arm64 disable three tests that hang or panicemaste2015-08-171-0/+9
| | | | | | | | | | Each issue has a PR open to track. This workaround allows us to run the tests to investigate the failures and avoid any new regressions. PR: 202304, 202305, 202307 Reviewed by: ngie Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3378
* Make libproc compilable on AArch64.br2015-07-012-12/+26
|
* Add META_MODE support.sjg2015-06-132-0/+26
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-276-17/+89
| |\ | |/ |/|
| * Merge from head@274682sjg2014-11-1912-363/+608
| |\
| * \ Merge head from 7/28sjg2014-08-192-18/+21
| |\ \
| * | | Updated dependenciessjg2014-05-161-1/+1
| | | |
| * | | Updated dependenciessjg2014-05-101-0/+2
| | | |
| * | | Merge from headsjg2014-05-088-44/+94
| |\ \ \
| * | | | New/updated dependenciessjg2014-05-051-0/+1
| | | | |
| * | | | Merge headsjg2014-04-2710-55/+117
| |\ \ \ \
| * \ \ \ \ Merge from headsjg2013-09-051-0/+1
| |\ \ \ \ \
| * | | | | | Updated dependenciessjg2013-03-111-0/+1
| | | | | | |
| * | | | | | Updated dependenciessjg2013-02-161-3/+0
| | | | | | |
| * | | | | | Sync with HEAD.obrien2013-02-084-2/+14
| |\ \ \ \ \ \
| * | | | | | | Avoid circular dependency with librtld_dbsjg2012-11-081-0/+2
| | | | | | | |
| * | | | | | | Updated/new Makefile.dependsjg2012-11-081-0/+8
| | | | | | | |
| | | | | | | |
| | \ \ \ \ \ \
| *-. \ \ \ \ \ \ Sync from headsjg2012-11-044-29/+65
| |\ \ \ \ \ \ \ \
| * | | | | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+14
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | | | | | Fix underlinkingbapt2015-05-191-0/+2
| | | | | | | | |
* | | | | | | | | Fix debug symbols loading in libproc: 0 is a valid file descriptor.stas2015-03-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reported by: Chris Torek <chris.torek@gmail.com>
* | | | | | | | | Teach libproc how to find debugging symbols in /usr/lib/debug.rpaulo2015-02-131-3/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 1 week
* | | | | | | | | Initial version of DTrace on ARM32.gnn2015-02-102-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submitted by: Howard Su based on work by Oleksandr Tymoshenko Reviewed by: ian, andrew, rpaulo, markj
* | | | | | | | | Stop iterating and return if the caller-supplied callback function returnsmarkj2015-01-311-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a non-zero value. MFC after: 1 week
* | | | | | | | | Ensure that we don't try to demangle a symbol name if we failed to lookmarkj2015-01-252-3/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | up the symbol. Add a test to exercise this code path. Reviewed by: adrian
* | | | | | | | | Fix a memory leak that occured when looking up CTF info for a symbol.markj2014-12-231-1/+4
| | | | | | | | |
* | | | | | | | | Convert libraries to use LIBADDbapt2014-11-251-6/+3
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | While here reduce a bit overlinking
* | | | | | | | Remove an incorrect and useless debug print.markj2014-10-041-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | X-MFC-With: r272488
* | | | | | | | Hook up support for userland CTF support in DTrace. This required somemarkj2014-10-034-12/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | Factor out some of the duplicated code in the symbol lookup functions, inmarkj2014-09-251-146/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | preparation for adding userland CTF support to DTrace. MFC after: 1 month Sponsored by: EMC / Isilon Storage Division
* | | | | | | | Add some ATF tests for libproc.markj2014-09-2110-201/+423
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Differential Revision: D710 Reviewed by: jmmv, ngie, rpaulo
* | | | | | | | Fix a bug in r265255: only return NULL if the requested map wasn't found.markj2014-08-241-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submitted by: Luke Chang-Hsien Tsai <luke.tw@gmail.com> MFC after: 1 week
* | | | | | | | In r268463, I misplaced a return in demangle(), causing the function todim2014-08-091-8/+2
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | In libproc, avoid calling __cxa_demangle(), and thus depending on eitherdim2014-07-092-18/+21
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libcxxrt or libsupc++, if WITHOUT_CXX is defined. Noticed by: sbruno MFC after: 1 week
* | | | | | Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | from the latter.
* | | | | | If the traced process stops because it received a signal, libproc needsmarkj2014-05-043-24/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to ensure that the signal is forwarded when proc_continue() is called. MFC after: 3 weeks
OpenPOWER on IntegriCloud