The NetBSD Project

CVS log for src/sys/dev/tprof/tprof_x86_amd.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / tprof

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 1 17:34:33 2023 UTC (20 months, 3 weeks ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.1: +6 -7 lines
Pull up the following revisions, requested by msaitoh in ticket #1697:

	usr.sbin/tprof/tprof.8				1.16,1.22,1.25,1.29 via patch
	usr.sbin/tprof/tprof_analyze.c			1.4
	usr.sbin/tprof/arch/tprof_x86.c 		1.13-1.19
	sys/dev/tprof/tprof.c				1.23 via patch
	sys/dev/tprof/tprof_x86_amd.c			1.7-1.8 via patch
	sys/dev/tprof/tprof_x86_intel.c 		1.8 via patch

- Add AMD family 19h (zen3 and zen4) support.
- Add Intel Comet Lake support.
- Add support for Intel Skylake-X and Cascade Lake.
- Print the path that we failed to open on error.
- Use lowercase consistently for hexadecimal numbers.
- KNF

Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 22:34:51 2023 UTC (22 months, 1 week ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-1-RELEASE, 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: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +8 -10 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.8: download - view: text, markup, annotated - select for diffs
Tue Apr 11 10:07:12 2023 UTC (2 years ago) by msaitoh
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +8 -10 lines
KNF. No functional change.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Dec 8 05:29:27 2022 UTC (2 years, 4 months ago) by msaitoh
Branches: MAIN
CVS tags: netbsd-10-base
Branch point for: netbsd-10
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -2 lines
Add AMD family 19h (zen3 and zen4) support to tprof.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Dec 1 00:32:52 2022 UTC (2 years, 4 months ago) by ryo
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +119 -60 lines
Improve tprof(4)

- Multiple events can now be handled simultaneously.
- Counters should be configured with TPROF_IOC_CONFIGURE_EVENT in advance,
  instead of being configured at TPROF_IOC_START.
- The configured counters can be started and stopped repeatedly by
  PROF_IOC_START/TPROF_IOC_STOP.
- The value of the performance counter can be obtained at any timing as a 64bit
  value with TPROF_IOC_GETCOUNTS.
- Backend common parts are handled in tprof.c as much as possible, and functions
  on the tprof_backend side have been reimplemented to be more primitive.
- The reset value of counter overflows for profiling can now be adjusted.
  It is calculated by default from the CPU clock (speed of cycle counter) and
  TPROF_HZ, but for some events the value may be too large to be sufficient for
  profiling. The event counter can be specified as a ratio to the default or as
  an absolute value when configuring the event counter.
- Due to overall changes, API and ABI have been changed. TPROF_VERSION and
  TPROF_BACKEND_VERSION were updated.

Revision 1.3.2.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:49 2020 UTC (5 years ago) by martin
Branches: phil-wifi
Diff to: previous 1.3.2.2: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.2: +6 -5 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Sat Oct 12 14:34:45 2019 UTC (5 years, 6 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -2 lines
Pull up following revision(s) (requested by jmcneill in ticket #301):

	usr.sbin/tprof/tprof.8: revision 1.15
	sys/dev/tprof/tprof_x86_amd.c: revision 1.5
	usr.sbin/tprof/arch/tprof_x86.c: revision 1.9

Match Family 15h

 -

Add support for AMD Family 15h

 -

Add AMD Family 15h to supported model list

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Oct 11 18:04:52 2019 UTC (5 years, 6 months ago) by jmcneill
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -2 lines
Match Family 15h

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Jun 14 11:50:35 2019 UTC (5 years, 10 months ago) by msaitoh
Branches: MAIN
CVS tags: netbsd-9-base
Branch point for: netbsd-9
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -5 lines
 Fix compile error (s/LAPIC_PCINT/LAPIC_LVT_PCINT/)

Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:33 2019 UTC (5 years, 10 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.1: +254 -0 lines
Sync with HEAD

Revision 1.3.2.1
Wed May 29 17:09:17 2019 UTC (5 years, 11 months ago) by christos
Branches: phil-wifi
FILE REMOVED
Changes since revision 1.3: +0 -254 lines
file tprof_x86_amd.c was added on branch phil-wifi on 2019-06-10 22:07:33 +0000

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed May 29 17:09:17 2019 UTC (5 years, 11 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-20190609
Branch point for: phil-wifi
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -2 lines
Add support for AMD Family 17h.

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:57 2018 UTC (6 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.1: +253 -0 lines
Sync with HEAD

Revision 1.2.2.1
Tue Jul 24 09:47:35 2018 UTC (6 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
FILE REMOVED
Changes since revision 1.2: +0 -253 lines
file tprof_x86_amd.c was added on branch pgoyette-compat on 2018-07-28 04:37:57 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Jul 24 09:47:35 2018 UTC (6 years, 9 months ago) by maxv
Branches: MAIN
CVS tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, jdolecek-ncqfixes-base, jdolecek-ncqfixes, isaki-audio2-base, isaki-audio2
Branch point for: pgoyette-compat
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -22 lines
Merge the tprof_pmi and tprof_amdpmi modules into a single tprof_x86
module.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Jul 16 06:18:31 2018 UTC (6 years, 9 months ago) by maxv
Branches: MAIN
Move
	arch/x86/x86/tprof_pmi.c
	arch/x86/x86/tprof_amdpmi.c
into
	dev/tprof/tprof_x86_intel.c
	dev/tprof/tprof_x86_amd.c

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>