The NetBSD Project

CVS log for src/usr.sbin/tprof/tprof_top.c

[BACK] Up to [cvs.NetBSD.org] / src / usr.sbin / tprof

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.7.2.3: download - view: text, markup, annotated - select for diffs
Mon Oct 14 06:28:20 2024 UTC (7 weeks, 4 days ago) by martin
Branches: netbsd-10
Diff to: previous 1.7.2.2: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.2.2: +3 -2 lines
Additionally pull up

	usr.sbin/tprof/tprof_top.c		1.10

for ticket #952: sys/endian.h: PR 57806 + 57807: fix declaration visibility.

This needs <stdbool.h> - it used to come from <sys/rbtree.h> (inappropriately)
but no longer (normally).    This should unbreak the builds.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Feb 7 04:20:28 2024 UTC (9 months, 4 weeks ago) by msaitoh
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3 lines
Remove ryo@'s mail addresses.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Jan 2 22:35:26 2024 UTC (11 months ago) by kre
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -2 lines
This needs <stdbool.h> - it used to come from <sys/rbtree.h> (inappropriately)
but no longer (normally).    This should unbreak the builds.

Revision 1.7.2.2: download - view: text, markup, annotated - select for diffs
Wed Jun 21 22:34:51 2023 UTC (17 months, 2 weeks ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Diff to: previous 1.7.2.1: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.2.1: +3 -26 lines
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/

Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Apr 17 08:37:24 2023 UTC (19 months, 3 weeks ago) by msaitoh
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -26 lines
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.

Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 24 17:17:27 2022 UTC (23 months, 1 week ago) by martin
Branches: netbsd-10
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +7 -3 lines
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.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Dec 23 19:37:06 2022 UTC (23 months, 2 weeks ago) by christos
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +7 -3 lines
use malloc instead of alloca so that SSP works.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Dec 16 08:02:04 2022 UTC (23 months, 3 weeks ago) by ryo
Branches: MAIN
CVS tags: netbsd-10-base
Branch point for: netbsd-10
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +7 -41 lines
the "scale" option can be specified in the event name even in "tprof monitor"

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Dec 16 08:00:47 2022 UTC (23 months, 3 weeks ago) by ryo
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +31 -27 lines
- 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.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Dec 9 02:19:07 2022 UTC (23 months, 4 weeks ago) by ryo
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +8 -4 lines
if column width changes, the screen must be updated.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Dec 9 01:56:40 2022 UTC (23 months, 4 weeks ago) by ryo
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +432 -170 lines
mainly fixes around display.

- use terminfo
- dynamically adjust column widths
- mode can be changed while running

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Dec 9 01:55:46 2022 UTC (23 months, 4 weeks ago) by ryo
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +284 -161 lines
add accumulative mode. "tprof top -a"

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Dec 1 03:32:24 2022 UTC (2 years ago) by ryo
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +5 -5 lines
fix build error of printf format

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Dec 1 00:43:27 2022 UTC (2 years ago) by ryo
Branches: MAIN
add "top" subcommand to tprof(8)

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>