Blame ChangeLogP414.txt

Packit Service a1973e
2011-08-29
Packit Service a1973e
Packit Service a1973e
	* src/configure: Rebuild from configure.in with version number bump
Packit Service a1973e
	  to 4.1.4 in advance of pending internal vendor release for Cray.
Packit Service a1973e
Packit Service a1973e
2011-08-26
Packit Service a1973e
Packit Service a1973e
	* release_procedure.txt: Update rel procedure to mention building
Packit Service a1973e
	  the man pages before a release.
Packit Service a1973e
Packit Service a1973e
	* man/: man1/avail.c.1, man1/clockres.c.1, man1/command_flags_t.1,
Packit Service a1973e
	  man1/command_line.c.1, man1/component.c.1, man1/cost.c.1,
Packit Service a1973e
	  man1/decode.c.1, man1/error_codes.c.1, man1/event_chooser.c.1,
Packit Service a1973e
	  man1/mem_info.c.1, man1/native_avail.c.1, man1/options_t.1,
Packit Service a1973e
	  man1/papi_avail.1, man1/papi_clockres.1,
Packit Service a1973e
	  man1/papi_command_line.1, man1/papi_component_avail.1,
Packit Service a1973e
	  man1/papi_cost.1, man1/papi_decode.1, man1/papi_error_codes.1,
Packit Service a1973e
	  man1/papi_event_chooser.1, man1/papi_mem_info.1,
Packit Service a1973e
	  man1/papi_multiplex_cost.1, man1/papi_native_avail.1, man3/CDI.3,
Packit Service a1973e
	  man3/HighLevelInfo.3, man3/PAPIF.3, man3/PAPIF_accum.3,
Packit Service a1973e
	  man3/PAPIF_add_event.3, man3/PAPIF_add_events.3,
Packit Service a1973e
	  man3/PAPIF_assign_eventset_component.3,
Packit Service a1973e
	  man3/PAPIF_cleanup_eventset.3, man3/PAPIF_create_eventset.3,
Packit Service a1973e
	  man3/PAPIF_destroy_eventset.3, man3/PAPIF_get_dmem_info.3,
Packit Service a1973e
	  man3/PAPIF_get_exe_info.3, man3/PAPIF_get_hardware_info.3,
Packit Service a1973e
	  man3/PAPIF_num_hwctrs.3, man3/PAPI_accum.3,
Packit Service a1973e
	  man3/PAPI_accum_counters.3, man3/PAPI_add_event.3,
Packit Service a1973e
	  man3/PAPI_add_events.3, man3/PAPI_addr_range_option_t.3,
Packit Service a1973e
	  man3/PAPI_address_map_t.3, man3/PAPI_all_thr_spec_t.3,
Packit Service a1973e
	  man3/PAPI_assign_eventset_component.3, man3/PAPI_attach.3,
Packit Service a1973e
	  man3/PAPI_attach_option_t.3, man3/PAPI_cleanup_eventset.3,
Packit Service a1973e
	  man3/PAPI_component_info_t.3, man3/PAPI_cpu_option_t.3,
Packit Service a1973e
	  man3/PAPI_create_eventset.3, man3/PAPI_debug_option_t.3,
Packit Service a1973e
	  man3/PAPI_descr_error.3, man3/PAPI_destroy_eventset.3,
Packit Service a1973e
	  man3/PAPI_detach.3, man3/PAPI_dmem_info_t.3,
Packit Service a1973e
	  man3/PAPI_domain_option_t.3, man3/PAPI_enum_event.3,
Packit Service a1973e
	  man3/PAPI_event_code_to_name.3, man3/PAPI_event_info_t.3,
Packit Service a1973e
	  man3/PAPI_event_name_to_code.3, man3/PAPI_exe_info_t.3,
Packit Service a1973e
	  man3/PAPI_flips.3, man3/PAPI_flops.3, man3/PAPI_get_cmp_opt.3,
Packit Service a1973e
	  man3/PAPI_get_component_info.3, man3/PAPI_get_dmem_info.3,
Packit Service a1973e
	  man3/PAPI_get_event_info.3, man3/PAPI_get_executable_info.3,
Packit Service a1973e
	  man3/PAPI_get_hardware_info.3, man3/PAPI_get_multiplex.3,
Packit Service a1973e
	  man3/PAPI_get_opt.3, man3/PAPI_get_overflow_event_index.3,
Packit Service a1973e
	  man3/PAPI_get_real_cyc.3, man3/PAPI_get_real_nsec.3,
Packit Service a1973e
	  man3/PAPI_get_real_usec.3, man3/PAPI_get_shared_lib_info.3,
Packit Service a1973e
	  man3/PAPI_get_thr_specific.3, man3/PAPI_get_virt_cyc.3,
Packit Service a1973e
	  man3/PAPI_get_virt_nsec.3, man3/PAPI_get_virt_usec.3,
Packit Service a1973e
	  man3/PAPI_granularity_option_t.3, man3/PAPI_hw_info_t.3,
Packit Service a1973e
	  man3/PAPI_inherit_option_t.3, man3/PAPI_ipc.3,
Packit Service a1973e
	  man3/PAPI_is_initialized.3, man3/PAPI_itimer_option_t.3,
Packit Service a1973e
	  man3/PAPI_library_init.3, man3/PAPI_list_events.3,
Packit Service a1973e
	  man3/PAPI_list_threads.3, man3/PAPI_lock.3,
Packit Service a1973e
	  man3/PAPI_mh_cache_info_t.3, man3/PAPI_mh_info_t.3,
Packit Service a1973e
	  man3/PAPI_mh_level_t.3, man3/PAPI_mh_tlb_info_t.3,
Packit Service a1973e
	  man3/PAPI_mpx_info_t.3, man3/PAPI_multiplex_init.3,
Packit Service a1973e
	  man3/PAPI_multiplex_option_t.3, man3/PAPI_num_cmp_hwctrs.3,
Packit Service a1973e
	  man3/PAPI_num_components.3, man3/PAPI_num_counters.3,
Packit Service a1973e
	  man3/PAPI_num_events.3, man3/PAPI_num_hwctrs.3,
Packit Service a1973e
	  man3/PAPI_option_t.3, man3/PAPI_overflow.3, man3/PAPI_perror.3,
Packit Service a1973e
	  man3/PAPI_preload_info_t.3, man3/PAPI_profil.3,
Packit Service a1973e
	  man3/PAPI_query_event.3, man3/PAPI_read.3,
Packit Service a1973e
	  man3/PAPI_read_counters.3, man3/PAPI_read_ts.3,
Packit Service a1973e
	  man3/PAPI_register_thread.3, man3/PAPI_remove_event.3,
Packit Service a1973e
	  man3/PAPI_remove_events.3, man3/PAPI_reset.3,
Packit Service a1973e
	  man3/PAPI_set_cmp_domain.3, man3/PAPI_set_cmp_granularity.3,
Packit Service a1973e
	  man3/PAPI_set_debug.3, man3/PAPI_set_domain.3,
Packit Service a1973e
	  man3/PAPI_set_granularity.3, man3/PAPI_set_multiplex.3,
Packit Service a1973e
	  man3/PAPI_set_opt.3, man3/PAPI_set_thr_specific.3,
Packit Service a1973e
	  man3/PAPI_shlib_info_t.3, man3/PAPI_shutdown.3,
Packit Service a1973e
	  man3/PAPI_sprofil.3, man3/PAPI_sprofil_t.3, man3/PAPI_start.3,
Packit Service a1973e
	  man3/PAPI_start_counters.3, man3/PAPI_state.3, man3/PAPI_stop.3,
Packit Service a1973e
	  man3/PAPI_stop_counters.3, man3/PAPI_strerror.3,
Packit Service a1973e
	  man3/PAPI_thread_id.3, man3/PAPI_thread_init.3,
Packit Service a1973e
	  man3/PAPI_unlock.3, man3/PAPI_unregister_thread.3,
Packit Service a1973e
	  man3/PAPI_write.3, man3/high_api.3, man3/low_api.3,
Packit Service a1973e
	  man3/papi_data_structures.3, man3/papi_vector_t.3,
Packit Service a1973e
	  man3/ret_codes.3: Switch over to doxygen generated man pages.
Packit Service a1973e
Packit Service a1973e
	* man/: man1/papi_avail.1, man1/papi_clockres.1,
Packit Service a1973e
	  man1/papi_command_line.1, man1/papi_cost.1, man1/papi_decode.1,
Packit Service a1973e
	  man1/papi_event_chooser.1, man1/papi_mem_info.1,
Packit Service a1973e
	  man1/papi_native_avail.1, man3/PAPI.3, man3/PAPIF.3,
Packit Service a1973e
	  man3/PAPIF_get_clockrate.3, man3/PAPIF_get_domain.3,
Packit Service a1973e
	  man3/PAPIF_get_exe_info.3, man3/PAPIF_get_granularity.3,
Packit Service a1973e
	  man3/PAPIF_get_preload.3, man3/PAPIF_set_event_domain.3,
Packit Service a1973e
	  man3/PAPI_accum.3, man3/PAPI_accum_counters.3,
Packit Service a1973e
	  man3/PAPI_add_event.3, man3/PAPI_add_events.3,
Packit Service a1973e
	  man3/PAPI_assign_eventset_component.3, man3/PAPI_attach.3,
Packit Service a1973e
	  man3/PAPI_cleanup_eventset.3, man3/PAPI_create_eventset.3,
Packit Service a1973e
	  man3/PAPI_destroy_eventset.3, man3/PAPI_detach.3,
Packit Service a1973e
	  man3/PAPI_encode_events.3, man3/PAPI_enum_event.3,
Packit Service a1973e
	  man3/PAPI_event_code_to_name.3, man3/PAPI_event_name_to_code.3,
Packit Service a1973e
	  man3/PAPI_flips.3, man3/PAPI_flops.3, man3/PAPI_get_cmp_opt.3,
Packit Service a1973e
	  man3/PAPI_get_component_info.3, man3/PAPI_get_dmem_info.3,
Packit Service a1973e
	  man3/PAPI_get_event_info.3, man3/PAPI_get_executable_info.3,
Packit Service a1973e
	  man3/PAPI_get_hardware_info.3, man3/PAPI_get_multiplex.3,
Packit Service a1973e
	  man3/PAPI_get_opt.3, man3/PAPI_get_overflow_event_index.3,
Packit Service a1973e
	  man3/PAPI_get_real_cyc.3, man3/PAPI_get_real_usec.3,
Packit Service a1973e
	  man3/PAPI_get_shared_lib_info.3, man3/PAPI_get_substrate_info.3,
Packit Service a1973e
	  man3/PAPI_get_thr_specific.3, man3/PAPI_get_virt_cyc.3,
Packit Service a1973e
	  man3/PAPI_get_virt_usec.3, man3/PAPI_help.3, man3/PAPI_ipc.3,
Packit Service a1973e
	  man3/PAPI_is_initialized.3, man3/PAPI_library_init.3,
Packit Service a1973e
	  man3/PAPI_list_events.3, man3/PAPI_list_threads.3,
Packit Service a1973e
	  man3/PAPI_lock.3, man3/PAPI_multiplex_init.3, man3/PAPI_native.3,
Packit Service a1973e
	  man3/PAPI_num_cmp_hwctrs.3, man3/PAPI_num_components.3,
Packit Service a1973e
	  man3/PAPI_num_counters.3, man3/PAPI_num_events.3,
Packit Service a1973e
	  man3/PAPI_num_hwctrs.3, man3/PAPI_overflow.3, man3/PAPI_perror.3,
Packit Service a1973e
	  man3/PAPI_presets.3, man3/PAPI_profil.3, man3/PAPI_query_event.3,
Packit Service a1973e
	  man3/PAPI_read.3, man3/PAPI_read_counters.3,
Packit Service a1973e
	  man3/PAPI_register_thread.3, man3/PAPI_remove_event.3,
Packit Service a1973e
	  man3/PAPI_remove_events.3, man3/PAPI_reset.3,
Packit Service a1973e
	  man3/PAPI_set_cmp_domain.3, man3/PAPI_set_cmp_granularity.3,
Packit Service a1973e
	  man3/PAPI_set_debug.3, man3/PAPI_set_domain.3,
Packit Service a1973e
	  man3/PAPI_set_event_info.3, man3/PAPI_set_granularity.3,
Packit Service a1973e
	  man3/PAPI_set_multiplex.3, man3/PAPI_set_opt.3,
Packit Service a1973e
	  man3/PAPI_set_thr_specific.3, man3/PAPI_shutdown.3,
Packit Service a1973e
	  man3/PAPI_sprofil.3, man3/PAPI_start.3,
Packit Service a1973e
	  man3/PAPI_start_counters.3, man3/PAPI_state.3, man3/PAPI_stop.3,
Packit Service a1973e
	  man3/PAPI_stop_counters.3, man3/PAPI_strerror.3,
Packit Service a1973e
	  man3/PAPI_thread_id.3, man3/PAPI_thread_init.3,
Packit Service a1973e
	  man3/PAPI_unlock.3, man3/PAPI_unregister_thread.3,
Packit Service a1973e
	  man3/PAPI_write.3: Remove the old manpages in preperation for
Packit Service a1973e
	  defaulting to doxygen generated ones.
Packit Service a1973e
Packit Service a1973e
2011-08-25
Packit Service a1973e
Packit Service a1973e
	* src/: perf_events.c, ctests/overflow_allcounters.c,
Packit Service a1973e
	  ctests/papi_test.h, ctests/test_utils.c: Block all PERF_COUNT_SW
Packit Service a1973e
	  events from overflow_allcounters test,   as overflow on software
Packit Service a1973e
	  counter can crash perf_event kernels pre 3.1
Packit Service a1973e
Packit Service a1973e
	* src/libpfm4/: Makefile, config.mk, lib/Makefile,
Packit Service a1973e
	  lib/pfmlib_common.c, lib/pfmlib_perf_event.c, lib/pfmlib_priv.h,
Packit Service a1973e
	  perf_examples/perf_util.c, perf_examples/task_smpl.c: Fix the
Packit Service a1973e
	  "conflicts" from the import
Packit Service a1973e
Packit Service a1973e
	* papi.spec, doc/Doxyfile, doc/Doxyfile-everything,
Packit Service a1973e
	  src/Makefile.in, src/configure.in, src/papi.h: Bump version
Packit Service a1973e
	  number to 4.1.4 in advance of pending internal vendor release for
Packit Service a1973e
	  Cray.
Packit Service a1973e
Packit Service a1973e
2011-08-23
Packit Service a1973e
Packit Service a1973e
	* src/: papi.c, papi_hl.c: Removed all references to Fortran APIs.
Packit Service a1973e
	  These are now all in papi_fwrappers.c Also normalized syntax for
Packit Service a1973e
	  many doxygen headers.
Packit Service a1973e
Packit Service a1973e
	* src/papi_fwrappers.c: Added doxygen skeleton for all remaining
Packit Service a1973e
	  Fortran functions in this file. Also added wrappers for four
Packit Service a1973e
	  additional APIs: PAPI_get_real_nsec PAPI_read_ts PAPI_lock
Packit Service a1973e
	  PAPI_unlock
Packit Service a1973e
Packit Service a1973e
2011-08-19
Packit Service a1973e
Packit Service a1973e
	* src/: papi.c, papi_fwrappers.c: Stubbed out doxygen pages for
Packit Service a1973e
	  Fortran functions.  About half way done!
Packit Service a1973e
Packit Service a1973e
	* src/papi_libpfm4_events.c: Finish up the documentation/cleanup
Packit Service a1973e
	  pass through the libpfm4 code.
Packit Service a1973e
Packit Service a1973e
2011-08-18
Packit Service a1973e
Packit Service a1973e
	* src/papi_libpfm3_events.c: Fix code so we no longer get warnings
Packit Service a1973e
	  that 'setup_preset_term' and '_pfm_get_counter_info' are defined
Packit Service a1973e
	  but not used
Packit Service a1973e
Packit Service a1973e
	* src/: papi_libpfm3_events.c, papi_libpfm4_events.c,
Packit Service a1973e
	  papi_libpfm_events.h, perf_events.c, perfctr-x86.c: Consolidate
Packit Service a1973e
	  use of _papi_libpfm_init() and pass in MY_VECTOR when necessary.
Packit Service a1973e
Packit Service a1973e
	* src/papi_libpfm4_events.c: Dynamically allocate the libpfm4
Packit Service a1973e
	  native events, rather than having a fixed array allocated at init
Packit Service a1973e
	  time.
Packit Service a1973e
Packit Service a1973e
	* src/papi_libpfm4_events.c: Some more minor cleanups and
Packit Service a1973e
	  documentation in the libpfm4 code.
Packit Service a1973e
Packit Service a1973e
	* src/components/coretemp/linux-coretemp.c: Fixup for linux
Packit Service a1973e
	  coretemp component, it pays to check cvs status once in a
Packit Service a1973e
	  while...
Packit Service a1973e
Packit Service a1973e
2011-08-16
Packit Service a1973e
Packit Service a1973e
	* src/papi.c: Update the PAPI_enum_event() Doxygen comments to
Packit Service a1973e
	  reflect modern   values for the "modifier" parameter.
Packit Service a1973e
Packit Service a1973e
	* src/papi_libpfm4_events.c: Clean up code and add documentation
Packit Service a1973e
	  for all the functions involved in libpfm4's
Packit Service a1973e
	  _papi_libpfm_ntv_enum_events() function.
Packit Service a1973e
Packit Service a1973e
2011-08-15
Packit Service a1973e
Packit Service a1973e
	* src/mb.h: Updat the rmb() barrier for ARM.
Packit Service a1973e
Packit Service a1973e
	* src/papi_events.csv: Update SandyBridge EP support to match that
Packit Service a1973e
	  of mainline libpfm4
Packit Service a1973e
Packit Service a1973e
	* src/papi_libpfm4_events.c: Cleanup libpfm4 code, and add more
Packit Service a1973e
	  comments to code.
Packit Service a1973e
Packit Service a1973e
	* src/perf_events.c: Fix bug where umask support was disabled.
Packit Service a1973e
Packit Service a1973e
	* src/Rules.perfctr-pfm: Make the perfctr code use the merged
Packit Service a1973e
	  preset event code.
Packit Service a1973e
Packit Service a1973e
	* src/: Rules.pfm_pe, papi_libpfm3_events.c, papi_libpfm_presets.c:
Packit Service a1973e
	  Have libpfm3 use the merged preset code.
Packit Service a1973e
Packit Service a1973e
	* src/: Rules.pfm4_pe, papi_libpfm4_events.c,
Packit Service a1973e
	  papi_libpfm_presets.c: Move the libpfm presets code to its own
Packit Service a1973e
	  file, and modify the libpfm4 code to use it.
Packit Service a1973e
Packit Service a1973e
	* src/papi_libpfm3_events.c: Make the libpfm3 predefined events
Packit Service a1973e
	  parser identical to the libpfm4 one, in preparation for a merge.
Packit Service a1973e
Packit Service a1973e
	* src/: papi_libpfm3_events.c, papi_libpfm4_events.c,
Packit Service a1973e
	  papi_libpfm_events.h, perf_events.c: Move vendor fixups into the
Packit Service a1973e
	  substrate and out of the naming library code.
Packit Service a1973e
Packit Service a1973e
	* src/: Rules.perfctr-pfm, Rules.pfm4_pe, Rules.pfm_pe,
Packit Service a1973e
	  papi_libpfm3_events.c, papi_libpfm4_events.c,
Packit Service a1973e
	  papi_libpfm_events.h, papi_pfm4_events.c, papi_pfm_events.c,
Packit Service a1973e
	  papi_pfm_events.h, perf_events.c, perfctr-x86.c, perfmon.c:
Packit Service a1973e
	  Rename papi_pfm_events.c to papi_libpfm3_events.c to make it more
Packit Service a1973e
	  clear what is in the file.
Packit Service a1973e
Packit Service a1973e
	  Also rename papi_pfm4_events.c to papi_libpfm4_events.c    and
Packit Service a1973e
	  papi_pfm_events.h to papi_libpfm_events.h
Packit Service a1973e
Packit Service a1973e
	* src/perfmon.c: Fixup perfmon2 case for the libpfm renaming
Packit Service a1973e
Packit Service a1973e
	* src/perfctr-x86.c: Fix perfctr breakage from the libpfm rename.
Packit Service a1973e
Packit Service a1973e
	* src/: papi_pfm4_events.c, papi_pfm_events.c, papi_pfm_events.h,
Packit Service a1973e
	  perf_events.c, perfctr-x86.c, perfmon-ia64.c, perfmon.c: The PAPI
Packit Service a1973e
	  code uses _pfm_ in function names to mean *both* perfmon2 code
Packit Service a1973e
	  and libpfm3/4 code.  This can cause a lot of confusion.
Packit Service a1973e
Packit Service a1973e
	  Rename libpfm specific function names to use _libpfm_ instead.
Packit Service a1973e
Packit Service a1973e
	* src/: papi_pfm_events.c, papi_pfm_events.h, perf_events.c: Fix
Packit Service a1973e
	  build error on perfmon2 due to movement of the
Packit Service a1973e
	  _papi_pfm_shutdown()
Packit Service a1973e
Packit Service a1973e
2011-08-05
Packit Service a1973e
Packit Service a1973e
	* src/: Makefile.in, Makefile.inc, configure, configure.in,
Packit Service a1973e
	  components/Makefile_comp_tests,
Packit Service a1973e
	  components/cuda/tests/HelloWorld.cu,
Packit Service a1973e
	  components/cuda/tests/Makefile,
Packit Service a1973e
	  components/example/tests/HelloWorld.c,
Packit Service a1973e
	  components/example/tests/Makefile, components/README: Added
Packit Service a1973e
	  generic implementation that makes it possible to add tests to
Packit Service a1973e
	  components without modifying any PAPI-specific code (other than
Packit Service a1973e
	  adding the tests and a makefile to the component directory). All
Packit Service a1973e
	  component tests will be compiled together with PAPI when typing
Packit Service a1973e
	  'make' (as well as cleaned up when 'make clean' or 'make clobber'
Packit Service a1973e
	  is typed). +++ Also added tests to 2 components, the example and
Packit Service a1973e
	  cuda component.
Packit Service a1973e
Packit Service a1973e
	* src/: papi_defines.h, papi_internal.h, papi_pfm4_events.c,
Packit Service a1973e
	  perf_events.c: Add locking to papi_pfm4_events so that
Packit Service a1973e
	  adding/looking up event names doesn't have a race condition when
Packit Service a1973e
	  multiple threads are doing it at once.
Packit Service a1973e
Packit Service a1973e
	  Also fix the recently-added pfm_shutdown() to be called at
Packit Service a1973e
	  substrate_shutdown() rather than plain shutdown() as the latter
Packit Service a1973e
	  is called at thread_shutdown() time too.
Packit Service a1973e
Packit Service a1973e
	* src/: papi_pfm4_events.c, papi_pfm_events.c, papi_pfm_events.h,
Packit Service a1973e
	  perf_events.c: Add a _papi_pfm_shutdown() function and have it
Packit Service a1973e
	  clear out the native events array at PAPI_shutdown().
Packit Service a1973e
Packit Service a1973e
	  This makes sample code that exhibits the libpfm4 event race much
Packit Service a1973e
	  easier to write.
Packit Service a1973e
Packit Service a1973e
	* src/ctests/multiplex2.c: Added some PAPI_set_domain's inside of
Packit Service a1973e
	  #if 0's for testing.
Packit Service a1973e
Packit Service a1973e
2011-08-03
Packit Service a1973e
Packit Service a1973e
	* src/papi_pfm4_events.c: Use the new ARM vendor code to force the
Packit Service a1973e
	  proper default domain on ARM cpus.
Packit Service a1973e
Packit Service a1973e
	* src/: linux-common.c, papi.h: Add an ARM vendor string and have
Packit Service a1973e
	  it properly set.
Packit Service a1973e
Packit Service a1973e
	  The hardware detection logic is a horrible mess of parsing
Packit Service a1973e
	  /proc/cpuinfo I took the easy way out and just tacked the ARM
Packit Service a1973e
	  logic on the end rather than trying to clean it up at all.
Packit Service a1973e
Packit Service a1973e
	* src/perf_events.c: Clean up some comments, add a few debug
Packit Service a1973e
	  messages.
Packit Service a1973e
Packit Service a1973e
2011-08-02
Packit Service a1973e
Packit Service a1973e
	* src/linux-memory.c: The ARM warning for memory hierarchy not
Packit Service a1973e
	  being implemented was in the wrong place.
Packit Service a1973e
Packit Service a1973e
	* src/: papi_pfm4_events.c, sys_perf_event_open.c: Fix some
Packit Service a1973e
	  misleading debug messages.
Packit Service a1973e
Packit Service a1973e
	* src/papi_events.csv: Update ARM Cortex A9 preset events, and add
Packit Service a1973e
	  ARM Cortex A8 events
Packit Service a1973e
Packit Service a1973e
2011-07-28
Packit Service a1973e
Packit Service a1973e
	* src/: cycle.h, linux-context.h, linux-lock.h, linux-memory.c,
Packit Service a1973e
	  linux-timer.c, mb.h: Add remaining changes needed for ARM
Packit Service a1973e
	  compilation.	This is enough for "papi_avail" and
Packit Service a1973e
	  "papi_native_avail" to work.
Packit Service a1973e
Packit Service a1973e
	  Lots of #warning statements scattered around.  ARM is a
Packit Service a1973e
	  complicated architecture and things like memory barriers and
Packit Service a1973e
	  mutexes are very dependent on what version of the architecture
Packit Service a1973e
	  they are running on.	It will take a while to figure out the
Packit Service a1973e
	  proper way to handle this in PAPI.
Packit Service a1973e
Packit Service a1973e
	  Also, on Cortex-A8 and Cortex-A9 there is no way to separate
Packit Service a1973e
	  kernel events from the user ones.  So all measurements contain
Packit Service a1973e
	  both.  This will probably confuse our ctests.
Packit Service a1973e
Packit Service a1973e
	* src/papi_events.csv: Add ARM Cortex A9 preset events to the CSV
Packit Service a1973e
	  file.
Packit Service a1973e
Packit Service a1973e
	* src/sys_perf_event_open.c: Add the perf_event syscall number for
Packit Service a1973e
	  ARM
Packit Service a1973e
Packit Service a1973e
	* src/papi_fwrappers.c: Create PAPIF group in doxygen, for the papi
Packit Service a1973e
	  fortran interface.
Packit Service a1973e
Packit Service a1973e
2011-07-27
Packit Service a1973e
Packit Service a1973e
	* src/x86_cache_info.c: My changes yesterday broke on the
Packit Service a1973e
	  --with-debug case, as noticed by buildbot.
Packit Service a1973e
Packit Service a1973e
2011-07-26
Packit Service a1973e
Packit Service a1973e
	* src/: papi.c, papi_fwrappers.c: Implement doxygen comments for
Packit Service a1973e
	  PAPI_get_opt; Implement doxygen comments for PAPIF_accum in
Packit Service a1973e
	  papi_fwrappers.c.  This is a first step in providing separate
Packit Service a1973e
	  independent Fortran documentation.
Packit Service a1973e
Packit Service a1973e
	* doc/Doxyfile: Have doxygen parse papi_fwrappers.c for comments.
Packit Service a1973e
Packit Service a1973e
	* src/papi_pfm4_events.c: The last checkin broke papi_native_avail
Packit Service a1973e
	  on libpfm4.  Fix it.
Packit Service a1973e
Packit Service a1973e
	* src/papi_pfm4_events.c: Cleanup some code in papi_pfm4_events.c
Packit Service a1973e
	  to avoid gcc-4.6 warnings
Packit Service a1973e
Packit Service a1973e
	* src/x86_cache_info.c: Fix some warnings in src/x86_cache_info.c
Packit Service a1973e
	  reported by gcc-4.6
Packit Service a1973e
Packit Service a1973e
2011-07-21
Packit Service a1973e
Packit Service a1973e
	* src/ctests/all_native_events.c: Change all_native_events test to
Packit Service a1973e
	  create an eventset for each native event it finds.  Also becomes
Packit Service a1973e
	  a good test of the number of outstanding eventsets allowed.
Packit Service a1973e
Packit Service a1973e
2011-07-19
Packit Service a1973e
Packit Service a1973e
	* src/papi.c: Doxygen rewrite for PAPI_set_opt.
Packit Service a1973e
Packit Service a1973e
2011-07-13
Packit Service a1973e
Packit Service a1973e
	* src/: papi_events.csv, libpfm4/lib/events/intel_snb_events.h: A
Packit Service a1973e
	  few more commits that get SandyBridge mostly working.
Packit Service a1973e
Packit Service a1973e
	* src/papi.h: Include a comment to the prototype for PAPI_read_ts.
Packit Service a1973e
	  This is apparently a requirement to get doxygen to link from the
Packit Service a1973e
	  prototype to the doc block for the function (a link shows up in
Packit Service a1973e
	  the low_api group now).
Packit Service a1973e
Packit Service a1973e
2011-07-12
Packit Service a1973e
Packit Service a1973e
	* src/libpfm4/lib/events/intel_snb_events.h: Temporarily add
Packit Service a1973e
	  missing SandyBridge FP events until support gets merged upstream.
Packit Service a1973e
Packit Service a1973e
	* src/papi.c: Some minor Doxygen fixes.  This was my run through
Packit Service a1973e
	  the HTML output produced by my assigned functions.
Packit Service a1973e
Packit Service a1973e
2011-07-11
Packit Service a1973e
Packit Service a1973e
	* src/libpfm4/lib/pfmlib_intel_snb.c: Temporarily add model 45
Packit Service a1973e
	  Sandy Bridge to our copy of libpfm4 until we can get this merged
Packit Service a1973e
	  upstream.
Packit Service a1973e
Packit Service a1973e
	* src/ctests/: multiattach.c, multiattach2.c, reset.c, val_omp.c,
Packit Service a1973e
	  zero_attach.c, zero_fork.c, zero_omp.c, zero_pthreads.c,
Packit Service a1973e
	  zero_smp.c: Fix all the remaining users of the ctests
Packit Service a1973e
	  add_two_events() helper
Packit Service a1973e
Packit Service a1973e
	* src/ctests/first.c: Fix first test bug due to add_two_events()
Packit Service a1973e
	  change.  Clean up validation of results.
Packit Service a1973e
Packit Service a1973e
	* src/ctests/zero.c: Some cleanups I made to the testing routine
Packit Service a1973e
	  add_two_events() a while ago broke the zero test.  (the cycles
Packit Service a1973e
	  result was swapped with the other counter result).
Packit Service a1973e
Packit Service a1973e
	  This fixes this, plus adds a validation check to try to avoid
Packit Service a1973e
	  this happening in the future.
Packit Service a1973e
Packit Service a1973e
	* src/: configure, configure.in: Patch from William Cohen that sets
Packit Service a1973e
	  LD_LIBRARY_PATH and LIBPATH to include libpfm4/lib.
Packit Service a1973e
Packit Service a1973e
	  A better fix would probably be to include only the libpfm library
Packit Service a1973e
	  we are currently configured for.  I need to do more testing of
Packit Service a1973e
	  the --with-static-lib=no --with-shared-lib=yes --with-shlib
Packit Service a1973e
	  options
Packit Service a1973e
Packit Service a1973e
	* src/papi_hl.c: High level interface Doxygen comments updated to
Packit Service a1973e
	  include interface overview
Packit Service a1973e
Packit Service a1973e
2011-07-08
Packit Service a1973e
Packit Service a1973e
	* doc/Doxyfile, src/papi.h, src/papi_hl.c, src/papi_vector.h: Add
Packit Service a1973e
	  in the PAPI component development page.  Currently not linked to
Packit Service a1973e
	  by anything yet, but can be found at file://$(html_dir)/CDI or
Packit Service a1973e
	  http://web.eecs.utk.edu/~ralph/html/CDI for an already built
Packit Service a1973e
	  page.
Packit Service a1973e
Packit Service a1973e
2011-07-07
Packit Service a1973e
Packit Service a1973e
	* src/: papi.c, papi.h: Add doxygen comments for
Packit Service a1973e
	  PAPI_get_executable_info(), PAPI_exe_info_t and
Packit Service a1973e
	  PAPI_address_map_t
Packit Service a1973e
Packit Service a1973e
	* src/papi.c: Add doxygen comments for PAPI_event_code_to_name()
Packit Service a1973e
	  and PAPI_event_name_to_code()
Packit Service a1973e
Packit Service a1973e
	* src/papi.c: Add doxygen comments for PAPI_enum_event()
Packit Service a1973e
Packit Service a1973e
	* src/papi.c: Add doxygen comments for PAPI_create_eventset()
Packit Service a1973e
Packit Service a1973e
	* src/papi.c: Add doxygen comments for PAPI_cleanup_eventset() and
Packit Service a1973e
	  PAPI_destroy_eventset()
Packit Service a1973e
Packit Service a1973e
	* src/papi.c: Add doxygen comments for PAPI_attach() and
Packit Service a1973e
	  PAPI_detach()
Packit Service a1973e
Packit Service a1973e
	* src/papi.c: Add doxygen comments for
Packit Service a1973e
	  PAPI_assign_eventset_component()
Packit Service a1973e
Packit Service a1973e
2011-07-05
Packit Service a1973e
Packit Service a1973e
	* src/components/cuda/linux-cuda.c: missing parentheses added in
Packit Service a1973e
	  CUDA_Shutdown() which caused a seg fault.
Packit Service a1973e
Packit Service a1973e
2011-07-01
Packit Service a1973e
Packit Service a1973e
	* src/papi.c: Add doxygen comments for PAPI_add_event()
Packit Service a1973e
Packit Service a1973e
	* src/papi.c: Add doxygen comments for PAPI_add_events() +++
Packit Service a1973e
	  Updated PAPI_accum()
Packit Service a1973e
Packit Service a1973e
	* src/papi.c: Add doxygen comments for PAPI_accum()
Packit Service a1973e
Packit Service a1973e
	* src/ctests/: data_range.c, earprofile.c: Some more ia64 ctests
Packit Service a1973e
	  fixes
Packit Service a1973e
Packit Service a1973e
	* src/papi.c: Add doxygen comments for	 PAPI_register_thread()
Packit Service a1973e
Packit Service a1973e
	* src/papi.c: Add doxygen comments for:  PAPI_read()
Packit Service a1973e
	  PAPI_read_ts()
Packit Service a1973e
Packit Service a1973e
	* src/ctests/earprofile.c: Another attempt at fixing earprofile on
Packit Service a1973e
	  ia64.
Packit Service a1973e
Packit Service a1973e
	* src/ctests/earprofile.c: PAPI for ia64 compiles now, and now it's
Packit Service a1973e
	  some of the ia64-specific ctests that are broken.
Packit Service a1973e
Packit Service a1973e
	  There was a missing #include "papi.h" in earprofile
Packit Service a1973e
Packit Service a1973e
2011-06-30
Packit Service a1973e
Packit Service a1973e
	* src/papi.c: Doxygen for: PAPI_set_multiplex PAPI_shutdown
Packit Service a1973e
	  PAPI_sprofil_t PAPI_start (int EventSet) PAPI_state (int
Packit Service a1973e
	  EventSet, int *status) PAPI_stop (int EventSet, long long
Packit Service a1973e
	  *values) PAPI_strerror (int)
Packit Service a1973e
Packit Service a1973e
	* src/: linux-timer.c, perfmon-ia64-pfm.h, perfmon-ia64.c: more
Packit Service a1973e
	  ia64 fixes
Packit Service a1973e
Packit Service a1973e
	* src/papi.c: doxygen comments for:  PAPI_query_event()
Packit Service a1973e
Packit Service a1973e
	* src/: linux-timer.c, linux-timer.h, papi_vector.c, papi_vector.h:
Packit Service a1973e
	  Some more ia64 fixes.
Packit Service a1973e
Packit Service a1973e
	* src/papi.c: add doxygen comments for	PAPI_profil()
Packit Service a1973e
Packit Service a1973e
	* src/: linux-timer.c, linux-timer.h, perfmon-ia64.c: More ia64
Packit Service a1973e
	  fixes.  Getting closer.
Packit Service a1973e
Packit Service a1973e
	* src/: linux-context.h, perfmon-ia64.c, perfmon-ia64.h: One more
Packit Service a1973e
	  try at fixing ia64.
Packit Service a1973e
Packit Service a1973e
	  The trick to cross compiling is   ./configure --with-CPU=itanium2
Packit Service a1973e
	  --with-arch=ia64 --with-perfmon=2.0 --with-tls=no   make
Packit Service a1973e
	  __ia64__=1
Packit Service a1973e
Packit Service a1973e
	  and you still have to fiddle with some __ia64__ ifdefs scattered
Packit Service a1973e
	  in the code
Packit Service a1973e
Packit Service a1973e
2011-06-29
Packit Service a1973e
Packit Service a1973e
	* src/papi.c: Add doxygen comments for: * PAPI_num_events() *
Packit Service a1973e
	  PAPI_overflow() * PAPI_perror()
Packit Service a1973e
Packit Service a1973e
	* src/papi.c: Doxygen for PAPI_set_domain and PAPI
Packit Service a1973e
	  _set_granularity.  Unfortunately, this seems to have raised more
Packit Service a1973e
	  issues about Fortran support...
Packit Service a1973e
Packit Service a1973e
	* src/papi.c: Add doxygen comments to * PAPI_list_threads() *
Packit Service a1973e
	  PAPI_lock() * PAPI_multiplex_init() * PAPI_num_hwctrs() *
Packit Service a1973e
	  PAPI_num_cmp_hwctrs()
Packit Service a1973e
Packit Service a1973e
	* src/papi.c: Doxygen for PAPI_set_debug and minor tweaks to other
Packit Service a1973e
	  function documentation.
Packit Service a1973e
Packit Service a1973e
2011-06-28
Packit Service a1973e
Packit Service a1973e
	* src/: linux-common.h, linux-timer.c, papi_pfm_events.c,
Packit Service a1973e
	  perfmon-ia64-pfm.h: some more itanium fixes.	This won't be
Packit Service a1973e
	  enough to fix things but it is a start.
Packit Service a1973e
Packit Service a1973e
	* src/papi.c: Check in Kiran's doxygen work.  This time hopefully
Packit Service a1973e
	  not clobbering anyone.
Packit Service a1973e
Packit Service a1973e
	* src/: linux-context.h, linux-timer.c, perfmon-ia64.h: Attempt to
Packit Service a1973e
	  fix the build for itanium systems.
Packit Service a1973e
Packit Service a1973e
	* src/papi.c: Fix comments embedded in doygen source to be C++
Packit Service a1973e
	  single line format.
Packit Service a1973e
Packit Service a1973e
2011-06-27
Packit Service a1973e
Packit Service a1973e
	* src/papi.c: Commit documentation changes for PAPI_reset,
Packit Service a1973e
	  PAPI_set_thr_specific, and PAPI_get_thr_specific. The last one
Packit Service a1973e
	  wasn't on my list, but it mirrored _set_ so I did it anyway.
Packit Service a1973e
Packit Service a1973e
	* src/papi.c: [no log message]
Packit Service a1973e
Packit Service a1973e
	* src/papi.c: Commit Kiren's updates to the code documentation.
Packit Service a1973e
Packit Service a1973e
2011-06-24
Packit Service a1973e
Packit Service a1973e
	* doc/Doxyfile: One got left behind... ( see previous commit about
Packit Service a1973e
	  redoing doxygen procedures )
Packit Service a1973e
Packit Service a1973e
	* src/Makefile.inc, src/configure, src/configure.in,
Packit Service a1973e
	  doc/Doxyfile.html, doc/Doxyfile.utils,
Packit Service a1973e
	  doc/Doxyfile.utils-everything, doc/Makefile,
Packit Service a1973e
	  doc/doxygen_procedure.txt: Update install process for man-pages,
Packit Service a1973e
	  install from pre-built pages living in $(PAPI_DIR)/man and update
Packit Service a1973e
	  $(PAPI_DIR)/doc to generate doxygen pages and copy them to
Packit Service a1973e
	  $(PAPI_DIR)/man.
Packit Service a1973e
Packit Service a1973e
	  This removes doxygen from the install process.  And when removes
Packit Service a1973e
	  the web of doxygen configurationf files, going back to just two,
Packit Service a1973e
	  lite and kitchen-sink.
Packit Service a1973e
Packit Service a1973e
	* src/papi.c: Updates to doxygen stuff for PAPI_remove_event{s}
Packit Service a1973e
Packit Service a1973e
	* src/: linux-bgp.c, perfmon-ia64.c, perfmon.c, solaris-niagara2.c,
Packit Service a1973e
	  solaris-ultra.c: When I made the multiattach change I forgot to
Packit Service a1973e
	  update _papi_hwi_lookup_thread calls on all architectures.  This
Packit Service a1973e
	  should get the ones I missed.
Packit Service a1973e
Packit Service a1973e
2011-06-23
Packit Service a1973e
Packit Service a1973e
	* src/papi_pfm4_events.c: For libpfm4 we were setting available
Packit Service a1973e
	  counters to the number of generic counters.
Packit Service a1973e
Packit Service a1973e
	  This was less than libpfm3, so update the code to set the number
Packit Service a1973e
	  of counters to be equal to generic+fixed.
Packit Service a1973e
Packit Service a1973e
	  In theory whether an event can be added is determined at add
Packit Service a1973e
	  time, so the extra check for number of counters is unnecessarily
Packit Service a1973e
	  getting in the way.  This should be fixed but might require a
Packit Service a1973e
	  re-write of some PAPI internals.
Packit Service a1973e
Packit Service a1973e
2011-06-22
Packit Service a1973e
Packit Service a1973e
	* src/ctests/test_utils.c: One more fix to the byte_profile code
Packit Service a1973e
Packit Service a1973e
	* src/ctests/byte_profile.c: Fix byte_profile ctest, as it was
Packit Service a1973e
	  breaking on libpfm4.
Packit Service a1973e
Packit Service a1973e
	* src/: extras.c, papi.c, perf_events.c, threads.c, threads.h,
Packit Service a1973e
	  ctests/multiattach.c, ctests/multiattach2.c: Add support for
Packit Service a1973e
	  handling multiattach properly.
Packit Service a1973e
Packit Service a1973e
	  This adds a pid argument to the
Packit Service a1973e
	  _papi_hwi_lookup_or_create_thread() call.  A pid of "0" falls
Packit Service a1973e
	  back to the old behavior of using the current tid/pid.
Packit Service a1973e
Packit Service a1973e
	  If attaching to an outside pid/tid, a new thread object is
Packit Service a1973e
	  created to handle this.  This seems like the right thing to do,
Packit Service a1973e
	  though there's enough complicated code in the threads code that I
Packit Service a1973e
	  haven't fully audited that this can't fail somehow in complicated
Packit Service a1973e
	  cases where lots of attaching/detaching is done in conjunction
Packit Service a1973e
	  with having a large multi-threaded program.
Packit Service a1973e
Packit Service a1973e
2011-06-13
Packit Service a1973e
Packit Service a1973e
	* src/papi_pfm4_events.c: Fix the libpfm4 enumerate code.
Packit Service a1973e
Packit Service a1973e
	  It was possible for papi_native_avail to get stuck in an infinite
Packit Service a1973e
	  loop	if two events had the same name on different PMUs and the
Packit Service a1973e
	  "default"  PMU happened later in the enumeration.
Packit Service a1973e
Packit Service a1973e
	  This was the case on SandyBridge at least.
Packit Service a1973e
Packit Service a1973e
	  This should be fixed now.
Packit Service a1973e
Packit Service a1973e
	* src/ctests/test_utils.c: Make "test_fail()" actually fail.
Packit Service a1973e
Packit Service a1973e
	  In the comments we say we don't exit to avoid leaking memory in
Packit Service a1973e
	  threads.
Packit Service a1973e
Packit Service a1973e
	  That seems suspect.  The threads should exit properly too.  If
Packit Service a1973e
	  they	don't, then we should fix the threading code and not make
Packit Service a1973e
	  our tests  never exit on fail (which can make debugging a pain).
Packit Service a1973e
Packit Service a1973e
2011-06-10
Packit Service a1973e
Packit Service a1973e
	* src/: papi.c, papi_hl.c: Add example code to the high level
Packit Service a1973e
	  interface docs
Packit Service a1973e
Packit Service a1973e
	* src/papi_events.csv: Add initial Sandy Bridge event support.
Packit Service a1973e
Packit Service a1973e
	  This is in no way nested, so be cautious if using.
Packit Service a1973e
Packit Service a1973e
	  Sandy Bridge support is libpfm4 only, so you'll have to configure
Packit Service a1973e
	  with --with-libpfm4
Packit Service a1973e
Packit Service a1973e
	* src/papi_hl.c: Added an example of how to embed example code in
Packit Service a1973e
	  PAPI_stop_counters documentation.
Packit Service a1973e
Packit Service a1973e
2011-06-09
Packit Service a1973e
Packit Service a1973e
	* src/Makefile.inc: Makefile fix for fortran wrapper files on
Packit Service a1973e
	  case-insensitive filesystems.  During build, it renames the
Packit Service a1973e
	  preprocessed file PAPI_FWRAPPERS.c to upper_PAPI_FWRAPPERS.c
Packit Service a1973e
Packit Service a1973e
2011-06-08
Packit Service a1973e
Packit Service a1973e
	* src/: configure, Makefile.inc, configure.in: Have configure check
Packit Service a1973e
	  that doxygen is installed, and have make install only attempt to
Packit Service a1973e
	  build the doxygen docs if we found doxygen.
Packit Service a1973e
Packit Service a1973e
2011-06-07
Packit Service a1973e
Packit Service a1973e
	* src/: run_tests_exclude_cuda.txt, components/cuda/linux-cuda.c:
Packit Service a1973e
	  ctests/thrspecific works now too with the CUDA component
Packit Service a1973e
Packit Service a1973e
	* src/components/cuda/linux-cuda.c: clean up and indent
Packit Service a1973e
Packit Service a1973e
	* src/components/cuda/: linux-cuda.c, linux-cuda.h: Added
Packit Service a1973e
	  CudaRemoveEvent functionality (was broken in earlier CUDA RC
Packit Service a1973e
	  versions). ctests/all_native_events works now (at least for the
Packit Service a1973e
	  default CUDA device). +++ Minor exit/return mods in CUDA
Packit Service a1973e
	  component
Packit Service a1973e
Packit Service a1973e
	* doc/Doxyfile, doc/Doxyfile.html, doc/Doxyfile.utils,
Packit Service a1973e
	  doc/Doxyfile.utils-everything, doc/Makefile, src/Makefile.inc,
Packit Service a1973e
	  src/papi.c, src/papi.h, src/papi_hl.c: Rework doxygen to better
Packit Service a1973e
	  generate manpages from code comments.
Packit Service a1973e
Packit Service a1973e
2011-06-03
Packit Service a1973e
Packit Service a1973e
	* release_procedure.txt: Incorporate a note about using 2.59
Packit Service a1973e
	  autoconf to build configure.
Packit Service a1973e
Packit Service a1973e
2011-06-02
Packit Service a1973e
Packit Service a1973e
	* src/utils/error_codes.c: Tweak the doxygen title text.
Packit Service a1973e
Packit Service a1973e
2011-06-01
Packit Service a1973e
Packit Service a1973e
	* src/: configure, configure.in: Modified configure.in to look for
Packit Service a1973e
	  a 2.59 autoconf prerequisite. Rebuilt configure with 2.59. We'll
Packit Service a1973e
	  try this out on buildbot.
Packit Service a1973e
Packit Service a1973e
2011-05-31
Packit Service a1973e
Packit Service a1973e
	* src/: run_tests_exclude_cuda.txt, components/cuda/linux-cuda.c,
Packit Service a1973e
	  components/cuda/linux-cuda.h: 2 things: (1) Bug in CUDA v4.0
Packit Service a1973e
	  fixed. It caused a threaded application to hang when parent
Packit Service a1973e
	  called cuInit() before fork() and child called also cuInit().
Packit Service a1973e
	  All fork ctests pass now if papi is configured with cuda
Packit Service a1973e
	  component. (2) If running a threaded application, we need to make
Packit Service a1973e
	  sure that a thread doesn't free the same memory location(s) more
Packit Service a1973e
	  than once. Now all pthread ctests pass, too (again, if papi is
Packit Service a1973e
	  configured with cuda component).
Packit Service a1973e
Packit Service a1973e
2011-05-27
Packit Service a1973e
Packit Service a1973e
	* src/perf_events.c: It turns out our FORMAT_ID workaround
Packit Service a1973e
	  detection code was identical to FORMAT_GROUP (and not really
Packit Service a1973e
	  necessary) so merge the two.
Packit Service a1973e
Packit Service a1973e
2011-05-26
Packit Service a1973e
Packit Service a1973e
	* src/papi_pfm_events.h: One last try at the cray compile fix, this
Packit Service a1973e
	  time using a suggestion from Steve Kaufmann.
Packit Service a1973e
Packit Service a1973e
	* src/perf_events.c: Update some comments on the workarounds.
Packit Service a1973e
Packit Service a1973e
	  I've been writing some validation tests for our various
Packit Service a1973e
	  workarounds.
Packit Service a1973e
Packit Service a1973e
	  It turns out the "no multiplexing before 2.6.33" problem is
Packit Service a1973e
	  actually an artifact of the check_schedulability bug on x86 (and
Packit Service a1973e
	  its interaction with our event partitioning code) rather than a
Packit Service a1973e
	  distinct kernel bug.
Packit Service a1973e
Packit Service a1973e
	* src/Rules.pfm4_pe: Now fix libpfm4.  I think they should all be
Packit Service a1973e
	  fixed now.  Too many permutations.
Packit Service a1973e
Packit Service a1973e
	* src/: Rules.pfm_pe, papi_pfm_events.h: One last try at fixing the
Packit Service a1973e
	  perfmon2 build.
Packit Service a1973e
Packit Service a1973e
	* src/papi_pfm_events.h: Fix the perfmon2 build that broke with the
Packit Service a1973e
	  libpfm4 merge.  The previous fix only fixed perfctr, not perfmon2
Packit Service a1973e
Packit Service a1973e
	  This should fix the build for cray machines.
Packit Service a1973e
Packit Service a1973e
2011-05-24
Packit Service a1973e
Packit Service a1973e
	* src/utils/component.c: Add doxygen comments to components.c
Packit Service a1973e
Packit Service a1973e
	* src/papi_events.csv: Fix the PAPI_TOT_INS instruction for Atom,
Packit Service a1973e
	  as well as update the floating point events.
Packit Service a1973e
Packit Service a1973e
	* src/perf_events.c: We were using some of the perf_event
Packit Service a1973e
	  functionality in an susupported way	and this broke recently
Packit Service a1973e
	  when the perf_event interface was made more strict.
Packit Service a1973e
Packit Service a1973e
	  You can't use the PERF_EVENT_IOC_REFRESH ioctl on a group leader
Packit Service a1973e
	  to	start all sampling siblings... use PERF_EVENT_IOC_ENABLE
Packit Service a1973e
Packit Service a1973e
	  Don't pass NULL or 0 as the argument to the
Packit Service a1973e
	  PERF_EVENT_IOC_REFRESH ioctl.
Packit Service a1973e
Packit Service a1973e
	  These fixes seem to work and fix the Nehalem regressions.  The
Packit Service a1973e
	  above changes were made to PAPI back in November to fix the I/O
Packit Service a1973e
	  possible error, so we should check to be sure that this doesn't
Packit Service a1973e
	  reintroduce the problem.
Packit Service a1973e
Packit Service a1973e
	  We should also probably back-port this fix to 4.1.2 and 4.2
Packit Service a1973e
	  stable
Packit Service a1973e
Packit Service a1973e
2011-05-23
Packit Service a1973e
Packit Service a1973e
	* src/: configure, configure.in, papi.c, papi.h, papi_data.h,
Packit Service a1973e
	  utils/Makefile, utils/error_codes.c: New utility to display PAPI
Packit Service a1973e
	  error codes and description strings.	There was no API to access
Packit Service a1973e
	  error descriptions, so I created PAPI_descr_error( int error_code
Packit Service a1973e
	  ) too.  I also updated the error table to provide strings for all
Packit Service a1973e
	  defined codes.
Packit Service a1973e
Packit Service a1973e
	* src/aix.c: Define aix's .cmp_info.itimer_ns value to a default.
Packit Service a1973e
	  The multiplexing tests are happy on power7 aix now.
Packit Service a1973e
Packit Service a1973e
	* src/: sys_perf_event_open.c, ctests/overflow.c: cleanup some
Packit Service a1973e
	  debug messages
Packit Service a1973e
Packit Service a1973e
	* src/ctests/: overflow.c, test_utils.c: The overflow test depends
Packit Service a1973e
	  on the exact ordering of the flags in the   add_test_event()
Packit Service a1973e
	  code.  So my previous changes broke the test.    This commit
Packit Service a1973e
	  fixes the test case again.
Packit Service a1973e
Packit Service a1973e
	* src/ctests/: byte_profile.c, prof_utils.c, prof_utils.h,
Packit Service a1973e
	  profile.c, profile_twoevents.c, sprofile.c: ctests:  remove the
Packit Service a1973e
	  "hw_info" field from the profile setup functions,	     as the
Packit Service a1973e
	  field isn't used.
Packit Service a1973e
Packit Service a1973e
	* src/: configure, configure.in, utils/Makefile, utils/component.c:
Packit Service a1973e
	  Introduce a component avail utility, lists the components we were
Packit Service a1973e
	  built with, optionally with native/preset counts and version
Packit Service a1973e
	  number.
Packit Service a1973e
Packit Service a1973e
	* src/components/example/example.c: Add number of 'native' events
Packit Service a1973e
	  to the component info structure in example component.
Packit Service a1973e
Packit Service a1973e
	* src/ctests/: byte_profile.c, papi_test.h, prof_utils.c,
Packit Service a1973e
	  prof_utils.h, profile.c, profile_twoevents.c, sprofile.c,
Packit Service a1973e
	  test_utils.c, zero_smp.c: Clean up the ctest profile event
Packit Service a1973e
	  section code some more.
Packit Service a1973e
Packit Service a1973e
	  This fixes a build error on AIX that I introuced on Friday.
Packit Service a1973e
Packit Service a1973e
	* src/papi_events.csv: Initial PAPI Fam14h Bobcat support.
Packit Service a1973e
Packit Service a1973e
	  Only works with libpfm4 version of PAPI.
Packit Service a1973e
Packit Service a1973e
	  Passes most of the tests, but still need to verify as there are a
Packit Service a1973e
	  number of subtle differences in the native events.
Packit Service a1973e
Packit Service a1973e
2011-05-20
Packit Service a1973e
Packit Service a1973e
	* src/ctests/: byte_profile.c, mendes-alt.c, papi_test.h,
Packit Service a1973e
	  prof_utils.c, test_utils.c: Fix byte_profile to work on Nehalem.
Packit Service a1973e
	  Still needs some more work   to print the result properly.
Packit Service a1973e
Packit Service a1973e
	* src/ctests/: attach2.c, attach3.c, branches.c, byte_profile.c,
Packit Service a1973e
	  case1.c, case2.c, first.c, multiattach.c, multiattach2.c,
Packit Service a1973e
	  overflow.c, overflow3_pthreads.c, overflow_index.c,
Packit Service a1973e
	  overflow_one_and_read.c, overflow_pthreads.c, papi_test.h,
Packit Service a1973e
	  prof_utils.c, profile_pthreads.c, reset.c, sdsc.c, sprofile.c,
Packit Service a1973e
	  tenth.c, test_utils.c, zero.c, zero_attach.c, zero_fork.c,
Packit Service a1973e
	  zero_pthreads.c: Some cleanups to the ctests/test_utils.c code +
Packit Service a1973e
	  Remove the hw_info field from the add_two_events() and
Packit Service a1973e
	  add_two_nonderived_events() functions, as it wasn't used.  + Make
Packit Service a1973e
	  the add_test_events() function loop through all the masks,
Packit Service a1973e
	  insteading having a hardcoded test for each possible mask
Packit Service a1973e
Packit Service a1973e
	* src/ctests/test_utils.c: buildbot didn't like the colored test
Packit Service a1973e
	  messages (despite the code   having fancy checks for "isatty()").
Packit Service a1973e
Packit Service a1973e
	  So change the color thing to require an environment variable to
Packit Service a1973e
	  be set,   TESTS_COLOR=y
Packit Service a1973e
Packit Service a1973e
2011-05-19
Packit Service a1973e
Packit Service a1973e
	* src/ctests/test_utils.c: Add color to the testsuite results if we
Packit Service a1973e
	  are running at a console.  This makes is much easier to see
Packit Service a1973e
	  FAILED results.
Packit Service a1973e
Packit Service a1973e
	  I can back this out if people don't like it, but it's made my
Packit Service a1973e
	  life	a lot easier when running all the tests involved with the
Packit Service a1973e
	  libpfm4 merge.
Packit Service a1973e
Packit Service a1973e
	* src/: papi_pfm_events.c, papi_pfm_events.h: Fix the build with
Packit Service a1973e
	  perfctr introduced by libpfm4 changes.
Packit Service a1973e
Packit Service a1973e
	* src/configure.in: Documentation for the AIX heap fix.
Packit Service a1973e
Packit Service a1973e
	* src/: papi_pfm4_events.c, ctests/test_utils.c: power6 doesn't
Packit Service a1973e
	  work with libpfm4, as it reports num_cntrs=0
Packit Service a1973e
Packit Service a1973e
	  have PAPI print a better error in this case until we get a fix
Packit Service a1973e
	  upstream.
Packit Service a1973e
Packit Service a1973e
	* src/: configure, configure.in: On aix one has to ask really
Packit Service a1973e
	  nicely for a usable ammount of heap space.  The omp tests should
Packit Service a1973e
	  run now.
Packit Service a1973e
Packit Service a1973e
	* src/: configure, configure.in, perf_events.c,
Packit Service a1973e
	  sys_perf_event_open.c: This is the last commit needed to get
Packit Service a1973e
	  libpfm4 support going.
Packit Service a1973e
Packit Service a1973e
	  To build with libpfm4 support enabled, run configure like this:
Packit Service a1973e
	   ./configure --with-libpfm4
Packit Service a1973e
Packit Service a1973e
	* src/: papi_pfm_events.c, papi_pfm_events.h, perf_events.c: Pass
Packit Service a1973e
	  the actual perf_attr structure around, rather than just a 64-bit
Packit Service a1973e
	  event value.	This allows support for generalized events and
Packit Service a1973e
	  eventual offcore/uncore support.
Packit Service a1973e
Packit Service a1973e
	* src/: papi_pfm_events.c, perf_events.c, perf_events.h: Clean up
Packit Service a1973e
	  some debugging #ifdefs
Packit Service a1973e
Packit Service a1973e
	* src/papi_events.csv: The papi_events.csv file requires some
Packit Service a1973e
	  additions for libpfm4 to work   + The CPU family names have
Packit Service a1973e
	  changed from libpfm3 to libpfm4     It should be backward
Packit Service a1973e
	  compatible to just add the libpfm4 ones     in addition to the
Packit Service a1973e
	  libpfm3 ones	 + libpfm4 does not provide a helper to get the
Packit Service a1973e
	  instruction and cycle     event names.  So we have to add them
Packit Service a1973e
	  for all supported CPUs
Packit Service a1973e
Packit Service a1973e
	* src/: Rules.pfm4_pe, papi_pfm4_events.c: New files needed for
Packit Service a1973e
	  libpfm4 support
Packit Service a1973e
Packit Service a1973e
2011-05-16
Packit Service a1973e
Packit Service a1973e
	* release_procedure.txt: Add note to update from cvs before
Packit Service a1973e
	  tagging.  Thanks, Will Cohen :)
Packit Service a1973e