Date: Tue, 7 Aug 2012 16:52:48 -0700 From: Jim Harris <jim.harris@gmail.com> To: Ryan Stone <rysto32@gmail.com> Cc: "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org> Subject: Re: pmc warnings on stable/9 Message-ID: <CAJP=Hc_YK84f6n5mifCffqtEjQiQRFce3y=EYTjAmefYKOnBJw@mail.gmail.com> In-Reply-To: <CAFMmRNwg=9BYqatDRcY7=2vgJqhaC03wN3F9PvphYBE-YRmRjw@mail.gmail.com> References: <1344381411.18854.16.camel@powernoodle.corp.yahoo.com> <CAFMmRNwg=9BYqatDRcY7=2vgJqhaC03wN3F9PvphYBE-YRmRjw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 7, 2012 at 4:37 PM, Ryan Stone <rysto32@gmail.com> wrote: > On Tue, Aug 7, 2012 at 7:16 PM, Sean Bruno <seanbru@yahoo-inc.com> wrote: >> I have no idea the significance, or danger. When compiling on stable/9 >> I have always seen the following WARNINGS. Can we silence/fix these? >> Or is it supposed to be that way? :-) >> >> WARNING: hwpmc_soft.c: enum pmc_event has too many values: 1531 > 1023 >> WARNING: kern_pmc.c: enum pmc_event has too many values: 1531 > 1023 >> WARNING: kern_rwlock.c: enum pmc_event has too many values: 1531 > 1023 >> WARNING: kern_sx.c: enum pmc_event has too many values: 1531 > 1023 >> WARNING: kern_lock.c: enum pmc_event has too many values: 1531 > 1023 >> WARNING: hwpmc_intel.c: enum pmc_event has too many values: 1531 > 1023 >> WARNING: hwpmc_tsc.c: enum pmc_event has too many values: 1531 > 1023 >> WARNING: hwpmc_amd.c: enum pmc_event has too many values: 1531 > 1023 >> WARNING: kern_clock.c: enum pmc_event has too many values: 1531 > 1023 >> WARNING: kern_mutex.c: enum pmc_event has too many values: 1531 > 1023 >> WARNING: trap.c: enum pmc_event has too many values: 1531 > 1023 >> WARNING: hwpmc_x86.c: enum pmc_event has too many values: 1531 > 1023 >> WARNING: hwpmc_uncore.c: enum pmc_event has too many values: 1531 > 1023 >> WARNING: hwpmc_piv.c: enum pmc_event has too many values: 1531 > 1023 >> WARNING: hwpmc_core.c: enum pmc_event has too many values: 1531 > 1023 >> WARNING: hwpmc_logging.c: enum pmc_event has too many values: 1531 > >> 1023 >> WARNING: hwpmc_mod.c: enum pmc_event has too many values: 1531 > 1023 >> >> >> _______________________________________________ >> freebsd-hackers@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > > These warnings(and the previous one from your other thread) both come > from ctfconvert. I haven't looked into them in detail but I suspect > that the CTF format is not able to represent things like enums with > more than 1024 entries, or structures with more than a certain number > of members. I've never seen any actual side-effects of the warnings, > although I suspect that if you tried to use DTrace to examine > variables with the affected types you wouldn't be able to inspect > everything. As far as I know, DTrace is the only consumer of CTF data > in the kernel. > > I have dreams of replacing DTrace's usage of CTF with libdwarf, but > that's little more than idle musings on my part at this stage. > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" FYI - r207578 added this warning to FreeBSD's ctf, specifically to handle the large pmc_entry enumeration. http://svnweb.freebsd.org/base?view=revision&revision=207578
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJP=Hc_YK84f6n5mifCffqtEjQiQRFce3y=EYTjAmefYKOnBJw>