History log of /freebsd-current/usr.sbin/pmcstudy/pmcstudy.c
Revision Date Author Comments
# 1d386b48 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 340e08be 24-Jan-2022 Gordon Bergling <gbe@FreeBSD.org>

pmcstudy: Fix a typo in a usage message

-s /measurments/measurements/

MFC after: 3 days


# bffefaf3 14-Dec-2021 sebastien.bini <sebastien.bini@stormshield.eu>

pmcstudy: fix error handling

Close file descriptor in the correct way if no counters
are built into the application.

Obtained from: Stormshield


# 52467047 04-Feb-2019 Warner Losh <imp@FreeBSD.org>

Regularize the Netflix copyright

Use recent best practices for Copyright form at the top of
the license:
1. Remove all the All Rights Reserved clauses on our stuff. Where we
piggybacked others, use a separate line to make things clear.
2. Use "Netflix, Inc." everywhere.
3. Use a single line for the copyright for grep friendliness.
4. Use date ranges in all places for our stuff.

Approved by: Netflix Legal (who gave me the form), adrian@ (pmc files)


# 5dedd797 27-Jul-2016 Bryan Drewery <bdrewery@FreeBSD.org>

Fix non-amd64 build from r292043 after reconnecting in r303410.

MFC after: 3 days
X-MFC-With: r303410
Sponsored by: EMC / Isilon Storage Division


# 80c7cc1c 15-Apr-2016 Pedro F. Giffuni <pfg@FreeBSD.org>

Cleanup unnecessary semicolons from utilities we all love.


# eef0660a 09-Dec-2015 Randall Stewart <rrs@FreeBSD.org>

Fix several typos and bugs within pmcstudy. Also highlight the one SB test
that is failing (and is likely a problem in the actual PMC defintions). Add
to this also the -A option to run all canned tests.

Sponsored by: Netflix Inc.


# 058ccb75 09-Dec-2015 Randall Stewart <rrs@FreeBSD.org>

White space changes.


# ade40db3 09-Dec-2015 Randall Stewart <rrs@FreeBSD.org>

Proper support of Broadwell tool by the pmc_study based on the
Intel Itune guide for 5th generation processors. There is at least
one formula missing in that guide, which I extrapolated and put a ? by
in the help.

Sponsored by: Netflix Inc


# 4d9bf203 26-Mar-2015 Randall Stewart <rrs@FreeBSD.org>

Update the manual page to be a bit more sane. It still
may need some work, but at least now it will read properly.
(gnn you are still on the hook to help out with this
like you committed).

Sponsored by: Netflix.


# cb8266e7 27-Jan-2015 Randall Stewart <rrs@FreeBSD.org>

Fix yet another coverty warning (missing io is NULL check) and in examining that
warning I see yet another issue where we should be pclosing the io in the event
of the error and its a command (not fclose only).


# 8a3bbeb2 21-Jan-2015 Randall Stewart <rrs@FreeBSD.org>

Fix minor errors found by coverity. Thanks Gleb for
the pointers to the email!


# d95b3509 13-Jan-2015 Randall Stewart <rrs@FreeBSD.org>

Update the hwpmc driver to have the new type HASWELL_XEON. Also
go back through HASWELL, IVY_BRIDGE, IVY_BRIDGE_XEON and SANDY_BRIDGE
to straighten out all the missing PMCs. We also add a new pmc tool
pmcstudy, this allows one to run the various formulas from
the documents "Using Intel Vtune Amplifier XE on XXX Generation platforms" for
IB/SB and Haswell. The tool also allows one to postulate your own
formulas with any of the various PMC's. At some point I will enahance
this to work with Brendan Gregg's flame-graphs so we can flamegraph
various PMC interactions. Note the manual page also needs some
work (lots of work) but gnn has committed to help me with that ;-)
Reviewed by: gnn
MFC after:1 month
Sponsored by: Netflix Inc.