summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Non-void function should return a value.emaste2012-11-201-1/+1
| | | | Found by: clang
* Remove unused variable.emaste2012-11-201-1/+0
|
* Use '%zu' and '%zd' as appropriate for size_t / ssize_t.emaste2012-11-193-5/+5
|
* Zero the whole struct not just the size of a pointer.emaste2012-11-191-1/+1
| | | | Found by: clang
* Use '%zd' format specifier for ssize_temaste2012-11-193-13/+13
| | | | Found by: clang
* Use '%zd' printf format for ssize_t.emaste2012-11-191-2/+2
|
* sh: Apply rlimits to parser/alias10.0 so it fails fast.jilles2012-11-181-0/+4
| | | | Requested by: uqs
* Make this a flag.adrian2012-11-171-1/+1
|
* Implement AR5210 descriptor decoding.adrian2012-11-174-2/+204
|
* Add AR5211 descriptor decoding support.adrian2012-11-174-2/+205
|
* Add AR5212 frame decoding support.adrian2012-11-174-4/+250
|
* Implement a basic data decoder for the data produced by if_ath_alq.adrian2012-11-174-0/+529
| | | | This decodes the AR5416 family 11n TX and RX descriptors.
* Don't install atf.test.mk if MK_ATF == no.marcel2012-11-151-0/+1
| | | | Submitted by: Garrett Cooper <yanegomi@gmail.com>
* sh: Add tests for modifying an alias (r242766).jilles2012-11-083-0/+21
| | | | | Note: parser/alias10.0 will eat a lot of memory/cpu time when it fails (with the old sh).
* sh: Test that a redefined alias works.jilles2012-11-071-0/+6
|
* Add a description of WITHOUT_CLANG_IS_CC.brooks2012-11-051-0/+6
|
* Test both active and non-active cases.obrien2012-10-261-0/+8
|
* Iterate rather than use recursion. We can blow out the kernel stack if thereobrien2012-10-262-3/+198
| | | | is a long chain of fork(2)s.
* remove duplicate semicolons where possible.eadler2012-10-222-2/+2
| | | | | Approved by: cperciva MFC after: 1 week
* Covert regression test to python 3eadler2012-10-221-7/+7
| | | | | Approved by: cperciva MFC after: 3 days
* Finish migration of MAINTAINER entrieseadler2012-10-221-2/+0
| | | | | Approved by: cperciva MFC after: 3 days
* Covert to python 3eadler2012-10-221-4/+4
| | | | | Approved by: cperciva MFC after: 3 days
* Add ATF to the build. This is may be a bit rought around the egdes,marcel2012-10-222-0/+73
| | | | | | | | | | | | | | | | | but committing it helps to get everyone on the same page and makes sure we make progress. Tinderbox breakages that are the result of this commit are entirely the committer's fault -- in other words: buildworld testing on amd64 only. Credits follow: Submitted by: Garrett Cooper <yanegomi@gmail.com> Sponsored by: Isilon Systems Based on work by: keramida@ Thanks to: gnn@, mdf@, mlaier@, sjg@ Special thanks to: keramida@
* Remove the netncp and nwfs files from here. They will be moved to theandreast2012-10-171-41/+0
| | | | | | ObsoleteFiles.inc file later. Discussed with: attilio
* - Remove GNU sort and the WITH_GNU_SORT knobgabor2012-10-131-2/+0
|
* Make local function static.emaste2012-10-111-1/+1
|
* Add a "clearstats" subcommand to cxgbetool that lets you clear thenp2012-10-101-0/+25
| | | | | | | | | | MAC statistics for any port. For example: # cxgbetool t4nex0 clearstats 0 Submitted by: gnn@ MFC after: 3 days
* Add an "i2c" subcommand to cxgbetool. You can use this to readnp2012-10-101-0/+58
| | | | | | | | | | | | | | information from the transceivers connected to the ports of a cxgbe(4) based card. # cxgbetool t4nex0 i2c <port_id> <dev_addr> <addr> [<count>] For example: # cxgbetool t4nex0 i2c 0 0xa0 3 0x10 [16] (As per SFF-8472 the SFP+ module is at 0xa0 and bit 4 in the value at address 3 indicates it's a 10Gbase-SR module, which it is.)
* Revert previous commit...kevlo2012-10-105-8/+9
| | | | Pointyhat to: kevlo (myself)
* Prefer NULL over 0 for pointerskevlo2012-10-095-9/+8
|
* Add support for bmake. This includes:marcel2012-10-061-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Don't do upgrade_checks when using bmake. As long as we have WITH_BMAKE, there's a bootstrap complication in ths respect. Avoid it. Make the necessary changes to have upgrade_checks work wth bmake anyway. 2. Remove the use of -E. It's not needed in our build because we use ?= for the respective variables, which means that we'll take the environment value (if any) anyway. 3. Properly declare phony targets as phony as bmake is a lot smarter (and thus agressive) about build avoidance. 4. Make sure CLEANFILES is complete and use it on .NOPATH. bmake is a lot smarter about build avoidance and should not find files we generate in the source tree. We should not have files in the repository we want to generate, but this is an easier way to cross this hurdle. 5. Have behavior under bmake the same as it is under make with respect to halting when sub-commands fail. Add "set -e" to compound commands so that bmake is informed when sub-commands fail. 6. Make sure crunchgen uses the same make as the rest of the build. This is important when the make utility isn't called make (but bmake for example). 7. While here, add support for using MAKEOBJDIR to set the object tree location. It's the second alternative bmake looks for when determining the actual object directory (= .OBJDIR). Submitted by: Simon Gerraty <sjg@juniper.net> Submitted by: John Van Horne <jvanhorne@juniper.net>
* Add bmake to the build and allow it to be installed as make(1) insteadmarcel2012-10-061-0/+8
| | | | | | | | of FreeBSD's make by setting WITH_BMAKE. The WITH_BMAKE build makes it easy for people to switch while working out the kinks -- think ports tree here. The option will be removed in due time. Submitted by: Simon Gerraty (sjg@juniper.net)
* Clean up compiler warnings.emaste2012-10-031-4/+22
| | | | | | | More work is needed here but this now builds with WARNS=6. Sponsored by: ADARA Networks MFC after: 2 weeks
* Add regression test for kern/172075.emaste2012-09-261-0/+59
| | | | | Sponsored by: ADARA Networks PR: kern/172075
* sh: Add some tests for aliasing a utility to itself.jilles2012-09-222-0/+8
|
* Add documentation for the WITHOUT_KDUMP switch.zeising2012-09-191-0/+5
| | | | | | This swtich was introduced in r240404 Approved by: joel (mentor)
* Correct double "the the"eadler2012-09-141-1/+1
| | | | | Approved by: cperciva MFC after: 3 days
* Remove scripts and tools which only functioned when src was using CVSeadler2012-09-1311-1080/+0
| | | | | Approved by: cperciva MFC after: 1 week
* r235638 is not the clean way to add support for building on ancient FreeBSDobrien2012-09-111-2/+14
| | | | | | | | versions. Instead use Imp's good work on "legacy" and follow the outcome of the previous TRB discussions on this topic. Now use the libc getline() if it exists, and only where it doesn't create a bootstraping version.
* Add SOFT as a possible section to exclude from counter list.fabient2012-09-101-1/+1
|
* Add some colour to make it easy (well, easier) to see what the currentadrian2012-09-101-1/+49
| | | | | | | selected rates and current sample rates are. (Note: when run under high traffic and with -s 0.1 the display becomes very mesmerising. You've been warned.)
* Add a '-s <timeout>' option which will display live rate controladrian2012-09-082-26/+74
| | | | statistics.
* Tidy up the output quite substantially, making it fit well withinadrian2012-09-071-4/+4
| | | | | | | 80 columns. This makes it much easier to use in a shell script, to display a "top" style output with live rate control data.
* Make this build again!adrian2012-09-071-1/+2
|
* Failure to open netmap device is unrecoverable.emaste2012-09-041-1/+1
| | | | | There's no reason to "fail later" since there's nothing this tool can do in netmap mode without /dev/netmap open.
* Add a reasonable error message telling the caller to specify a programgnn2012-09-041-0/+4
| | | | | to be executed under hwpmc. If there is no program to run then exit.
* Minor mdoc fix.joel2012-09-011-5/+3
|
* The error syntax has changed.des2012-08-301-1/+1
|
* Do a bunch of fixing and refactoring.adrian2012-08-291-8/+10
| | | | | | | Fix up gzip to crunch right. Add kenv, although I'm not yet sure why it isn't working on my MIPS boards (reading kenv always returns blank.)
* Disable fsck_ffs for now, 4MB target size issues.adrian2012-08-291-1/+1
|
OpenPOWER on IntegriCloud