The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.5 / (download) - annotate - [select for diffs], Thu Dec 1 00:32:52 2022 UTC (3 months, 2 weeks ago) by ryo
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, HEAD
Changes since 1.4: +125 -62 lines
Diff to previous 1.4 (colored)

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.1 / (download) - annotate - [select for diffs], Sat Oct 15 10:20:32 2022 UTC (5 months ago) by martin
Branch: netbsd-9
Changes since 1.3: +5 -9 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #1543):

	sys/dev/tprof/tprof_x86_intel.c: revision 1.4
	usr.sbin/tprof/arch/tprof_x86.c: revision 1.10
	usr.sbin/tprof/arch/tprof_x86.c: revision 1.11
	usr.sbin/tprof/arch/tprof_x86.c: revision 1.12

Fix typo in a comment.

Use CPUID_PERF_* macros defined in specialreg.h. No functional change.

Add topdown-slots to Intel architectural performance monitoring version 1.

Disable the unsupported events from the bit vector length in EAX.

Revision 1.4 / (download) - annotate - [select for diffs], Thu May 26 13:02:04 2022 UTC (9 months, 3 weeks ago) by msaitoh
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.3: +5 -9 lines
Diff to previous 1.3 (colored)

Use CPUID_PERF_* macros defined in specialreg.h. No functional change.

Revision 1.2.8.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:49 2020 UTC (2 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.2.8.2: +7 -7 lines
Diff to previous 1.2.8.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jun 14 11:50:35 2019 UTC (3 years, 9 months ago) by msaitoh
Branch: 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, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, 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, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: netbsd-9
Changes since 1.2: +7 -7 lines
Diff to previous 1.2 (colored)

 Fix compile error (s/LAPIC_PCINT/LAPIC_LVT_PCINT/)

Revision 1.2.8.2 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:33 2019 UTC (3 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.2.8.1: +249 -0 lines
Diff to previous 1.2.8.1 (colored) to branchpoint 1.2 (colored)

Sync with HEAD

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:57 2018 UTC (4 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.2.2.1: +249 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD

Revision 1.2.8.1, Tue Jul 24 09:47:35 2018 UTC (4 years, 7 months ago) by christos
Branch: phil-wifi
Changes since 1.2: +0 -249 lines
FILE REMOVED

file tprof_x86_intel.c was added on branch phil-wifi on 2019-06-10 22:07:33 +0000

Revision 1.2.2.1, Tue Jul 24 09:47:35 2018 UTC (4 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.2: +0 -249 lines
FILE REMOVED

file tprof_x86_intel.c was added on branch pgoyette-compat on 2018-07-28 04:37:57 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Tue Jul 24 09:47:35 2018 UTC (4 years, 7 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20190609, 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: phil-wifi, pgoyette-compat
Changes since 1.1: +3 -22 lines
Diff to previous 1.1 (colored)

Merge the tprof_pmi and tprof_amdpmi modules into a single tprof_x86
module.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Jul 16 06:18:31 2018 UTC (4 years, 8 months ago) by maxv
Branch: 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

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>