Home | History | Annotate | Download | only in tprof
History log of /src/usr.sbin/tprof/tprof_analyze.c
RevisionDateAuthorComments
 1.9  03-Nov-2024  rillig sbin, usr.bin, usr.sbin: remove redundant getopt declarations

No binary change, except for assertion line numbers in tprof.
 1.8  01-Dec-2022  ryo branches: 1.8.4;
add "top" subcommand to tprof(8)
 1.7  01-Dec-2022  ryo split ksyms stuff into ksyms.[ch]
 1.6  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.5  14-Oct-2021  skrll Output alignement - give lwp 6 characters
 1.4  30-Jan-2021  jmcneill Print the path that we failed to open on error
 1.3  14-Jul-2018  maxv branches: 1.3.2; 1.3.4; 1.3.6;
Finish the Skylake/Kabylake table, and improve the output of "tprof analyze".
 1.2  13-Jul-2018  maxv Ask for a file path with the "analyze" command, instead of reading stdin.
 1.1  13-Jul-2018  maxv Merge tpfmt(1) into tprof(8). We want to have access to everything with
only one tool. The code is copied mostly as-is, and the functionality is
available via the "analyze" command.

Eg:
tprof monitor -e llc-misses:k -o myfile.out sleep 20
tprof analyze < myfile.out

Will move soon, I don't like the reading via stdin.
 1.3.6.1  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.4.2  10-Jun-2019  christos Sync with HEAD
 1.3.4.1  14-Jul-2018  christos file tprof_analyze.c was added on branch phil-wifi on 2019-06-10 22:10:43 +0000
 1.3.2.2  28-Jul-2018  pgoyette Sync with HEAD
 1.3.2.1  14-Jul-2018  pgoyette file tprof_analyze.c was added on branch pgoyette-compat on 2018-07-28 04:38:15 +0000
 1.8.4.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed