aboutsummaryrefslogtreecommitdiff
path: root/tools/test/hwpmc
Commit message (Collapse)AuthorAgeFilesLines
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-0/+2
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Notes: svn path=/head/; revision=326025
* As python3 does not have raw_input(), convert it to input() when weHiren Panchasara2013-05-131-1/+5
| | | | | | | | | | | are using python3. PR: 177214 Reviewed by: gnn Approved by: sbruno (mentor) Notes: svn path=/head/; revision=250612
* Covert to python 3Eitan Adler2012-10-221-4/+4
| | | | | | | | Approved by: cperciva MFC after: 3 days Notes: svn path=/head/; revision=241826
* Add SOFT as a possible section to exclude from counter list.Fabien Thomas2012-09-101-1/+1
| | | | Notes: svn path=/head/; revision=240323
* Add a reasonable error message telling the caller to specify a programGeorge V. Neville-Neil2012-09-041-0/+4
| | | | | | | | to be executed under hwpmc. If there is no program to run then exit. Notes: svn path=/head/; revision=240101
* Remove UCP from the list of countersGeorge V. Neville-Neil2012-02-141-1/+1
| | | | Notes: svn path=/head/; revision=231699
* Add options for program (-p) and to turn off waiting (-w) which is nowGeorge V. Neville-Neil2012-02-141-5/+20
| | | | | | | | | | | | on by default. The default is to wait after each counter is tested. Since the prompt would go to stdout you won't see it if you're redirecting the output of the executed sub-program to /dev/null, so just press return to continue or Ctrl-D to stop. Notes: svn path=/head/; revision=231698
* Add a rudimentary test to run through all the available counters on aGeorge V. Neville-Neil2012-02-141-0/+79
system and then execute a program with pmcstat in counting mode. The program will verify that all counters fire and that the code neither panics the system nor locks it up. This should be considered a first pass conformance test for new sets of counters being added to hwpmc(4). Notes: svn path=/head/; revision=231634