Blame ChangeLogP543.txt

Packit 577717
2016-01-25
Packit 577717
	
Packit 577717
  * d779d1172a6e4c73b5ece9939c4d067c2b3d7b8d Update libpfm4 current
Packit 577717
    with Jan 25 08:33:02 2016 version.
Packit 577717
Packit 577717
2016-01-07  
Packit 577717
Packit 577717
  * 0d9776b8 src/components/stealtime/linux-stealtime.c: Free allocated memory
Packit 577717
  in the stealtime component when component is shutdown  Thanks to William
Packit 577717
  Cohen for contributing this patch and the following explaination: Running
Packit 577717
  examples with "valgrind --leak-check=full ..." showed a number of items
Packit 577717
  allocated by the stealtime component were not freed when PAPI_shutdown() was
Packit 577717
  called.  This patch frees those unused memory allocations.
Packit 577717
Packit 577717
2016-01-06  
Packit 577717
Packit 577717
  * de40668c src/papi_preset.c: Fixed memory leak in papi_preset.c by updating
Packit 577717
  the infix_to_postfix function.  Thanks to William Cohen for discovering the
Packit 577717
  leak. The infix_to_postfix function was re-written and tested using user
Packit 577717
  defined events.
Packit 577717
Packit 577717
2015-12-30  
Packit 577717
Packit 577717
  * db37e115 src/utils/avail.c src/utils/native_avail.c: Added "-check" flag to
Packit 577717
  papi_avail and papi_native_avail to test counter availability/validity"  This
Packit 577717
  patch updates the papi_avail and papi_native_avail utilities to use the
Packit 577717
  "-check" flag to test the actual availability of counters. There were
Packit 577717
  previously two different flags for this capability, papi_native_avail used
Packit 577717
  "-validate" and papi_avail used "-avail_test". Based on a mailing list
Packit 577717
  discussion these flags have been consolidated as "-check".
Packit 577717
Packit 577717
2015-12-29  
Packit 577717
Packit 577717
  * 72e0ffe8 src/components/lmsensors/linux-lmsensors.c: Fixed minor error with
Packit 577717
  multiple initializers for lmsensors_vector .default_granularity.  Thanks to
Packit 577717
  William Cohen for the bug report.
Packit 577717
Packit 577717
2015-12-07  
Packit 577717
Packit 577717
  * ec3582d8 src/utils/avail.c: papi_avail to test actual availability of
Packit 577717
  counters using "papi_avail --avail-test"  This problem and the associated
Packit 577717
  patch were detected and contributed by Harald Savat. Thanks.  On an Intel(R)
Packit 577717
  Xeon(R) CPU E5-2660 v2 @ 2.20GHz system with PAPI 5.4.1 installed The
Packit 577717
  papi_avail command indicates that both PAPI_LD_INS and PAPI_SR_INS are
Packit 577717
  available, however the papi_event_chooser does not accept them (see below)
Packit 577717
  and return -1.  This problem can occur in kernels from version 3.1 till 4.1.
Packit 577717
  The kernel devs blocked all uses of the MEM_OPS events (including load and
Packit 577717
  store).  The patch modifies papi_avail to test the counters to see if they
Packit 577717
  can be added. papi_avail     # gets all PAPI counters papi_avail -a  # gets
Packit 577717
  all available PAPI counters papi_avail -at # shows all available PAPI
Packit 577717
  counters that can be added  [Ptools-perfapi: Oct 14 2015]
Packit 577717
Packit 577717
2015-11-30  
Packit 577717
Packit 577717
  * 1fab922e src/components/libmsr/README src/components/libmsr/configure
Packit 577717
  src/components/libmsr/configure.in...: The libmsr component is updated to
Packit 577717
  match major changes in LLNL libmsr library and the LLNL msr-safe kernel
Packit 577717
  module
Packit 577717
Packit 577717
2015-11-18  
Packit 577717
Packit 577717
  * 242b16d3 src/Makefile.inc src/components/cuda/configure
Packit 577717
  src/components/cuda/configure.in...: Added papi_cuda_sampling utility in
Packit 577717
  /src/components/cuda/sampling changed src/Makefile.inc ,
Packit 577717
  src/components/cuda/configure.in to build the utiltiy during PAPI
Packit 577717
  installation  Added  in /src/components/cuda/tests/Makefile which is -ldl
Packit 577717
  switch because  3.10.0-229.14.1.el7.x86_64 had issues using libpapi.a during
Packit 577717
  compilation of cuda component test programs
Packit 577717
Packit 577717
2015-10-21  
Packit 577717
Packit 577717
  * a10e8331 src/papi_events.csv: papi_events: add Intel Skylake presets  This
Packit 577717
  just shares all of teh broadwell events with skylake. Some quick tests show
Packit 577717
  that this probably works. Someone with skylake hardware should validate this
Packit 577717
  at some point.
Packit 577717
Packit 577717
2015-10-08  
Packit 577717
Packit 577717
  * 91736851 src/papi_internal.c: Thanks to David Eberius of ICL for reporting
Packit 577717
  a bug in PAPI_get_event_info() in papi_internal.c, (info->component_index =
Packit 577717
  (unsigned int) cidx) was missing at line 2554, of papi_internal.c
Packit 577717
Packit 577717
2015-08-27  
Packit 577717
Packit 577717
  * 502df070 src/Makefile.inc: Thanks to Steve Kaufmann for reporting about the
Packit 577717
  redundant () paramater in the OBJECTS expression of src/Makefile.inc file.
Packit 577717
  Updated Makefile.inc by removing the redundant paramater
Packit 577717
Packit 577717
2015-08-24  
Packit 577717
Packit 577717
  * 69fdc2e0 src/papi.c: Thanks to Harald Servat for reporting the
Packit 577717
  PAPI_overflow issue for multiple eventsets. The problem was in the
Packit 577717
  PAPI_start() function in the branch at line-2166:papi.c , if(is_dirty). After
Packit 577717
  update_control_state(), it is required to re-initialize the overflow settings
Packit 577717
  using set_overflow()
Packit 577717
Packit 577717
2015-07-29  
Packit 577717
Packit 577717
  * be81dc43 src/components/perf_event/perf_event.c: perf_event: update the ARM
Packit 577717
  domain workaround  older ARM processors could not separate out KERNEL vs USER
Packit 577717
  events.  ARMv7 starting with the Cortex A15 can, as can all ARMv8 (ARM64). 
Packit 577717
  This updates the code with a whitelist to properly allow setting the domains.
Packit 577717
Packit 577717
  * 43be2588 src/linux-common.c: linux-common: clean up ARM cpu detection 
Packit 577717
  Parsing cpuinfo is always a pain.  Extra work because of Raspberry Pi
Packit 577717
  (ARM1176) lying and saying it's ARMv7 rather than ARMv6.
Packit 577717
Packit 577717
  * 5a101a50 src/linux-common.c: linux-common: split up x86, power and arm
Packit 577717
  cpuinfo parsing
Packit 577717
Packit 577717
  * 0d7772d9 src/linux-common.c: linux-common: clean up and comment the cpuinfo
Packit 577717
  parsing code
Packit 577717
Packit 577717
2015-07-16  
Packit 577717
Packit 577717
  * 59489b1f src/components/libmsr/Makefile.libmsr.in
Packit 577717
  src/components/libmsr/README src/components/libmsr/Rules.libmsr...: Create
Packit 577717
  libmsr component for reading power information and writing power constraints
Packit 577717
  using MSRs on some Intel processsors  The PAPI libmsr component supports
Packit 577717
  measuring and capping power usage on recent Intel architectures using the
Packit 577717
  RAPL interface exposed through MSRs (model-specific registers).  Lawrence
Packit 577717
  Livermore National Laboratory has released a library (libmsr) designed to
Packit 577717
  provide a simple, safe, consistent interface to several of the model-specific
Packit 577717
  registers (MSRs) in Intel processors.  The problem is that permitting open
Packit 577717
  access to the MSRs on a machine can be a safety hazard, so access to MSRs is
Packit 577717
  usually limited.  In order to encourage system administrators to give wider
Packit 577717
  access to the MSRs on a machine, LLNL has released a Linux kernel module
Packit 577717
  (msr_safe) which provides safer, white-listed access to the MSRs.  PAPI has
Packit 577717
  created a libmsr component that can provide read and write access to the
Packit 577717
  information and controls exposed via the libmsr library.  This PAPI component
Packit 577717
  introduces a new ability for PAPI; it is the first case where PAPI is writing
Packit 577717
  information to a counter as well as reading the data from the counter.
Packit 577717
Packit 577717
2015-07-13  
Packit 577717
Packit 577717
  * d326ecc9 src/components/perf_event/perf_event_lib.h src/papi_internal.c:
Packit 577717
  Thanks to Steve Kaufman for providing a patch that increases the
Packit 577717
  PERF_EVENT_MAX_MPX_COUNTERS to 192 from 128 and enhances the corresponding
Packit 577717
  warning message in papi_internal.c
Packit 577717
Packit 577717
2015-06-29  
Packit 577717
Packit 577717
  * e829baa5 src/components/cuda/tests/Makefile
Packit 577717
  src/components/cuda/tests/cuda_ld_preload_example.README
Packit 577717
  src/components/cuda/tests/cuda_ld_preload_example.c: Example of using
Packit 577717
  LD_PRELOAD with the CUDA component.  A short example of using LD_PRELOAD on a
Packit 577717
  Linux system to intercept function calls and PAPI-enable an un-instrumented
Packit 577717
  CUDA binary. Several CUDA events (e.g. SM PM counters) require a CUcontext
Packit 577717
  handle to be a provided since they are context switched. This means that we
Packit 577717
  cannot use a PAPI_attach from an external process to measure those events in
Packit 577717
  a preexisting executable.  These events can only be measured from within the
Packit 577717
  CUcontext, that is, within the CUDA enabled code we are trying to measure. 
Packit 577717
  If the user is unable to change the source code, they may be able to use
Packit 577717
  LD_PRELOAD's ability to trap functions and measure the events for within the
Packit 577717
  executable. See src/components/cuda/tests/cuda_ld_preload_example.README for
Packit 577717
  details.
Packit 577717
Packit 577717
2015-06-26  
Packit 577717
Packit 577717
  * 0829a4f5 src/papi_events.csv: Add future broadwell-ep support.  libpfm4
Packit 577717
  doesn't support it yet, but add it for when it appears.
Packit 577717
Packit 577717
2015-06-25  
Packit 577717
Packit 577717
  * 36c5b5b6 src/papi_events.csv: add broadwell predefined events  For now they
Packit 577717
  are the same as Haswell, as that's what the Linux kernel does.
Packit 577717
Packit 577717
  * f42eda64 src/papi_events.csv: Added definitions to Power8 for PAPI_SP_OPS,
Packit 577717
  PAPI_DP_OPS.
Packit 577717
Packit 577717
2015-06-18  
Packit 577717
Packit 577717
  * f87542f7 src/components/perf_event/tests/event_name_lib.c: Added [case 63:
Packit 577717
  /*Haswell EP*/] line the src/components/perf_event/tests/event_name_lib.c
Packit 577717
  file to support offcore for haswell EP
Packit 577717
Packit 577717
  * fbfc641f src/components/perf_event_uncore/tests/perf_event_uncore_cbox.c
Packit 577717
  src/components/perf_event_uncore/tests/perf_event_uncore_lib.c: Added suuport
Packit 577717
  for Haswell-EP processor with model-63 in
Packit 577717
  src/components/perf_event_uncore/tests/perf_event_uncore_lib.c and
Packit 577717
  src/components/perf_event_uncore/tests/perf_event_uncore_cbox.c files. As a
Packit 577717
  result perf_event_uncore, perf_event_uncore_multiple and
Packit 577717
  perf_event_uncore_cbox tests get passed. Tested and verified on Intel(R)
Packit 577717
  Xeon(R) CPU E5-2650 v3 @ 2.30GHz with linux kernel 4.0.4-1.el6.elrepo.x86_64
Packit 577717
Packit 577717
2015-06-17  
Packit 577717
Packit 577717
  * 56698211 src/components/lustre/linux-lustre.c: Thanks to Garry Mohr for the
Packit 577717
  patch that removes the error message (PAPI Error: Error Code -7,Event does
Packit 577717
  not exist) on executing papi_native_avail in PAPI built with lustre component
Packit 577717
Packit 577717
2015-06-16  
Packit 577717
Packit 577717
  * 1b9fd867 src/components/rapl/linux-rapl.c: rapl: allow DRAM to have
Packit 577717
  separate scaling factor from CPU  on Haswell-EP the DRAM scaling value is
Packit 577717
  different and cannot be detected.  See https://lkml.org/lkml/2015/3/20/582
Packit 577717
Packit 577717
  * 1aa74f85 src/components/rapl/linux-rapl.c: rapl: add support for Broadwell 
Packit 577717
Packit 577717
2015-06-11  
Packit 577717
Packit 577717
  * a5ecda79 src/components/rapl/linux-rapl.c: Thanks to William Cohen for the
Packit 577717
  patch which does the following: Checking the cpu family and module number is
Packit 577717
  not sufficient to determine whether RAPL can be used.  If the papi is running
Packit 577717
  inside a guest VM, the MSR used by the PAPI RAPL component may not be
Packit 577717
  available.  There should be a simple read test to verify the RAPL MSR
Packit 577717
  registers are available.  This allows the component to more clearly report
Packit 577717
  that RAPL is unsupported rather than just exiting program when the RAPL
Packit 577717
Packit 577717
2015-05-19  
Packit 577717
Packit 577717
  * 54c45107 src/components/rapl/utils/rapl_plot.c: Updated rapl_plot utility
Packit 577717
  so that the correct values/units are reported (e.g. scaled and fixed value
Packit 577717
  counts should not be converted)
Packit 577717
Packit 577717
2015-05-04  
Packit 577717
Packit 577717
  * a34fbc62 src/papi_events.csv: papi_events.csv: typo in the ARM Cortex A53
Packit 577717
  definitions
Packit 577717
Packit 577717
2015-04-30  
Packit 577717
Packit 577717
  * caa3af72 src/papi_events.csv: papi_events.csv: add preset events for ARM
Packit 577717
  Cortex A53  This is based purely on the names in the libpfm4 output, these
Packit 577717
  were not validated in any way.
Packit 577717
Packit 577717
2015-04-20  
Packit 577717
Packit 577717
  * 66553715 INSTALL.txt: added compile incantation for compiling programs that
Packit 577717
  offload code to MIC
Packit 577717
Packit 577717
2015-04-16  
Packit 577717
Packit 577717
  * 8914dcfc src/papi_events.csv: Bug reported by William Cohen in
Packit 577717
  papi_events.csv for the event PAPI_L1_TCM
Packit 577717
Packit 577717
2015-03-31  
Packit 577717
Packit 577717
  * 023af5ec src/components/nvml/configure: Updated the NVML configure script
Packit 577717
  which requires an autoconf and an updated configure script
Packit 577717
Packit 577717
  * 2385c1b2 src/components/nvml/Makefile.nvml.in
Packit 577717
  src/components/nvml/Rules.nvml src/components/nvml/configure.in: Updated the
Packit 577717
  NVML configure script to allow separate include and library paths
Packit 577717
Packit 577717
2015-03-30  
Packit 577717
Packit 577717
  * 3d509095 src/components/infiniband_umad/linux-infiniband_umad.c: Bugfix
Packit 577717
  linux-infiniband_umad.c to include linux-infiniband_umad.h rather than
Packit 577717
  linux-infiniband.h.  Thanks to Aurelien Bouteiller for pointing out this bug.
Packit 577717
Packit 577717
  * b865f227 src/components/vmware/vmware.c: Corrected function name in
Packit 577717
  _vmware_vector from _vmware_init to _vmware_init_thread.
Packit 577717
Packit 577717
2015-03-24  
Packit 577717
Packit 577717
  * 2f58a4d8 src/configure: Regenerated configure to match the PAPI_GRN_SYS
Packit 577717
  patch
Packit 577717
Packit 577717
  * 12e6ef31 src/components/perf_event/tests/perf_event_system_wide.c: Support
Packit 577717
  PAPI_GRN_SYS granularity for perf component, updating the system wide test
Packit 577717
  (patch 2 of 2).  Thanks to William Cohen for this patch and the documentation
Packit 577717
   Make sure that a sane cpu number is selected with PAPI_GRN_SYS Corrections
Packit 577717
  to output and comments of perf_event_system_wide.c test
Packit 577717
Packit 577717
  * 42879693 src/components/perf_event/perf_event.c
Packit 577717
  src/components/perf_event/tests/perf_event_system_wide.c src/config.h.in...:
Packit 577717
  Support PAPI_GRN_SYS granularity for perf component, picking a sane CPU
Packit 577717
  number (patch 1 of 2).  Thanks to William Cohen for this patch and the
Packit 577717
  documentation  The checks in perf_event_open syscall cause a failure when
Packit 577717
  both pid=-1 and cpu=-1.  The perf_event component was passing in pid=-1 and
Packit 577717
  cpu=-1 when PAPI_GRN_SYS was selected.  If possible, the code should pick the
Packit 577717
  current processor that the command is running so that the permission check
Packit 577717
  works properly when PAPI_GRN_SYS is used.  The patch also adds a test fail if
Packit 577717
  PAPI_GRN_SYS unable to add PAPI_TOT_CYC. 
Packit 577717
Packit 577717
  * 0ab9b0c8 src/ctests/krentel_pthreads.c: Added call to unregister the
Packit 577717
  overflow handler.. plus small code cleanup
Packit 577717
Packit 577717
2015-03-05  
Packit 577717
Packit 577717
  * d886c49c src/papi.c src/papi_libpfm4_events.c src/utils/avail.c: Clean
Packit 577717
  output from papi_avail tools when there are no user defined events  Thanks to
Packit 577717
  Gary Mohr for this patch.  The changes in this patch improve the output from
Packit 577717
  the papi_avail tool.  It was printing the user defined events header and a
Packit 577717
  PAPI Error message when no user defined events existed.  These changes add
Packit 577717
  code in the enum call to return an error when trying to fetch the first user
Packit 577717
  defined event if no user events are defined.  This allows the application to
Packit 577717
  detect that no user events are known and skip printing the user defined event
Packit 577717
  heading.  It also prevents the application from calling PAPI_get_event_info
Packit 577717
  with a user defined event code that does not exist which avoids the PAPI
Packit 577717
  Error message.  Also a one line change to modify a debug message type to make
Packit 577717
  the debug output produced by papi_libpfm4_events.c consistent.
Packit 577717
Packit 577717
2015-03-03  
Packit 577717
Packit 577717
  * ee0c58d7 src/components/cuda/linux-cuda.c: Do not generate an error if the
Packit 577717
  CUDA libraries cannot be loaded, just write a debug message
Packit 577717
Packit 577717
  * 08bb9bf0 src/configure: Updating the number to 5.4.1
Packit 577717
Packit 577717
2015-03-02  
Packit 577717
Packit 577717
  * 01f742c1 release_procedure.txt: Minor change to specify locations of some
Packit 577717
  files