Will, I have fixed most of the warnings reported by your tool. Please pull and try again.
On Tue, Aug 28, 2012 at 9:17 PM, William Cohen <wco...@redhat.com> wrote: > On 08/28/2012 12:03 PM, stephane eranian wrote: >> On Tue, Aug 28, 2012 at 4:45 PM, William Cohen <wco...@redhat.com> wrote: > >>> >>> Would it be possible to do the ldconf separately from the "make install"? >>> The rpm packages are built as normal users with a staged install and the >>> ldconf is done as a post install operation. The ldconf in the makefile >>> needed to be disabled for the libpfm rpm to be built. >>> >> I just updated the libpfm.spec today to convert ldconfig to a nop >> (LDCONFIG=true), so >> it should not perturb the generation of the RPM. At least, it did not >> for me when I tried >> on Fedora 16. >> > > Hi Stephane, > > > Thanks for the libpfm.spec. The fedora rawhide libpfm-4.3.0 doesn't have any > patches in it now: > > http://koji.fedoraproject.org/koji/taskinfo?taskID=4432221 > > I ran libpfm through coverity to see whether there were any serious problems > with it. Attached is the output of coverity. All errors are in the generated > swig code and the examples. Probably can't do much about the swig related > error because there are all in generated code. The examples could be cleaned > up a little, but those are not packaged in the libpfm rpms, so those are not > a great problem. > > In perf_setup_list_events() in perf_util.c why not make the for loop replace > the ',' with '\0' the same structure as the earlier while loop counting the > args? That would make the code a bit easier to read and eliminate one of the > coverity errors. > . > -Will ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel