mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-14 20:37:06 +00:00
pmc: bump PMC major version to reflect ABI breakage and make warning not require verbose
This commit is contained in:
parent
e0d394d096
commit
95104040a3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334114
|
@ -61,7 +61,7 @@
|
|||
*
|
||||
* The patch version is incremented for every bug fix.
|
||||
*/
|
||||
#define PMC_VERSION_MAJOR 0x03
|
||||
#define PMC_VERSION_MAJOR 0x04
|
||||
#define PMC_VERSION_MINOR 0x01
|
||||
#define PMC_VERSION_PATCH 0x0000
|
||||
|
||||
|
|
|
@ -406,7 +406,7 @@ pmcstat_print_log(void)
|
|||
ev.pl_u.pl_i.pl_version,
|
||||
pmc_name_of_cputype(ev.pl_u.pl_i.pl_arch));
|
||||
if ((ev.pl_u.pl_i.pl_version & 0xFF000000) !=
|
||||
PMC_VERSION_MAJOR << 24 && args.pa_verbosity > 0)
|
||||
PMC_VERSION_MAJOR << 24)
|
||||
warnx(
|
||||
"WARNING: Log version 0x%x != expected version 0x%x.",
|
||||
ev.pl_u.pl_i.pl_version, PMC_VERSION);
|
||||
|
|
Loading…
Reference in a new issue