On 03/16/2016 11:15 PM, Ragate, Sangamesh N wrote: > Hi Will, > > Thanks for the patch. I applied it and pushed the changes to the repo.
Hi Sangamesh, As mentioned in the patch the bundled libpfm4 library will need a similar patch, https://sourceforge.net/p/perfmon2/mailman/message/34907181/ . The patch for libpfm was still being reviewed. Stephane, were there any other questions or issues that need to be resolved for the libpfm4 patch? -Will > > Regards, > Sangamesh > ---- > Graduate Research Assistant > Innovative Computing Laboratory(ICL) > University of Tennessee, Knoxville(UTK) > > ________________________________________ > From: perfapi-devel-boun...@eecs.utk.edu <perfapi-devel-boun...@eecs.utk.edu> > on behalf of William Cohen <wco...@redhat.com> > Sent: Wednesday, March 16, 2016 12:57 PM > To: perfapi-de...@cs.utk.edu > Subject: [Perfapi-devel] [PATCH] Hide Internal shared libary symbols > > I have been trying to hide more of PAPI's internal functions using the > methods described in Ulrigh Drepper's "How to Write Shared Libraries > (https://www.akkadia.org/drepper/dsohowto.pdf). Eliminating the > visibilty of the internal functions can make the shared library > smaller because of fewer entries in the PLT, speed up linking, and > allow the compiler to generate better code. > > The following patch only limits the visibility of internal functions > when PAPI is being built with libpfm4 library. This is being used as > a proxity that the code is being built on a Linux machine. This patch > does not make any changes to the bundled libpfm4 library. If the > bundled libpfm4 is being used then a similar patch submitted to the > libpfm4 development mailing list for libpfm4 > (https://sourceforge.net/p/perfmon2/mailman/message/34907181/) will be > needed. > > -Will > > > William Cohen (1): > Only expose the shared libary symbols listed *papi.h files > > src/Rules.pfm4_pe | 2 ++ > src/papi.h | 5 +++++ > src/papi_fwrappers.c | 3 +++ > 3 files changed, 10 insertions(+) > > -- > 2.5.0 > > _______________________________________________ > Perfapi-devel mailing list > perfapi-de...@eecs.utk.edu > http://lists.eecs.utk.edu/mailman/listinfo/perfapi-devel > ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140 _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel