Home | History | Annotate | Download | only in tprof
History log of /src/usr.sbin/tprof/tprof_top.c
RevisionDateAuthorComments
 1.11  07-Feb-2024  msaitoh Remove ryo@'s mail addresses.
 1.10  02-Jan-2024  kre This needs <stdbool.h> - it used to come from <sys/rbtree.h> (inappropriately)
but no longer (normally). This should unbreak the builds.
 1.9  17-Apr-2023  msaitoh Use the default counter if -e argument is not specified.

monitor command:
The default counter is selected if -e argument is not specified.
list command:
Print the name of the default counter for monitor and top command.
 1.8  23-Dec-2022  christos use malloc instead of alloca so that SSP works.
 1.7  16-Dec-2022  ryo branches: 1.7.2;
the "scale" option can be specified in the event name even in "tprof monitor"
 1.6  16-Dec-2022  ryo - added 'c' command to tprof-top to show/hide event counter.
- column widths were not calculated correctly and sometimes displayed incorrectly.
- use putp() for terminfo str.
- fix build error with llvm.
 1.5  09-Dec-2022  ryo if column width changes, the screen must be updated.
 1.4  09-Dec-2022  ryo mainly fixes around display.

- use terminfo
- dynamically adjust column widths
- mode can be changed while running
 1.3  09-Dec-2022  ryo add accumulative mode. "tprof top -a"
 1.2  01-Dec-2022  ryo fix build error of printf format
 1.1  01-Dec-2022  ryo add "top" subcommand to tprof(8)
 1.7.2.2  21-Jun-2023  martin Pull up following revision(s) (requested by msaitoh in ticket #210):

usr.sbin/tprof/tprof.8: revision 1.30
sys/dev/tprof/tprof_x86_amd.c: revision 1.8
sys/dev/tprof/tprof_armv8.c: revision 1.20
sys/dev/tprof/tprof_types.h: revision 1.7
sys/dev/tprof/tprof_x86_intel.c: revision 1.6
sys/dev/tprof/tprof_x86_intel.c: revision 1.7
sys/dev/tprof/tprof_x86_intel.c: revision 1.8
sys/dev/tprof/tprof.c: revision 1.23
usr.sbin/tprof/tprof.8: revision 1.25
usr.sbin/tprof/tprof.8: revision 1.26
usr.sbin/tprof/arch/tprof_x86.c: revision 1.16
usr.sbin/tprof/tprof.8: revision 1.27
usr.sbin/tprof/arch/tprof_x86.c: revision 1.17
usr.sbin/tprof/tprof.8: revision 1.28
usr.sbin/tprof/tprof.h: revision 1.5
usr.sbin/tprof/tprof.8: revision 1.29
sys/dev/tprof/tprof_armv7.c: revision 1.13
usr.sbin/tprof/tprof_top.c: revision 1.9
usr.sbin/tprof/tprof.c: revision 1.21

Add Cometlake support.

Obtain the number of general counters from CPUID 0xa.

Test cpuid_level in tprof_intel_ncounters().
This function is called before tprof_intel_ident().

KNF. No functional change.

Add two note to the tprof(8)'s manual page.
- "list" command prints the maximum number of counters that can be used
simultaneously.
- multiple -e arguments can be specified.

Use the default counter if -e argument is not specified.
monitor command:
The default counter is selected if -e argument is not specified.
list command:
Print the name of the default counter for monitor and top command.

tprof.8: new sentence, new line

tprof(8): fix markup nits

tprof.8: fix typo, s/speficied/specified/
 1.7.2.1  24-Dec-2022  martin Pull up following revision(s) (requested by christos in ticket #22):

usr.sbin/tprof/tprof_top.c: revision 1.8

use malloc instead of alloca so that SSP works.

RSS XML Feed