Blame ChangeLogP543.txt

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