History log of /src/usr.sbin/tprof/Makefile |
Revision | | Date | Author | Comments |
1.13 |
| 09-Dec-2022 |
ryo | mainly fixes around display.
- use terminfo - dynamically adjust column widths - mode can be changed while running
|
1.12 |
| 01-Dec-2022 |
ryo | add "top" subcommand to tprof(8)
|
1.11 |
| 01-Dec-2022 |
ryo | split ksyms stuff into ksyms.[ch]
|
1.10 |
| 17-Nov-2020 |
rin | Support aarch64eb; just works fine.
|
1.9 |
| 27-Jan-2019 |
kre | Fix merge botch.
|
1.8 |
| 27-Jan-2019 |
pgoyette | Merge the [pgoyette-compat] branch
|
1.7 |
| 15-Jul-2018 |
jmcneill | Add ARMv7 support.
|
1.6 |
| 15-Jul-2018 |
jmcneill | Add ARMv8 support.
|
1.5 |
| 13-Jul-2018 |
maxv | Merge tpfmt(1) into tprof(8). We want to have access to everything with only one tool. The code is copied mostly as-is, and the functionality is available via the "analyze" command.
Eg: tprof monitor -e llc-misses:k -o myfile.out sleep 20 tprof analyze < myfile.out
Will move soon, I don't like the reading via stdin.
|
1.4 |
| 13-Jul-2018 |
maxv | Revamp tprof.
Rewrite the Intel backend to use the generic PMC interface, which is available on all Intel CPUs. Synchronize the AMD backend with the new interface.
The kernel identifies the PMC interface, and gives its id to userland. Userland then queries the events itself (via cpuid etc). These events depend on the PMC interface.
The tprof utility is rewritten to allow the user to choose which event to count (which was not possible until now, the event was hardcoded in the backend). The command line format is based on usr.bin/pmc, eg:
tprof -e llc-misses:k -o output sleep 20
The man page is updated too, but the arguments will likely change soon anyway so it doesn't matter a lot.
The tprof utility has three tables:
Intel Architectural Version 1 Intel Skylake/Kabylake AMD Family 10h
A CPU can support a combination of tables. For example Kabylake has Intel-Architectural-Version-1 and its own Intel-Kabylake table.
For now the Intel Skylake/Kabylake table contains only one event, just to demonstrate that the combination of tables works. Tested on an Intel Core i5 Kabylake.
The code for AMD Family 10h is taken from the code I had written for usr.bin/pmc. I haven't tested it yet, but it's the same as pmc(1), so I guess it works as-is.
The whole thing is written in such a way that (I think) it is not complicated to add more CPU models, and more architectures (other than x86).
|
1.3 |
| 26-Nov-2011 |
yamt | branches: 1.3.38; 1.3.40; man page
|
1.2 |
| 22-Apr-2009 |
lukem | branches: 1.2.6; Enable WARNS=4 by default, except for: cpuctl dumplfs hprop ipf iprop-log kadmin kcm kdc kdigest kimpersonate kstash ktutil makefs ndbootd ntp pppd quot racoon racoonctl rtadvd sntp sup tcpdchk tcpdmatch tcpdump traceroute traceroute6 user veriexecgen wsmoused zic (Mostly third-party applications)
|
1.1 |
| 01-Jan-2008 |
yamt | branches: 1.1.2; 1.1.14; a dumb program to talk with the tprof driver.
|
1.1.14.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
1.1.2.2 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.1.2.1 |
| 01-Jan-2008 |
matt | file Makefile was added on branch matt-armv6 on 2008-01-09 02:02:33 +0000
|
1.2.6.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.3.40.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.3.38.1 |
| 28-Jul-2018 |
pgoyette | Sync with HEAD
|