summaryrefslogtreecommitdiffstats
path: root/cddl/lib
Commit message (Collapse)AuthorAgeFilesLines
* Rename zfs nvpair files to not colidate with our nvlist.oshogbo2015-07-091-3/+3
| | | | | PR: 201356 Approved by: pjd (mentor)
* First cut of DTrace for AArch64.br2015-07-012-11/+15
| | | | | | Reviewed by: andrew, emaste Sponsored by: ARM Limited Differential Revision: https://reviews.freebsd.org/D2738
* Revert r284417 it is not necessary anymorebapt2015-06-151-1/+1
|
* Enforce overwritting SHLIBDIRbapt2015-06-151-1/+1
| | | | | | | | | Since METAMODE has been added, sys.mk loads bsd.mkopt.mk which ends load loading bsd.own.mk which then defines SHLIBDIR before all the Makefile.inc everywhere. This makes /lib being populated again. Reported by: many
* Fix circular dependency between libzfs and libzfs_corebapt2015-06-152-2/+2
| | | | | libzfs_core is the wrapper around kernel ioctls, the ioctl compat code belongs to it
* Add META_MODE support.sjg2015-06-1310-0/+240
|\ | | | | | | | | | | | | | | | | | | | | 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-0810-20/+0
| |
| * Merge sync of headsjg2015-05-277-2/+122
| |\ | |/ |/|
| * Updated/new dependenciessjg2014-11-192-0/+5
| |
| * Merge from head@274682sjg2014-11-194-8/+15
| |\
| * \ Merge head from 7/28sjg2014-08-197-60/+63
| |\ \
| * | | Updated dependenciessjg2014-05-169-9/+9
| | | |
| * | | Updated dependenciessjg2014-05-109-0/+18
| | | |
| * | | Merge from headsjg2014-05-083-2/+2
| |\ \ \
| * \ \ \ Merge headsjg2014-04-277-3/+33
| |\ \ \ \
| * \ \ \ \ Merge head@256284sjg2013-10-131-2/+40
| |\ \ \ \ \
| * \ \ \ \ \ Merge from headsjg2013-09-058-35/+675
| |\ \ \ \ \ \
| * | | | | | | New/updated dependenciessjg2013-04-142-0/+21
| | | | | | | |
| * | | | | | | sync from headsjg2013-04-124-2/+46
| |\ \ \ \ \ \ \
| * | | | | | | | Updated dependenciessjg2013-03-118-0/+8
| | | | | | | | |
| * | | | | | | | Updated dependenciessjg2013-02-169-18/+0
| | | | | | | | |
| * | | | | | | | Sync with HEAD.obrien2013-02-082-2/+7
| |\ \ \ \ \ \ \ \
| * | | | | | | | | Updated/new Makefile.dependsjg2012-11-088-0/+18
| | | | | | | | | |
| | | | | | | | | |
| | \ \ \ \ \ \ \ \
| | \ \ \ \ \ \ \ \
| | \ \ \ \ \ \ \ \
| *---. \ \ \ \ \ \ \ \ Sync from headsjg2012-11-046-4/+126
| |\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-229-0/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | | | | | | | | | Add dependencies for libzfs_core and libzpool I missed on my first pass on thisngie2015-05-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Makefile MFC with: r283144 Sponsored by: EMC / Isilon Storage Division
* | | | | | | | | | | | | Articulate dependencies for cddl/lib/libdtrace and cddl/lib/libzfsngie2015-05-201-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Parallelize the build in this subdirectory MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* | | | | | | | | | | | | Correctly link libdtrace and convert to LIBADDbapt2015-05-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make dtrace only link to libdtrace
* | | | | | | | | | | | | Actually remove siftr-related definitions from tcp.d, missed in r283026.markj2015-05-171-75/+0
| | | | | | | | | | | | |
* | | | | | | | | | | | | Move siftr-related definitions out of tcp.d and into a separate librarymarkj2015-05-172-0/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | which declares a dependency on siftr(4). This is necessitated by a reference to struct pkt_node, which is defined in siftr(4): otherwise, dtrace(1) will return an error during startup if siftr.ko is not loaded.
* | | | | | | | | | | | | Brief demo script showing the various values that can be read viagnn2015-04-291-0/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the new SIFTR statically defined tracepoint (SDT). Differential Revision: https://reviews.freebsd.org/D2387 Reviewed by: bz, markj
* | | | | | | | | | | | | libdtrace: add support for lazyload mode.markj2015-04-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Passing "-x lazyload" to dtrace -G during compilation causes dtrace(1) to not link drti.o into the output object file, so the USDT probes are not created during process startup. Instead, dtrace(1) will automatically discover and create probes on the process' behalf when attaching. Differential Revision: https://reviews.freebsd.org/D2203 Reviewed by: rpaulo MFC after: 1 month
* | | | | | | | | | | | | Initial version of DTrace on ARM32.gnn2015-02-102-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submitted by: Howard Su based on work by Oleksandr Tymoshenko Reviewed by: ian, andrew, rpaulo, markj
* | | | | | | | | | | | | MFV r272851:markj2014-12-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5202 want ctf(4) illumos/illumos-gate@fe2e029eea29fd49d0d9058dbd5b79a252667e6b
* | | | | | | | | | | | | MFV r260710 + 275532:delphij2014-12-061-0/+1
| |_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new method, nvlist_print_json to allow libnvpair to emit JSON. MFC after: 1 month
* | | | | | | | | | | | Correct the calculation of tcps_rto in the struct tcpcb -> tcpsinfo_tmarkj2014-10-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | translator. Submitted by: Grenville Armitage <garmitage@swin.edu.au> MFC after: 1 week
* | | | | | | | | | | | Update the TCP structure used by DTrace to show the smoothed RTT.gnn2014-10-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will allow similar functionality to SIFTR to be built with DTrace. Submitted by: Grenville Armitage MFC after: 2 weeks
* | | | | | | | | | | | Hook up support for userland CTF support in DTrace. This required somemarkj2014-10-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | | | | | Add dependencies to various libraries to libzfs and libzpool.delphij2014-10-032-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submitted by: sef
* | | | | | | | | | | | Revert r272189, the committed version was an old version and breaks build.delphij2014-09-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pointy hat to: delphij
* | | | | | | | | | | | Add libuutil to dependency list.delphij2014-09-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Noticed by: sef MFC after: 3 days
* | | | | | | | | | | | Make DTrace stuff compile with C99 standard.delphij2014-08-221-0/+1
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | |
* | | | | | | | | | | Remove ia64.marcel2014-07-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes: o All directories named *ia64* o All files named *ia64* o All ia64-specific code guarded by __ia64__ o All ia64-specific makefile logic o Mention of ia64 in comments and documentation This excludes: o Everything under contrib/ o Everything under crypto/ o sys/xen/interface o sys/sys/elf_common.h Discussed at: BSDcan
* | | | | | | | | | | Add stubs for CTF functions which are not yet implemented.rpaulo2014-06-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 2 weeks
* | | | | | | | | | | Explicitly link libzfs against libavl as it is done in OpenSolarisdelphij2014-05-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (4543:12bb2876a62e). Without this, some third party applications may break because the lack of AVL related symbols. FreeBSD base system are not affected because the FreeBSD ZFS command line tools were all linked against libavl and thus hide the underlying issue. PR: java/183081 Tested by: jkim MFC after: 3 days
* | | | | | | | | | | Bind ip/tcp/udp provider translators and symbols to the same versions as inmarkj2014-05-143-57/+57
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | illumos, rather than using "1.0" everywhere. Some of the translators use D functions that are not present in version 1.0 (e.g. inet_ntoa()) which can result in libdtrace crashing when running scripts that restrict themselves to version 1.0 (e.g. with "-x version=1.0"). MFC after: 1 week
* | | | | | | | | | Import adapted OpenSolaris' thread pool API implementation.mav2014-05-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The thread pool is used by libzfs to implement parallel disk scanning. Without this change our dummy wrapper made `zpool import ZZZ` command to scan all disks sequentially from the single thread when searching for pools. This change makes it use two threads per CPU, same as in OpenSolaris. On system with 200 HDDs this change reduces ZFS pool import time from 35 to 22 seconds.
* | | | | | | | | | Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from the latter.
* | | | | | | | | | Remove a duplicate definition.markj2014-05-041-1/+0
| |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 3 days
* | | | | | | | | Spell NO_PROFILE= as MK_PROFILE=no.imp2014-04-251-1/+1
| | | | | | | | |
OpenPOWER on IntegriCloud