aboutsummaryrefslogtreecommitdiff
path: root/cddl
Commit message (Collapse)AuthorAgeFilesLines
* Don't need to include vmem.h anymore.John Birrell2008-05-231-1/+0
| | | | Notes: svn path=/head/; revision=179265
* Add the dtrace client app to the build.John Birrell2008-05-222-1/+39
| | | | Notes: svn path=/head/; revision=179221
* Add the DTrace build tools.John Birrell2008-05-225-1/+155
| | | | Notes: svn path=/head/; revision=179200
* Oops, these files belonged under src/sys, not src. Sorry.John Birrell2008-05-2218-25785/+0
| | | | Notes: svn path=/head/; revision=179199
* This commit was generated by cvs2svn to compensate for changes in r179191,John Birrell2008-05-2218-0/+25785
| | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=179192
* Add the DTrace libraries and D library scripts.John Birrell2008-05-2211-1/+863
| | | | Notes: svn path=/head/; revision=179189
* Add Solaris compatibility definitions for things we don't really want inJohn Birrell2008-05-212-0/+83
| | | | | | | FreeBSD headers. Notes: svn path=/head/; revision=179163
* * Handle the different ioctl design.John Birrell2008-04-263-14/+524
| | | | | | | * Add a couple of FreeBSD action extensions. Notes: svn path=/head/; revision=178576
* Make this file compile cleanly.John Birrell2008-04-261-1/+3
| | | | Notes: svn path=/head/; revision=178575
* Leave out some header files.John Birrell2008-04-262-0/+10
| | | | Notes: svn path=/head/; revision=178574
* * Handle building on FreeBSD for i386 and amd64.John Birrell2008-04-261-27/+194
| | | | | | | | * Add stubs for the other FreeBSD arches. * Make the file compile cleanly. Notes: svn path=/head/; revision=178573
* * Make this file compile cleanly.John Birrell2008-04-261-10/+27
| | | | | | | * Add FreeBSD constructor/destructor definitions. Notes: svn path=/head/; revision=178572
* * Add FreeBSD action extensions.John Birrell2008-04-261-6/+267
| | | | | | | | | | * Get the kernel module file name rather than hard-coding it like on Solaris. * Use FreeBSD's process library API. * Handle FreeBSD's different lock types. * Get the list of loaded providers via a syscall. Notes: svn path=/head/; revision=178570
* * Handle the different ioctl design.John Birrell2008-04-261-3/+14
| | | | | | | * Make this file compile cleanly. Notes: svn path=/head/; revision=178569
* There is a lot of commented out code here which applies to future workJohn Birrell2008-04-261-2/+112
| | | | | | | | | | for userland tracing. For now we need the basic functions to be in place so that DTrace can be used for kernel tracing. Notes: svn path=/head/; revision=178568
* Leave out a header file.John Birrell2008-04-261-0/+2
| | | | Notes: svn path=/head/; revision=178567
* Merge FreeBSD include file changes with some code that should have comeJohn Birrell2008-04-261-11/+39
| | | | | | | in on the vendor branch. Notes: svn path=/head/; revision=178566
* * Use FreeBSD's process library instead of the Solaris one.John Birrell2008-04-261-1/+122
| | | | | | | | | | * There are a few placeholders in here for which there isn't libproc support code yet. This is relevent to userland tracing. This set of commits is designed to get kernel tracing up and running, with the userland stuff to follow later. Notes: svn path=/head/; revision=178565
* Leave out the hook that Solaris has into it's rtld.John Birrell2008-04-261-0/+2
| | | | Notes: svn path=/head/; revision=178564
* * Add a couple of action definitions for FreeBSD extensions.John Birrell2008-04-261-0/+32
| | | | | | | | | * Handle the different ioctl design. * Add support for the get and set error location. * Add support for freopen(). Notes: svn path=/head/; revision=178563
* * Handle the different ioctl design.John Birrell2008-04-261-1/+17
| | | | | | | * Make the file compile cleanly. Notes: svn path=/head/; revision=178562
* There are many places in libdtrace where errno can be set. When anJohn Birrell2008-04-261-0/+18
| | | | | | | | | | | error is returned all the way back to the dtrace app, it's hard to figure out where that error came from. Add a couple of functions to get and set the error location which can be optionally compiled into the library. Notes: svn path=/head/; revision=178561
* Add some error definitions for FreeBSD action extensions.John Birrell2008-04-261-1/+5
| | | | Notes: svn path=/head/; revision=178560
* * Make this file compile cleanly.John Birrell2008-04-261-7/+98
| | | | | | | | * Use FreeBSD's kld syscalls to get kernel module information instead of using an object file system like Solaris uses. Notes: svn path=/head/; revision=178559
* * Handle the different ioctl design.John Birrell2008-04-261-4/+21
| | | | | | | | * Use FreeBSD's process library API. * Make the file compile cleanly. Notes: svn path=/head/; revision=178558
* Just leave out a few includes to compile this on FreeBSD.John Birrell2008-04-261-0/+4
| | | | Notes: svn path=/head/; revision=178557
* * Get the maximum number of CPUs via a sysctl.John Birrell2008-04-261-2/+63
| | | | | | | | | | | | | * Handle the different ioctl design. * Support the freopen() changes. * Use functions in FreeBSD's process library rather than the CDDL library that Solaris has which sits on top of their process file system and is therefore unsuitable for use on FreeBSD. The libproc API for FreeBSD is deliberately different to that on Solaris because Sun wouldn't release the libproc.h header under a BSD license. Notes: svn path=/head/; revision=178556
* * Define YY_INPUT for flex since input() can't be re-defined.John Birrell2008-04-261-1/+25
| | | | | | | | | | | * On FreeBSD define both LITTLE_ENDIAN and BIG_ENDIAN and then set the BYTE_ORDER to the one we are using. On Solaris they define one or the other but not both. For us to keep using FreeBSD header files, we need to use endian definitions the same way we do in pure BSD code. Notes: svn path=/head/; revision=178555
* Make this compile cleanly.John Birrell2008-04-261-3/+2
| | | | Notes: svn path=/head/; revision=178554
* Handle the different level of indirection between ioctl on SYSV vs BSD.John Birrell2008-04-261-2/+7
| | | | Notes: svn path=/head/; revision=178553
* freopen() on FreeBSD behaves differently to the Solaris one.John Birrell2008-04-261-1/+92
| | | | Notes: svn path=/head/; revision=178552
* * Use a portable POSIX timed wait.John Birrell2008-04-261-1/+22
| | | | | | | * Handle the different ioctl format. Notes: svn path=/head/; revision=178551
* * Fix a function prototype.John Birrell2008-04-261-1/+10
| | | | | | | | * Allow for the different level of indirection between SYSV's ioctl and BSD's. * Map a couple of sysconf definitions to one that FreeBSD has. Notes: svn path=/head/; revision=178550
* Simplify for FreeBSD for now, bypassing the multibyte char variablesJohn Birrell2008-04-261-0/+13
| | | | | | | that Solaris has. We may need to revisit this issue later. Notes: svn path=/head/; revision=178549
* Solaris has code which makes zlib optional, so they have to jump throughJohn Birrell2008-04-261-7/+28
| | | | | | | | some hoops to get the compression functions. On FreeBSD have libz and can just link against it. Notes: svn path=/head/; revision=178548
* 'echo' behaviour differs between SYSV and BSD.John Birrell2008-04-262-4/+8
| | | | Notes: svn path=/head/; revision=178547
* A lot of changes to make this code compile cleanly on FreeBSD.John Birrell2008-04-2623-224/+342
| | | | Notes: svn path=/head/; revision=178546
* Use FreeBSD's libdwarf which is BSD licensed instead of the GPL'd one thatJohn Birrell2008-04-261-137/+105
| | | | | | | is used in Solaris. Notes: svn path=/head/; revision=178545
* We need to be consistent with prototype definitions. It isn't OK toJohn Birrell2008-04-261-8/+55
| | | | | | | | | | use 'const' and just override it whenever we feel like it. If we use it at all, then we need to do it properly. Add a couple of functions that were useful in getting this code ported. Notes: svn path=/head/; revision=178544
* Make this file compile cleanly.John Birrell2008-04-261-25/+25
| | | | Notes: svn path=/head/; revision=178542
* Apply FreeBSD changes.John Birrell2008-04-264-6/+26
| | | | Notes: svn path=/head/; revision=178540
* On FreeBSD we can't afford to have a build fail simply because thereJohn Birrell2008-04-261-0/+14
| | | | | | | was some sort of CTF conversion error. Notes: svn path=/head/; revision=178539
* Add a missing include file. We care about function prototype definitions.John Birrell2008-04-261-0/+1
| | | | Notes: svn path=/head/; revision=178538
* Apply FreeBSD changes.John Birrell2008-04-261-6/+66
| | | | | | | | There is an incomplete piece of code in here which requires the process handling library which is still under development. Notes: svn path=/head/; revision=178537
* * Set the path to perl on FreeBSD.John Birrell2008-04-261-4/+4
| | | | | | | | | | * Use the FreeBSD shell. * On FreeBSD the tests run from the OBJDIR, so output files go there rather than in the source tree like they do on Solaris. * FreeBSD doesn't need a special path to the compiler. Notes: svn path=/head/; revision=178536
* Set the path to perl on FreeBSD.John Birrell2008-04-261-1/+1
| | | | Notes: svn path=/head/; revision=178535
* Port these test files to work under FreeBSD.John Birrell2008-04-2630-183/+296
| | | | Notes: svn path=/head/; revision=178534
* This commit was generated by cvs2svn to compensate for changes in r178528,John Birrell2008-04-2698-2717/+705
| | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=178529
* This commit was generated by cvs2svn to compensate for changes in r178525,John Birrell2008-04-2526-0/+9898
| | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=178526
* This commit was generated by cvs2svn to compensate for changes in r178481,John Birrell2008-04-2540-0/+13733
| | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=178482