History log of /src/sys/dev/tprof/tprof_x86_intel.c |
Revision | | Date | Author | Comments |
1.8 |
| 11-Apr-2023 |
msaitoh | KNF. No functional change.
|
1.7 |
| 11-Apr-2023 |
msaitoh | Test cpuid_level in tprof_intel_ncounters().
This function is called before tprof_intel_ident().
|
1.6 |
| 11-Apr-2023 |
msaitoh | Obtain the number of general counters from CPUID 0xa.
|
1.5 |
| 01-Dec-2022 |
ryo | branches: 1.5.2; 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.
|
1.4 |
| 26-May-2022 |
msaitoh | Use CPUID_PERF_* macros defined in specialreg.h. No functional change.
|
1.3 |
| 14-Jun-2019 |
msaitoh | branches: 1.3.2; Fix compile error (s/LAPIC_PCINT/LAPIC_LVT_PCINT/)
|
1.2 |
| 24-Jul-2018 |
maxv | branches: 1.2.2; 1.2.8; Merge the tprof_pmi and tprof_amdpmi modules into a single tprof_x86 module.
|
1.1 |
| 16-Jul-2018 |
maxv | 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
|
1.2.8.3 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
1.2.8.2 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.2.8.1 |
| 24-Jul-2018 |
christos | file tprof_x86_intel.c was added on branch phil-wifi on 2019-06-10 22:07:33 +0000
|
1.2.2.2 |
| 28-Jul-2018 |
pgoyette | Sync with HEAD
|
1.2.2.1 |
| 24-Jul-2018 |
pgoyette | file tprof_x86_intel.c was added on branch pgoyette-compat on 2018-07-28 04:37:57 +0000
|
1.3.2.2 |
| 01-Aug-2023 |
martin | 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
|
1.3.2.1 |
| 15-Oct-2022 |
martin | 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.
|
1.5.2.1 |
| 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/
|