Blame ChangeLogP413.txt

Packit Service a1973e
2011-05-10
Packit Service a1973e
Packit Service a1973e
	* src/Rules.pfm_pe: The --with-bitmode parameter was not being
Packit Service a1973e
	  passed along to libpfm3,  so it was not possible to build
Packit Service a1973e
	  perf_event PAPI on non-default bitmodes.  This change passes
Packit Service a1973e
	  along the $(BITFLAGS) value to the libpfm3 make invocation.
Packit Service a1973e
Packit Service a1973e
	* src/: papi_pfm_events.c, papi_pfm_events.h, perf_events.c: The
Packit Service a1973e
	  perf_events code was using __u64 instead of uint64_t and this was
Packit Service a1973e
	  causing a warning when compiling for 64-bit Power.
Packit Service a1973e
Packit Service a1973e
	* src/libpfm-3.y/lib/amd64_events_fam15h.h: Added Robert Richter's
Packit Service a1973e
	  patch with a few new events for AMD Family 15h.
Packit Service a1973e
Packit Service a1973e
2011-05-06
Packit Service a1973e
Packit Service a1973e
	* INSTALL.txt: Load the 'gcc' module not 'gnu' module for Cray.
Packit Service a1973e
Packit Service a1973e
	* INSTALL.txt: Update the install instructions for Cray XT and XE
Packit Service a1973e
	  systems.
Packit Service a1973e
Packit Service a1973e
	* src/ctests/: multiattach.c, multiattach2.c: Make the multiattach
Packit Service a1973e
	  and multiattach2 failures into warnings.
Packit Service a1973e
Packit Service a1973e
	  I have a proposed fix that makes the failures go away, but it has
Packit Service a1973e
	  not been tested much and also causes some new fcntl() error
Packit Service a1973e
	  messages under perfctr.
Packit Service a1973e
Packit Service a1973e
	  So temporarily make the tests only warn for the release and I'll
Packit Service a1973e
	  work on a proper fix for after.  The behavior in these tests has
Packit Service a1973e
	  been broken for a long time so it is not a recent regression.
Packit Service a1973e
Packit Service a1973e
	* src/papi_memory.c: Band-aid for the leak debugging statement in
Packit Service a1973e
	  papi_memory.c on NO_VARARG_MACRO systems.  (aix currently)
Packit Service a1973e
Packit Service a1973e
2011-05-05
Packit Service a1973e
Packit Service a1973e
	* src/ctests/multiattach.c: Had the division backwards on the
Packit Service a1973e
	  validation.
Packit Service a1973e
Packit Service a1973e
	* src/ctests/multiattach.c: Update the multiattach test to fail if
Packit Service a1973e
	  the results aren't in the proper ratio.  This was failing on
Packit Service a1973e
	  perf_event kernels but since the results weren't checked   it was
Packit Service a1973e
	  never reported as an error.
Packit Service a1973e
Packit Service a1973e
	* delete_before_release.sh: delete cvs2cl.pl before release
Packit Service a1973e
Packit Service a1973e
	* ChangeLogP413.txt: First cut change log for the 4.1.3 release.
Packit Service a1973e
	  Nothing's frozen yet...
Packit Service a1973e
Packit Service a1973e
	* cvs2cl.pl: Perl script to generate change logs. Keeping it with
Packit Service a1973e
	  the project makes life easier.
Packit Service a1973e
Packit Service a1973e
	* INSTALL.txt: Change INSTALL to reflect that we support power7.
Packit Service a1973e
Packit Service a1973e
	* src/Makefile.in, src/configure, src/configure.in, src/papi.h,
Packit Service a1973e
	  doc/Doxyfile, doc/Doxyfile-everything, papi.spec: Modfy version
Packit Service a1973e
	  number for pending release: 4.1.3.0
Packit Service a1973e
Packit Service a1973e
2011-05-03
Packit Service a1973e
Packit Service a1973e
	* src/: papi_internal.c, papi_internal.h, sys_perf_event_open.c,
Packit Service a1973e
	  ctests/attach2.c: Cleanup the _papi_hwi_cleanup_eventset()
Packit Service a1973e
	  function in papi_internal.c
Packit Service a1973e
Packit Service a1973e
	  This function was re-using existing functionality to remove one
Packit Service a1973e
	  event at a  time before cleaning out the eventset.  This is not
Packit Service a1973e
	  strictly necessary  and was breaking on perf_event eventsets that
Packit Service a1973e
	  were attached to  finished processes, as a call to
Packit Service a1973e
	  update_control_state() would close/reopen  the perf_event fd,
Packit Service a1973e
	  failing when the finished process went away after the close.
Packit Service a1973e
Packit Service a1973e
	  The new code removes all events from the eventset in one go
Packit Service a1973e
	  before  calling update_control_state.
Packit Service a1973e
Packit Service a1973e
	  The change here also updates code comments as necessary, as some
Packit Service a1973e
	  of the  code in papi_internal.c can be a bit obscure.
Packit Service a1973e
Packit Service a1973e
	  It also updates some of the comments in ctests/attach2.c to give
Packit Service a1973e
	  better  debugging info.
Packit Service a1973e
Packit Service a1973e
2011-04-28
Packit Service a1973e
Packit Service a1973e
	* src/threads.c: Uncomment the actual signal passing functionality
Packit Service a1973e
	  in _papi_hwi_broadcast_signal
Packit Service a1973e
Packit Service a1973e
	* src/papi_debug.h: Include files added to papi_debug.h
Packit Service a1973e
Packit Service a1973e
	* src/components/README: Added detailed instructions on how to
Packit Service a1973e
	  build PAPI with the CUDA component
Packit Service a1973e
Packit Service a1973e
2011-04-27
Packit Service a1973e
Packit Service a1973e
	* src/threads.c: Move an escape test to the outer loop in
Packit Service a1973e
	  _papi_hwi_broadcast_signal.
Packit Service a1973e
Packit Service a1973e
	  This cleans up an infinite loop where before we would only break
Packit Service a1973e
	  out of the component look, not the thread list walking loop.
Packit Service a1973e
Packit Service a1973e
	* src/: papi.c, papi_internal.c, papi_internal.h, papi_protos.h:
Packit Service a1973e
	  Clean up papi_internal.c so that functions not used outside are
Packit Service a1973e
	  marked static.
Packit Service a1973e
Packit Service a1973e
	* src/: papi_pfm_events.c, papi_preset.c, pmapi-ppc64_events.c:
Packit Service a1973e
	  papi: Fix some memory leaks
Packit Service a1973e
Packit Service a1973e
	  Signed-off-by: Robert Richter <robert.richter@amd.com>
Packit Service a1973e
Packit Service a1973e
	* src/perf_events.c: papi: Make functions and variables static in
Packit Service a1973e
	  perf_events.c
Packit Service a1973e
Packit Service a1973e
	  All this functions and variables are not used outside
Packit Service a1973e
	  perf_events.c.  Making them static.
Packit Service a1973e
Packit Service a1973e
	  Signed-off-by: Robert Richter <robert.richter@amd.com>
Packit Service a1973e
Packit Service a1973e
	* src/papi_pfm_events.c: papi: Fix crash in error handler for
Packit Service a1973e
	  pfm_get_event_code_counter()
Packit Service a1973e
Packit Service a1973e
	  Signed-off-by: Robert Richter <robert.richter@amd.com>
Packit Service a1973e
Packit Service a1973e
	* src/utils/native_avail.c: papi: Fix error check in native_avail.c
Packit Service a1973e
Packit Service a1973e
	  Signed-off-by: Robert Richter <robert.richter@amd.com>
Packit Service a1973e
Packit Service a1973e
2011-04-26
Packit Service a1973e
Packit Service a1973e
	* src/libpfm-3.y/: include/perfmon/pfmlib_amd64.h,
Packit Service a1973e
	  lib/pfmlib_amd64.c: AMD architectural PMU could not be detected
Packit Service a1973e
	  for family 15h as there was a strict check for AMD family 10h.
Packit Service a1973e
	  Enabling it now for all families from 10h.
Packit Service a1973e
Packit Service a1973e
	  Signed-off-by: Robert Richter
Packit Service a1973e
Packit Service a1973e
	* src/libpfm-3.y/lib/amd64_events_fam15h.h: There is no kernel
Packit Service a1973e
	  support for AMD family 15h northbridge events, disabling them in
Packit Service a1973e
	  libpfm3 to not report them as available native events.
Packit Service a1973e
Packit Service a1973e
	  Patch from Robert Richter
Packit Service a1973e
Packit Service a1973e
	* src/: configure, configure.in, linux-common.c: Add some extra
Packit Service a1973e
	  debug messages for better tracking of the   --with-assumed-kernel
Packit Service a1973e
	  configure option.
Packit Service a1973e
Packit Service a1973e
2011-04-25
Packit Service a1973e
Packit Service a1973e
	* src/: configure, configure.in, linux-common.c: Add a new
Packit Service a1973e
	  configure option:   --with-assumed-kernel=<ver> This allows you
Packit Service a1973e
	  to specify a kernel revision to (instead of being   autodetected
Packit Service a1973e
	  with uname) for perf_event workaround purposes.  With   this you
Packit Service a1973e
	  can force PAPI to not use workarounds on kernels with
Packit Service a1973e
	  backported versions of perf_event features.
Packit Service a1973e
Packit Service a1973e
2011-04-19
Packit Service a1973e
Packit Service a1973e
	* src/: Makefile.inc, configure, configure.in, papi_debug.h,
Packit Service a1973e
	  papi_internal.h, sys_perf_event_open.c: Add debugging to
Packit Service a1973e
	  sys_perf_event_open.c to show exactly what   values are being
Packit Service a1973e
	  passed to the perf_event_open syscall.
Packit Service a1973e
Packit Service a1973e
2011-04-18
Packit Service a1973e
Packit Service a1973e
	* src/: run_tests.sh, ctests/attach2.c, ctests/attach3.c: Fix for
Packit Service a1973e
	  finding attach_target with execlp to search the path.
Packit Service a1973e
Packit Service a1973e
2011-04-14
Packit Service a1973e
Packit Service a1973e
	* src/: Rules.pfm, configure, configure.in, linux-ia64-pfm.h,
Packit Service a1973e
	  linux-ia64.c, linux-ia64.h, perfmon-ia64-pfm.h, perfmon-ia64.c,
Packit Service a1973e
	  perfmon-ia64.h, perfmon.h: Rename the linux-ia64-* files to be
Packit Service a1973e
	  called perfmon-ia64-*
Packit Service a1973e
Packit Service a1973e
	  This is a more descriptive name, and makes it more obvious what
Packit Service a1973e
	  the files are for.
Packit Service a1973e
Packit Service a1973e
	* src/libpfm-3.y/: include/perfmon/pfmlib_amd64.h,
Packit Service a1973e
	  lib/pfmlib_amd64.c, lib/pfmlib_amd64_priv.h: Patch to have
Packit Service a1973e
	  libpfm3 use 6 counters on Interlagos.
Packit Service a1973e
Packit Service a1973e
	  Patch provided by Robert Richter
Packit Service a1973e
Packit Service a1973e
	* src/linux-memory.c: Fix the POWER cache detection routines to
Packit Service a1973e
	  work properly on POWER7.
Packit Service a1973e
Packit Service a1973e
	  Patch provided by Corey Ashford
Packit Service a1973e
Packit Service a1973e
	* src/: configure, configure.in: Have configure check for ifort if
Packit Service a1973e
	  gfortran, etc, not found.
Packit Service a1973e
Packit Service a1973e
	  Patch by Gary Mohr
Packit Service a1973e
Packit Service a1973e
	* src/ctests/johnmay2.c: Update the validation message on the
Packit Service a1973e
	  ctests/johnmay2.c test to be	 less confusing.  Also add some
Packit Service a1973e
	  comments to the source code.
Packit Service a1973e
Packit Service a1973e
	  Problem reported by Steve Kaufmann.
Packit Service a1973e
Packit Service a1973e
2011-04-13
Packit Service a1973e
Packit Service a1973e
	* src/ctests/: multiattach2, multiattach2.c: Remove the
Packit Service a1973e
	  accidentally added ctests/multiattach2 and add instead the proper
Packit Service a1973e
	  ctests/multiattach2.c
Packit Service a1973e
Packit Service a1973e
	* src/Makefile.inc: components_config.h is cleaned out with make
Packit Service a1973e
	  clobber, not make clean this should fix the build bot issues.
Packit Service a1973e
Packit Service a1973e
	* src/ctests/: Makefile, attach3.c, multiattach.c, multiattach2,
Packit Service a1973e
	  zero_attach.c: Minor typos in comments. Discovered another bug in
Packit Service a1973e
	  attach code demonstrated by multiattach2. You cannot have an
Packit Service a1973e
	  eventset running that is self counting as well as one that is
Packit Service a1973e
	  attached. PAPI thinks that both are running and throws an error.
Packit Service a1973e
Packit Service a1973e
	* src/perf_events.c: We must update the control state after
Packit Service a1973e
	  attaching for perf_events, zero_attach now passes
Packit Service a1973e
Packit Service a1973e
	* src/ctests/: Makefile, attach2.c, attach3.c, do_loops.c: This
Packit Service a1973e
	  commit adds testing of attaching to fork/exec'd executables.
Packit Service a1973e
	  zero_attach and multiattach just test forks. This also modifies
Packit Service a1973e
	  do_loops.c to be able to generate a test driver when
Packit Service a1973e
	  -DDUMMY_DRIVER is defined so we can use it to generate flops as a
Packit Service a1973e
	  sub process.
Packit Service a1973e
Packit Service a1973e
	  Attach2 and attach3 have one important difference.
Packit Service a1973e
Packit Service a1973e
	  Attach3 does a 'assign component' before attaching and then
Packit Service a1973e
	  adding events.  Attach2 does not assign a component and thus
Packit Service a1973e
	  should inherit the default component.
Packit Service a1973e
Packit Service a1973e
	  The current bug in PAPI is that: * The default component is not
Packit Service a1973e
	  assigned until you add an event.  * However, attaching an
Packit Service a1973e
	  eventset without events is perfectly valid, but we get an error.
Packit Service a1973e
Packit Service a1973e
	  Possible solution is that the default component should be
Packit Service a1973e
	  assigned at create time.
Packit Service a1973e
Packit Service a1973e
2011-04-12
Packit Service a1973e
Packit Service a1973e
	* src/ctests/multiattach.c: Make sure the two processes compute
Packit Service a1973e
	  different numbers of flops to test attach
Packit Service a1973e
Packit Service a1973e
2011-04-05
Packit Service a1973e
Packit Service a1973e
	* src/power7_events.h: Turns out Maynard Johnson answered my
Packit Service a1973e
	  questions about the native_name enum back in December.  ( this is
Packit Service a1973e
	  a correct version of the events file )
Packit Service a1973e
Packit Service a1973e
	  As I found out, the AIX substrates do not use the native_name
Packit Service a1973e
	  enum.  But a hypothetical perfctr build would.
Packit Service a1973e
Packit Service a1973e
2011-04-04
Packit Service a1973e
Packit Service a1973e
	* src/Makefile.inc: Clear out the components_config.h file on make
Packit Service a1973e
	  clobber
Packit Service a1973e
Packit Service a1973e
	* src/: aix.c, power7_events.h: Initial support for power7 aix, the
Packit Service a1973e
	  events file is a copy of power6_events.h with the number of
Packit Service a1973e
	  groups changed. The native_name enum is unchanged, but unused?
Packit Service a1973e
Packit Service a1973e
2011-04-01
Packit Service a1973e
Packit Service a1973e
	* src/configure.in: Commited wrong configure.in
Packit Service a1973e
Packit Service a1973e
	* src/: configure, configure.in: Clean up setting bitmode flags for
Packit Service a1973e
	  non-gcc (xlc in this case) compilers.
Packit Service a1973e
Packit Service a1973e
	* src/papi_events.csv: Change the Nehalem PAPI_FP_OPS event from
Packit Service a1973e
	  FP_COMP_OPS_EXE:SSE_SINGLE_PRECISION+FP_COMP_OPS_EXE:DOUBLE_PRECISION
Packit Service a1973e
	  to   FP_COMP_OPS_EXE:SSE+FP_COMP_OPS_EXE:X87
Packit Service a1973e
Packit Service a1973e
	  The new event gives the same results as the previous one, with
Packit Service a1973e
	  the added benefit of also counting 32-bit compiled x87 fp ops
Packit Service a1973e
	  properly.
Packit Service a1973e
Packit Service a1973e
	  More detailed analysis can be found here:
Packit Service a1973e
	  http://web.eecs.utk.edu/~vweaver1/projects/nehalem-fp_ops/
Packit Service a1973e
Packit Service a1973e
2011-03-28
Packit Service a1973e
Packit Service a1973e
	* src/utils/multiplex_cost.c: Turns out that getopt_long isn't as
Packit Service a1973e
	  standard as I had hoped.
Packit Service a1973e
Packit Service a1973e
	  Convert multiplex_cost to use only getopt.  -s disables software
Packit Service a1973e
	  multiplexing -k disables kernel multiplexing
Packit Service a1973e
Packit Service a1973e
2011-03-25
Packit Service a1973e
Packit Service a1973e
	* src/: configure, utils/Makefile, utils/multiplex_cost.c,
Packit Service a1973e
	  configure.in: Multiplex_cost utility.
Packit Service a1973e
Packit Service a1973e
	* src/utils/: Makefile, cost.c, cost_utils.c, cost_utils.h: Split
Packit Service a1973e
	  off the statistics functions from cost.
Packit Service a1973e
Packit Service a1973e
2011-03-22
Packit Service a1973e
Packit Service a1973e
	* src/: run_tests_exclude_cuda.txt, run_tests.sh: Exclude some
Packit Service a1973e
	  fork/thread tests from fulltest that won't run with CUDA (reason:
Packit Service a1973e
	  cannot invoke same GPU from different threads)
Packit Service a1973e
Packit Service a1973e
2011-03-21
Packit Service a1973e
Packit Service a1973e
	* src/utils/cost.c: Add a test for DERIVED_[ADD | SUB ] events to
Packit Service a1973e
	  papi_cost.
Packit Service a1973e
Packit Service a1973e
2011-03-18
Packit Service a1973e
Packit Service a1973e
	* src/components/cuda/linux-cuda.c: all_native_events ctest failed
Packit Service a1973e
	  when CUDA Component is used. Reason: removing cuda events from
Packit Service a1973e
	  the eventset is currently not supported. According to the NVIDIA
Packit Service a1973e
	  folks this is a bug in cuda 4.0rc and will be fixed in rc2. Note
Packit Service a1973e
	  also, several fork and thread tests fail since it's illegal to
Packit Service a1973e
	  invoke the same GPU device from different processes / threads. We
Packit Service a1973e
	  need a mechanism that allows us to run tests for the CPU
Packit Service a1973e
	  component only.
Packit Service a1973e
Packit Service a1973e
2011-03-15
Packit Service a1973e
Packit Service a1973e
	* src/utils/cost.c: Add a test case to cost util, look for a
Packit Service a1973e
	  derived-postfix event and if found, give timing information for
Packit Service a1973e
	  read calls to it.
Packit Service a1973e
Packit Service a1973e
	  This is just a first run at the test, Core2 and AMD have
Packit Service a1973e
	  candidate events and the test runs, but that is the extent of my
Packit Service a1973e
	  testing so far.
Packit Service a1973e
Packit Service a1973e
2011-03-11
Packit Service a1973e
Packit Service a1973e
	* src/components/: README, cuda/Makefile.cuda.in, cuda/Rules.cuda,
Packit Service a1973e
	  cuda/configure, cuda/configure.in, cuda/linux-cuda.c,
Packit Service a1973e
	  cuda/linux-cuda.h: Added CUDA component, a hardware performance
Packit Service a1973e
	  counter measurement technology for the NVIDIA CUDA platform which
Packit Service a1973e
	  provides access to the hardware counters inside the GPU. PAPI
Packit Service a1973e
	  CUDA is based on CUPTI support - shipped with CUDA 4.0rc - in the
Packit Service a1973e
	  NVIDIA driver library. In any environment where the CUPTI-enabled
Packit Service a1973e
	  driver is installed, the PAPI CUDA component can provide detailed
Packit Service a1973e
	  performance counter information regarding the execution of GPU
Packit Service a1973e
	  kernels.
Packit Service a1973e
Packit Service a1973e
	* src/components/: coretemp/linux-coretemp.c,
Packit Service a1973e
	  lustre/linux-lustre.c: Add some missing includes to components.
Packit Service a1973e
Packit Service a1973e
	  Thanks to Will Cohen for reminding us warnings matter. :)
Packit Service a1973e
Packit Service a1973e
	* src/: configure, configure.in, perf_events.c: The SYNC_READ
Packit Service a1973e
	  workaround in perf_events.c was being handled at compile time,
Packit Service a1973e
	  rather than at run-time like all of our other workarounds.
Packit Service a1973e
Packit Service a1973e
	  Change it to be like our other kernel-version related
Packit Service a1973e
	  workarounds.
Packit Service a1973e
Packit Service a1973e
2011-03-09
Packit Service a1973e
Packit Service a1973e
	* src/ctests/multiplex1_pthreads.c: Between 4.0.0 and 4.1.0 a
Packit Service a1973e
	  pthread_exit() call was added to ctest/multiplex1_pthreads.c that
Packit Service a1973e
	  caused the test to exit partway through the test and without
Packit Service a1973e
	  doing a proper PASS/FAIL result.
Packit Service a1973e
Packit Service a1973e
	  This changeset backs out that change, though the original change
Packit Service a1973e
	  was marked as a memory leak fix so a different fix may be needed.
Packit Service a1973e
Packit Service a1973e
	  Reported by Steve Kaufmann
Packit Service a1973e
Packit Service a1973e
	* src/linux-timer.c: Add missing header needed by
Packit Service a1973e
	  --with-virtualtimer=times build.
Packit Service a1973e
Packit Service a1973e
	  Reported by Steve Kaufmann
Packit Service a1973e
Packit Service a1973e
2011-03-01
Packit Service a1973e
Packit Service a1973e
	* src/: papi_pfm_events.c, perf_events.c: Fix broken Linux/PPC
Packit Service a1973e
	  build caused by my pfm_events code movement changes.
Packit Service a1973e
Packit Service a1973e
2011-02-25
Packit Service a1973e
Packit Service a1973e
	* src/: papi_pfm_events.c, papi_pfm_events.h, perfctr-x86.h: My
Packit Service a1973e
	  changes yesterday broke the perfctr build.  This should fix it.
Packit Service a1973e
Packit Service a1973e
2011-02-24
Packit Service a1973e
Packit Service a1973e
	* src/ctests/inherit.c: Make the inherit test respect TESTS_QUIET
Packit Service a1973e
	  so that it does not print extra output during a run_tests.sh run
Packit Service a1973e
Packit Service a1973e
	* src/ctests/overflow.c: Fix missing newline in the overflow
Packit Service a1973e
	  output.
Packit Service a1973e
Packit Service a1973e
	  Reported by Gary Mohr
Packit Service a1973e
Packit Service a1973e
	* src/: papi_pfm_events.c, papi_pfm_events.h, perf_events.c: Move
Packit Service a1973e
	  the libpfm3 specific functions from perf_events.c into
Packit Service a1973e
	  papi_pfm_events.c
Packit Service a1973e
Packit Service a1973e
	* src/perf_events.c: Separate the libpfm3-specific code from
Packit Service a1973e
	  _papi_pe_init_substrate() and _papi_pe_update_control_state()
Packit Service a1973e
	  into their own functions.  This will allow eventual code sharing
Packit Service a1973e
	  and also make the libpfm4 merge easier.
Packit Service a1973e
Packit Service a1973e
	* src/perf_events.c: Some minor cleanups I found after reviewing
Packit Service a1973e
	  the inherit merge.	+ Add missing "static inline" to the new
Packit Service a1973e
	  kernel-version codes	  + Remove duplicated test for Pentium 4
Packit Service a1973e
	  + Fix a warning only seen if --with-debug is enabled
Packit Service a1973e
Packit Service a1973e
	* src/: papi.c, papi.h, papi_internal.h, perf_events.c,
Packit Service a1973e
	  perf_events.h, ctests/Makefile, ctests/inherit.c,
Packit Service a1973e
	  ctests/test_utils.c: Merging Gary Mohr's re-implementation of
Packit Service a1973e
	  inherit into the code base.  Thanks, Gary!
Packit Service a1973e
Packit Service a1973e
2011-02-23
Packit Service a1973e
Packit Service a1973e
	* src/: any-null.h, freebsd.h, linux-bgp.h, linux-common.c,
Packit Service a1973e
	  linux-common.h, linux-context.h, linux-ia64.c, linux-ia64.h,
Packit Service a1973e
	  linux-lock.h, linux-memory.c, linux-ppc64.h, linux-timer.c,
Packit Service a1973e
	  papi_internal.h, papi_pfm_events.c, perf_events.c, perf_events.h,
Packit Service a1973e
	  perfctr-x86.h, perfctr.c, perfmon.h, solaris-niagara2.h,
Packit Service a1973e
	  solaris-ultra.h, solaris.h, x86_cache_info.c: Move some more
Packit Service a1973e
	  duplicated OS common code (in this case the locking code and the
Packit Service a1973e
	  context accessing code) out of the various substrate include
Packit Service a1973e
	  files and into a common location.
Packit Service a1973e
Packit Service a1973e
2011-02-22
Packit Service a1973e
Packit Service a1973e
	* src/perf_events.c: Separate out the kernel-version dependent
Packit Service a1973e
	  checks and group them together near the beginning of the code.
Packit Service a1973e
	  This not only allows us to easily see which routines are
Packit Service a1973e
	  kernel-version dependent, but it makes it easier to disable the
Packit Service a1973e
	  checks one-by-one when debugging kernel-version related issues
Packit Service a1973e
	  like those found with the inherit patches.
Packit Service a1973e
Packit Service a1973e
2011-02-21
Packit Service a1973e
Packit Service a1973e
	* src/papi_internal.c: Extend _papi_hwi_cleanup_eventset to free
Packit Service a1973e
	  memory and better cleanup after us.
Packit Service a1973e
Packit Service a1973e
2011-02-18
Packit Service a1973e
Packit Service a1973e
	* src/papi.c: PAPI_assign_eventset_component changed; refuses to
Packit Service a1973e
	  reassign components.
Packit Service a1973e
Packit Service a1973e
2011-02-17
Packit Service a1973e
Packit Service a1973e
	* src/: papi_events.csv, libpfm-3.y/include/perfmon/pfmlib.h,
Packit Service a1973e
	  libpfm-3.y/lib/amd64_events.h,
Packit Service a1973e
	  libpfm-3.y/lib/amd64_events_fam10h.h,
Packit Service a1973e
	  libpfm-3.y/lib/amd64_events_fam15h.h,
Packit Service a1973e
	  libpfm-3.y/lib/pfmlib_amd64.c,
Packit Service a1973e
	  libpfm-3.y/lib/pfmlib_amd64_priv.h: Add support for AMD Family
Packit Service a1973e
	  15h processors.  Also adds suport for Family 10h RevE
Packit Service a1973e
Packit Service a1973e
	  Patches provided by Robert Richter
Packit Service a1973e
Packit Service a1973e
	* src/utils/native_avail.c: Modify papi_native_avail to properly
Packit Service a1973e
	  handle event names with libpfm4-style  "::" separators in them.
Packit Service a1973e
Packit Service a1973e
2011-02-15
Packit Service a1973e
Packit Service a1973e
	* src/Makefile.inc: make install-doxyman will build/install the
Packit Service a1973e
	  doxygen version of the manpages.
Packit Service a1973e
Packit Service a1973e
	  Note that these pages are very rough right now, much work is
Packit Service a1973e
	  needed to get them to be a drop in replacement for the current
Packit Service a1973e
	  man pages. (mostly formatting related/use related issues, eg man
Packit Service a1973e
	  PAPI_start will not work yet; the content is there.)
Packit Service a1973e
Packit Service a1973e
	* doc/Makefile: Add install target for doxygen generated man pages.
Packit Service a1973e
Packit Service a1973e
2011-02-11
Packit Service a1973e
Packit Service a1973e
	* src/: perfctr-x86.c, perfctr.c: perfctr-2.6.42 introduced
Packit Service a1973e
	  PERFCTR_X86_INTEL_WSTMR PAPI added support for
Packit Service a1973e
	  PERFCTR_X86_INTEL_WSMR notice the missing T
Packit Service a1973e
Packit Service a1973e
	  Fix PAPI to use the proper define.  This should fix Westmere
Packit Service a1973e
	  support on perfctr kernels.
Packit Service a1973e
Packit Service a1973e
2011-02-09
Packit Service a1973e
Packit Service a1973e
	* src/: papi_protos.h, papi_vector.c, papi_vector.h,
Packit Service a1973e
	  papi_vector_redefine.h: Added function pointer destroy_eventset
Packit Service a1973e
	  to the PAPI vector table. Needed for the CUDA Component to
Packit Service a1973e
	  disable CUDA eventGroups, to destroy floating CUDA context, and
Packit Service a1973e
	  to free perfmon hardware on the GPU. (Note: the CUDA Component
Packit Service a1973e
	  cannot be released yet since we are still under NDA with NVIDIA.
Packit Service a1973e
	  Stay tuned.)
Packit Service a1973e
Packit Service a1973e
2011-02-07
Packit Service a1973e
Packit Service a1973e
	* src/x86_cache_info.c: The cpuid leaf2 code was printing a message
Packit Service a1973e
	  to stderr if leaf4 was needed (only happens on Westmere
Packit Service a1973e
	  currently).  Change this to be a MEMDBG() debug message instead.
Packit Service a1973e
Packit Service a1973e
2011-02-03
Packit Service a1973e
Packit Service a1973e
	* src/: papi_events.csv, perfctr-x86.c: perfctr-x86 was reporting
Packit Service a1973e
	  "Core i7" instead of "Nehalem".  i7 can mean Westmere or Sandy
Packit Service a1973e
	  Bridge too, so change the code to properly report Nehalem.
Packit Service a1973e
Packit Service a1973e
2011-01-27
Packit Service a1973e
Packit Service a1973e
	* src/ctests/all_native_events.c:
Packit Service a1973e
	  Fix this ctest. It failed when the package was built with several
Packit Service a1973e
	  components because the eventset was reused and failed to add
Packit Service a1973e
	  events that were not from the first component.
Packit Service a1973e
Packit Service a1973e
	  In order to fix it, I recreate & destroy the eventset when the
Packit Service a1973e
	  current event does not belong to the previous component.
Packit Service a1973e
Packit Service a1973e
2011-01-26
Packit Service a1973e
Packit Service a1973e
	* src/: configure, configure.in, linux-timer.c, perfmon.c: Fix Cray
Packit Service a1973e
	  CLE build.
Packit Service a1973e
Packit Service a1973e
	* src/: configure, configure.in: Putting -Wall in cflags now
Packit Service a1973e
	  requires CC = gcc
Packit Service a1973e
Packit Service a1973e
	* src/: aix.c, freebsd.c, linux-bgp.c, linux-common.c,
Packit Service a1973e
	  linux-memory.c, linux-memory.h, papi.c, papi_protos.h,
Packit Service a1973e
	  papi_vector.c, papi_vector.h, solaris-niagara2.c,
Packit Service a1973e
	  solaris-ultra.c, windows-common.c, windows-memory.c: Change the
Packit Service a1973e
	  paramaters passed to update_shlib_info() to match better with
Packit Service a1973e
	  those passed to get_system_info().  This only affects the
Packit Service a1973e
	  substrates, outside users of PAPI will not notice this change.
Packit Service a1973e
Packit Service a1973e
2011-01-25
Packit Service a1973e
Packit Service a1973e
	* src/: configure, configure.in: Make sure that aix gets -g.
Packit Service a1973e
Packit Service a1973e
	* src/: configure, configure.in: Give everyone else -g when
Packit Service a1973e
	  configuring with debug.
Packit Service a1973e
Packit Service a1973e
	  To wit, we pass gcc -g3 but neglected platforms where CC!=gcc.
Packit Service a1973e
Packit Service a1973e
	* src/aix.c: First run at supporting power7.  NOTE: this code is
Packit Service a1973e
	  only good for getting event listings eg papi_native_avail,
Packit Service a1973e
Packit Service a1973e
	  passing PM_GET_GROUPS causes our code to segfault later on, a
Packit Service a1973e
	  buffer overflow I'm still tracking down.
Packit Service a1973e
Packit Service a1973e
	* src/perfctr-x86.c: Accidentally converted a function to _perfctr_
Packit Service a1973e
	  that should have stayed _linux_.
Packit Service a1973e
Packit Service a1973e
	* src/: perfctr-x86.c, perfctr.c: Rename the various perfctr
Packit Service a1973e
	  functions to be _perfctr_ rather than _linux_.  This way _linux_
Packit Service a1973e
	  is reserved for the common functions used by all.
Packit Service a1973e
Packit Service a1973e
	* src/: linux-common.c, linux-memory.c, linux-timer.c,
Packit Service a1973e
	  perf_events.c, windows-common.c, windows-memory.c,
Packit Service a1973e
	  windows-timer.c: Split the WIN32 specific code out from the new
Packit Service a1973e
	  linux common code.
Packit Service a1973e
Packit Service a1973e
	  In most cases very little code was shared (it tended to be a big
Packit Service a1973e
	  #ifdef block) and it is confusing to have windows-specific code
Packit Service a1973e
	  in files named linux-*
Packit Service a1973e
Packit Service a1973e
2011-01-24
Packit Service a1973e
Packit Service a1973e
	* src/linux-timer.c: Fix a compile error that only shows up on PPC.
Packit Service a1973e
Packit Service a1973e
	* src/linux-timer.c: Fix compile warning if mmtimer is enabled.
Packit Service a1973e
Packit Service a1973e
	* src/perfctr-x86.c: Missing comma in the perfctr code.
Packit Service a1973e
Packit Service a1973e
	* src/: Makefile.inc, aix.c, configure, configure.in,
Packit Service a1973e
	  hwinfo_linux.c, linux-bgp.c, linux-common.c, linux-common.h,
Packit Service a1973e
	  linux-ia64.c, linux-timer.c, linux-timer.h, papi_vector.h,
Packit Service a1973e
	  perf_events.c, perfctr-x86.c, perfctr.c, perfmon.c,
Packit Service a1973e
	  solaris-niagara2.c, solaris-ultra.c: One last batch of
Packit Service a1973e
	  consolidation changes.
Packit Service a1973e
Packit Service a1973e
	  This one moves get_system_info and get_cpu_info into
Packit Service a1973e
	  linux-common.c, plus moves some other routines from perf_events.c
Packit Service a1973e
	  there that are shared by the future libpfm4 version.
Packit Service a1973e
Packit Service a1973e
	  Some non-linux substrates are touched here; these are just short
Packit Service a1973e
	  fixes to   make sure the get_system_info() function pointed to by
Packit Service a1973e
	  the papi_vector   has the same format on all substrates.
Packit Service a1973e
Packit Service a1973e
	* src/: Makefile.inc, configure, configure.in, linux-memory.c,
Packit Service a1973e
	  linux-memory.h, perf_events.c, perfctr-x86.c, perfctr.c,
Packit Service a1973e
	  perfmon.c: Move the various Linux update_shlib_info() functions
Packit Service a1973e
	  into a common place.
Packit Service a1973e
Packit Service a1973e
	* src/: Makefile.inc, linux-timer.c, linux-timer.h, perf_events.c,
Packit Service a1973e
	  perfctr-x86.c, perfctr.c, perfmon.c: Move the various
Packit Service a1973e
	  timer-related functions to linux-timer.c This gets rid of the
Packit Service a1973e
	  duplicated code spread throughout the substrates.
Packit Service a1973e
Packit Service a1973e
2011-01-21
Packit Service a1973e
Packit Service a1973e
	* delete_before_release.sh, release_procedure.txt: Updated the
Packit Service a1973e
	  release docs with what I learned when making the 4.1.2.1 release.
Packit Service a1973e
Packit Service a1973e
	* src/: configure, configure.in, freebsd-memory.c,
Packit Service a1973e
	  linux-ia64-memory.c, linux-memory.c, linux-memory.h,
Packit Service a1973e
	  linux-mx-memory.c, linux-ppc64-memory.c, perf_events.c,
Packit Service a1973e
	  perfctr-x86.c, perfmon-memory.c, perfmon.c: Currently there are
Packit Service a1973e
	  at least 3 identical copies of the linux memory detection code
Packit Service a1973e
	  spread throughout the PAPI source code.
Packit Service a1973e
Packit Service a1973e
	  This change puts them all in linux-memory.c, and then has all the
Packit Service a1973e
	  individual substrates use the common code.