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


Default branch: MAIN


Revision 1.11 / (download) - annotate - [select for diffs], Wed Feb 7 04:20:28 2024 UTC (2 months ago) by msaitoh
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Remove ryo@'s mail addresses.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jan 2 22:35:26 2024 UTC (3 months, 1 week ago) by kre
Branch: MAIN
Changes since 1.9: +3 -2 lines
Diff to previous 1.9 (colored)

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) - annotate - [select for diffs], Wed Jun 21 22:34:51 2023 UTC (9 months, 3 weeks ago) by martin
Branch: 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
Changes since 1.7.2.1: +3 -26 lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

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) - annotate - [select for diffs], Mon Apr 17 08:37:24 2023 UTC (11 months, 4 weeks ago) by msaitoh
Branch: MAIN
Changes since 1.8: +3 -26 lines
Diff to previous 1.8 (colored)

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) - annotate - [select for diffs], Sat Dec 24 17:17:27 2022 UTC (15 months, 2 weeks ago) by martin
Branch: netbsd-10
Changes since 1.7: +7 -3 lines
Diff to previous 1.7 (colored)

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) - annotate - [select for diffs], Fri Dec 23 19:37:06 2022 UTC (15 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.7: +7 -3 lines
Diff to previous 1.7 (colored)

use malloc instead of alloca so that SSP works.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Dec 16 08:02:04 2022 UTC (15 months, 4 weeks ago) by ryo
Branch: MAIN
CVS Tags: netbsd-10-base
Branch point for: netbsd-10
Changes since 1.6: +7 -41 lines
Diff to previous 1.6 (colored)

the "scale" option can be specified in the event name even in "tprof monitor"

Revision 1.6 / (download) - annotate - [select for diffs], Fri Dec 16 08:00:47 2022 UTC (15 months, 4 weeks ago) by ryo
Branch: MAIN
Changes since 1.5: +31 -27 lines
Diff to previous 1.5 (colored)

- 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) - annotate - [select for diffs], Fri Dec 9 02:19:07 2022 UTC (16 months ago) by ryo
Branch: MAIN
Changes since 1.4: +8 -4 lines
Diff to previous 1.4 (colored)

if column width changes, the screen must be updated.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Dec 9 01:56:40 2022 UTC (16 months ago) by ryo
Branch: MAIN
Changes since 1.3: +432 -170 lines
Diff to previous 1.3 (colored)

mainly fixes around display.

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

Revision 1.3 / (download) - annotate - [select for diffs], Fri Dec 9 01:55:46 2022 UTC (16 months ago) by ryo
Branch: MAIN
Changes since 1.2: +284 -161 lines
Diff to previous 1.2 (colored)

add accumulative mode. "tprof top -a"

Revision 1.2 / (download) - annotate - [select for diffs], Thu Dec 1 03:32:24 2022 UTC (16 months, 1 week ago) by ryo
Branch: MAIN
Changes since 1.1: +5 -5 lines
Diff to previous 1.1 (colored)

fix build error of printf format

Revision 1.1 / (download) - annotate - [select for diffs], Thu Dec 1 00:43:27 2022 UTC (16 months, 1 week ago) by ryo
Branch: MAIN

add "top" subcommand to tprof(8)

This form allows you to request diff's 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.




CVSweb <webmaster@jp.NetBSD.org>