OpenGrok
Cross Reference: tprof_x86.c
xref
: /
src
/
sys
/
dev
/
tprof
/
tprof_x86.c
Home
|
History
|
Annotate
|
Download
|
only in
tprof
History log of
/src/sys/dev/tprof/tprof_x86.c
Revision
Date
Author
Comments
1.2
01-Dec-2022
ryo
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.1
24-Jul-2018
maxv
branches: 1.1.2; 1.1.8;
Merge the tprof_pmi and tprof_amdpmi modules into a single tprof_x86
module.
1.1.8.2
10-Jun-2019
christos
Sync with HEAD
1.1.8.1
24-Jul-2018
christos
file tprof_x86.c was added on branch phil-wifi on 2019-06-10 22:07:33 +0000
1.1.2.2
28-Jul-2018
pgoyette
Sync with HEAD
1.1.2.1
24-Jul-2018
pgoyette
file tprof_x86.c was added on branch pgoyette-compat on 2018-07-28 04:37:57 +0000
Indexes created Sun Sep 28 16:09:52 GMT 2025