Blame ChangeLogP511.txt

Packit Service a1973e
2013-05-21  
Packit Service a1973e
Packit Service a1973e
  * 602d8dbc man/man1/papi_avail.1 man/man1/papi_clockres.1
Packit Service a1973e
  man/man1/papi_command_line.1...: Rebuild man pages for a 5.1.1 release.
Packit Service a1973e
Packit Service a1973e
  * 93d9be34 doc/Doxyfile-common papi.spec src/Makefile.in...: Bump version
Packit Service a1973e
  number for a 5.1.1 release.
Packit Service a1973e
Packit Service a1973e
2013-04-15  
Packit Service a1973e
Packit Service a1973e
  * 8e47838d src/components/cuda/linux-cuda.c: When creating two event sets -
Packit Service a1973e
  one for the CUDA and one for the CPU component  - the order of event set
Packit Service a1973e
  creation appears crucial. When the CPU event set has been created before the
Packit Service a1973e
  CUDA event set then PAPI_start() for the CUDA event set works fine. However,
Packit Service a1973e
  if the CUDA event set has been created before the CPU event set, then
Packit Service a1973e
  PAPI_start(CUDA_event_set) forces the CUDA control state to be updated one
Packit Service a1973e
  more time, even if the CUDA event set has not been modified. The CUDA control
Packit Service a1973e
  state function did not properly handle this case and hence cause PAPI_start()
Packit Service a1973e
  to fail. This has been fixed.
Packit Service a1973e
Packit Service a1973e
2013-05-13  
Packit Service a1973e
Packit Service a1973e
  * c93dfa68 src/perf_events.c: perf_event component: update error returns 
Packit Service a1973e
  This passes more error return values back to PAPI. Before this change a lot
Packit Service a1973e
  of places were hardcoded to PAPI_EPERM even if sys_perf_event_open() was
Packit Service a1973e
  reporting a different error.
Packit Service a1973e
Packit Service a1973e
2013-05-08  
Packit Service a1973e
Packit Service a1973e
  * d1db58e8 src/configure src/configure.in: Force the use of pthread_mutexes
Packit Service a1973e
  on ARM  This lets the system libraries worry about the best way to define
Packit Service a1973e
  mutexes, rather than trying to hand-code in assembly around all of the
Packit Service a1973e
  various issues there are with atomic instructions in the ARM architecture. 
Packit Service a1973e
  It might make sense to enable this for *all* Linux architectures, but for now
Packit Service a1973e
  just do it for ARM.
Packit Service a1973e
Packit Service a1973e
  * 29662e3e src/linux-lock.h: Commit 59d3d7584b2925bd05b4b5d0f4fe89666eb8494a
Packit Service a1973e
  removed the definition of mb().  mb() was defined as rmb().  This just
Packit Service a1973e
  corrects it back.   (Note from VMW -- this fixes some things, but ARM still
Packit Service a1973e
  won't build on a Cortex A9 pandaboard due to the use of the "swp"
Packit Service a1973e
  instruction. Proper fix is probably to enforce posix-mutexes on ARM)
Packit Service a1973e
Packit Service a1973e
2013-04-22  
Packit Service a1973e
Packit Service a1973e
  * ff29fd12 src/run_tests.sh: The test for determining whether to run valgrind
Packit Service a1973e
  was backwards. Correcting that allow the run_test.sh script to stay the same
Packit Service a1973e
  and one just needs to define "VALGRIND=yes" (or any non-null string) to make
Packit Service a1973e
  run_test.sh use valgrind.  --- src/run_tests.sh | 6 ++---- 1 file changed, 2
Packit Service a1973e
  insertions(+), 4 deletions(-)  diff --git a/src/run_tests.sh
Packit Service a1973e
  b/src/run_tests.sh index d1ce205..9337ff2 100755 --- a/src/run_tests.sh +++
Packit Service a1973e
  b/src/run_tests.sh @@ -19,10 +19,8 @@ else export TESTS_QUIET fi  -if [
Packit Service a1973e
  "x$VALGRIND" = "x" ]; then -# Uncomment the following line to run tests using
Packit Service a1973e
  Valgrind -# VALGRIND="valgrind --leak-check=full"; -    VALGRIND=""; +if [
Packit Service a1973e
  "x$VALGRIND" != "x" ]; then +    VALGRIND="valgrind --leak-check=full"; fi 
Packit Service a1973e
  #CTESTS=`find ctests -maxdepth 1 -perm -u+x -type f`; --
Packit Service a1973e
Packit Service a1973e
2013-03-28  
Packit Service a1973e
Packit Service a1973e
  * 1e8101f6 src/run_tests.sh: run_tests.sh: further refine component test find
Packit Service a1973e
   Exclude *.cu when looking for component tests.
Packit Service a1973e
Packit Service a1973e
2013-03-25  
Packit Service a1973e
Packit Service a1973e
  * 0b600bc5 src/run_tests.sh: run_tests.sh: File mode changes.  run_tests.sh
Packit Service a1973e
  is now expected to run from the install location in addition to src. The
Packit Service a1973e
  script tried to remove execute from *.[c|h], now it just excludes *.[c|h]
Packit Service a1973e
  from the find commands.
Packit Service a1973e
Packit Service a1973e
2013-03-18  
Packit Service a1973e
Packit Service a1973e
  * 06f9c43b src/perfctr-x86.c: perfctr: don't read in event table multiple
Packit Service a1973e
  times  papi_libpfm3_events.c now reads in the predefined events, we don't
Packit Service a1973e
  also need to do this in perfctr setup_x86_presets()
Packit Service a1973e
Packit Service a1973e
  * 48d7330c src/perfctr.c: Fix segfault in perfctr.c  The preset lookup uses
Packit Service a1973e
  the cidx index, but in perfctr.c we weren't passing a cidx value (it was
Packit Service a1973e
  being left off).  The old perfctr code plays games with defining extern
Packit Service a1973e
  functions so the compiler wasn't giving us a warning.
Packit Service a1973e
Packit Service a1973e
2013-03-14  
Packit Service a1973e
Packit Service a1973e
  * eda94e50 src/components/bgpm/L2unit/linux-L2unit.c src/linux-bgq.c: If a
Packit Service a1973e
  counter is not set to overflow (threshold==0; happens when PAPI_shutdown is
Packit Service a1973e
  called) then we do not want to rebuild the BGPM event set, even if the event
Packit Service a1973e
  set has been used previously and hence "applied or attached". Usually if an
Packit Service a1973e
  event set has been applied or attached prior to setting overflow, the BGPM
Packit Service a1973e
  event set needs to be deleted and recreated (which implies malloc() from
Packit Service a1973e
  within BGPM). Not so, though, if threshold is 0 which is the case when
Packit Service a1973e
  PAPI_shutdown is called.  Note, this only applies to Punit and L2unit, not
Packit Service a1973e
  IOunit since an IOunit event set in not applied or attached.
Packit Service a1973e
Packit Service a1973e
2013-03-13  
Packit Service a1973e
Packit Service a1973e
  * 46f6123a src/components/bgpm/IOunit/linux-IOunit.c
Packit Service a1973e
  src/components/bgpm/IOunit/linux-IOunit.h
Packit Service a1973e
  src/components/bgpm/L2unit/linux-L2unit.c...: Overflow issue on BG/Q
Packit Service a1973e
  resolved. Overflow with multiple components worked; overflow with multiple
Packit Service a1973e
  components and multiple events did not work as supposed to.
Packit Service a1973e
Packit Service a1973e
2013-03-07  
Packit Service a1973e
Packit Service a1973e
  * 6a0813f8 src/linux-common.c src/linux-memory.c: Fix the build on
Packit Service a1973e
  Linux-SPARC  I dug out an old SPARC machine and fixed the PAPI build on it.
Packit Service a1973e
Packit Service a1973e
  * 51fe7e53 src/perf_events.c: More comprehensive sys_perf_open to PAPI error
Packit Service a1973e
  mappings  This tries to cover more of the errors returned by sys_perf_open
Packit Service a1973e
  and map them to better results.  EINVAL is a problem because it can mean
Packit Service a1973e
  Conflict as well as Event not found and many other things, so it's unclear
Packit Service a1973e
  what to do with it.
Packit Service a1973e
Packit Service a1973e
  * 1479a67f src/perf_events.c src/sys_perf_event_open.c: Return proper error
Packit Service a1973e
  codes for sys_perf_event_open  For some reason on x86 and x86_64 we were
Packit Service a1973e
  trying to set errno manually and thus over-writing the proper errno value,
Packit Service a1973e
  causing all errors to look like PAPI_EPERM  This removes that code, as well
Packit Service a1973e
  as adds code to report ENOENT as PAPI_ENOEVENT.  With this change, on IVY
Packit Service a1973e
  this happens which looks more correct.  ./utils/papi_command_line
Packit Service a1973e
  perf::L1-ICACHE-PREFETCHES Failed adding: perf::L1-ICACHE-PREFETCHES because:
Packit Service a1973e
  Event does not exist command_line.c                       PASSED
Packit Service a1973e
Packit Service a1973e
2013-03-06  
Packit Service a1973e
Packit Service a1973e
  * 7a3e75e8 src/papi_libpfm4_events.c src/papi_user_events.c: Coverity fixes: 
Packit Service a1973e
  Coverity pointed out that there was a case where load_user_eent_table() could
Packit Service a1973e
  leak memory.  The change in the location of the papi_free(foo) ensures that
Packit Service a1973e
  the allocated memory is freed.  Coverity pointed out one path through the
Packit Service a1973e
  code in _papi_libpfm4_ntv_code_to_descr() that did not free up memory
Packit Service a1973e
  allocated in the function.  Added a free on the path in free up that memory. 
Packit Service a1973e
  Thanks Will Cohen.
Packit Service a1973e
Packit Service a1973e
2013-03-04  
Packit Service a1973e
Packit Service a1973e
  * b19bd1a2 src/components/rapl/linux-rapl.c: Remove a stray debug statement.
Packit Service a1973e
  Thanks to Harald Servat for catching this.
Packit Service a1973e
Packit Service a1973e
2013-03-01  
Packit Service a1973e
Packit Service a1973e
  * 6e5be510 src/utils/command_line.c: Wrestled some horribly convoluted
Packit Service a1973e
  indexing into shape. The -u and -x options now print as expected (I think).
Packit Service a1973e
Packit Service a1973e
2013-01-31  
Packit Service a1973e
Packit Service a1973e
  * 02bd70ad src/components/nvml/linux-nvml.c: linux-nvml.c: Fix type warning. 
Packit Service a1973e
  CUDA and NVML have an signed vs unsigned thing going on in their returned
Packit Service a1973e
  device counts, cast away the warning.
Packit Service a1973e
Packit Service a1973e
2013-01-23  
Packit Service a1973e
Packit Service a1973e
  * a5bed384 src/linux-memory.c src/linux-timer.c: ia64 fixes.  Thanks to Tony
Packit Service a1973e
  Jones <tonyj@suse.de> for patches.
Packit Service a1973e
Packit Service a1973e
2013-01-16  
Packit Service a1973e
Packit Service a1973e
  * 021db23a src/components/nvml/linux-nvml.c: nvml component: cleanup a memory
Packit Service a1973e
  leak  We did not free a buffer at shutdown time.
Packit Service a1973e
Packit Service a1973e
2013-05-17  
Packit Service a1973e
Packit Service a1973e
  * b25fc417 src/perf_events.c: perf_event: allow running with
Packit Service a1973e
  perf_event_paranoid is 2  perf_event_paranoid set to 2 means allow user
Packit Service a1973e
  monitoring only (no kernel domain).  The code before this mistakenly disabled
Packit Service a1973e
  all events in this case. Also set the allowed domains to exclude
Packit Service a1973e
  PAPI_DOM_KERNEL.
Packit Service a1973e
Packit Service a1973e
2013-05-16  
Packit Service a1973e
Packit Service a1973e
  * 12768bec src/papi_events.csv: papi_events.csv Revert a little mishap in
Packit Service a1973e
  adding ivbep support  Somehow the contents of papi_hl.c ended up in the
Packit Service a1973e
  events file.
Packit Service a1973e
Packit Service a1973e
  * 5e97ad7f src/papi_events.csv: Add identifier for ivb_ep
Packit Service a1973e
Packit Service a1973e
2013-01-29  
Packit Service a1973e
Packit Service a1973e
  * e201b8eb src/papi.c: General doxygen cleanup: remove all "No known bugs"
Packit Service a1973e
  messages; correct and cleanup examples for PAPI_code_to_name and
Packit Service a1973e
  PAPI_name_to_code