Permalink
Browse files

Sync with oprofile CVS HEAD from Jan 11, 2011.

There have been a few patches to oprofile for newer ARM architectures
since 0.9.6.

Pruned out irrelevant auto-generated files from the previous dump
so this is closer to being a mirror of the actual oprofile repository.

Change-Id: I889053d30aae433a199a0a18585c66b88ff8de14
  • Loading branch information...
j9brown committed Feb 2, 2011
1 parent b415fab commit 7a33c86eb98056ef0570c99e713214f8dc56b6ef
Showing with 26,001 additions and 71,465 deletions.
  1. +204 −0 ChangeLog
  2. +0 −49 CleanSpec.mk
  3. +206 −0 HACKING
  4. +0 −787 Makefile.in
  5. +0 −7,257 aclocal.m4
  6. +8 −2 agents/Makefile.am
  7. +0 −546 agents/Makefile.in
  8. +0 −521 agents/jvmpi/Makefile.in
  9. +0 −522 agents/jvmti/Makefile.in
  10. +0 −142 compile
  11. +0 −1,526 config.guess
  12. +0 −104 config.h.in
  13. +0 −1,658 config.sub
  14. +0 −27,289 configure
  15. +11 −3 configure.in
  16. +0 −686 daemon/Makefile.in
  17. +3 −0 daemon/init.c
  18. +0 −510 daemon/liblegacy/Makefile.in
  19. +14 −0 daemon/opd_extended.c
  20. +9 −0 daemon/opd_extended.h
  21. +169 −25 daemon/opd_ibs.c
  22. +5 −9 daemon/opd_ibs.h
  23. +51 −20 daemon/opd_ibs_macro.h
  24. +572 −480 daemon/opd_ibs_trans.c
  25. +8 −4 daemon/opd_ibs_trans.h
  26. +0 −530 depcomp
  27. +137 −0 doc/CodingStyle
  28. +0 −555 doc/Makefile.in
  29. BIN doc/buffers.dia
  30. +0 −2,009 doc/internals.html
  31. +0 −455 doc/op-jit-devel.html
  32. +9 −5 doc/opcontrol.1.in
  33. +57 −0 doc/ophelp.xsd
  34. +0 −193 doc/oprofile.1
  35. +0 −5,373 doc/oprofile.html
  36. +6 −0 doc/oprofile.xml
  37. +9 −0 events/Makefile.am
  38. +0 −450 events/Makefile.in
  39. +18 −0 events/alpha/ev4/events
  40. +4 −0 events/alpha/ev4/unit_masks
  41. +49 −0 events/alpha/ev5/events
  42. +4 −0 events/alpha/ev5/unit_masks
  43. +11 −0 events/alpha/ev6/events
  44. +4 −0 events/alpha/ev6/unit_masks
  45. +27 −0 events/alpha/ev67/events
  46. +4 −0 events/alpha/ev67/unit_masks
  47. +2 −0 events/alpha/pca56/events
  48. +3 −0 events/alpha/pca56/unit_masks
  49. +50 −0 events/arm/armv7-ca9/events
  50. +4 −0 events/arm/armv7-ca9/unit_masks
  51. +22 −0 events/arm/armv7-common/events
  52. +4 −0 events/arm/armv7-common/unit_masks
  53. +1 −20 events/arm/armv7/events
  54. +27 −0 events/avr32/events
  55. +4 −0 events/avr32/unit_masks
  56. +10 −0 events/i386/arch_perfmon/events
  57. +11 −0 events/i386/arch_perfmon/unit_masks
  58. +27 −0 events/i386/athlon/events
  59. +11 −0 events/i386/athlon/unit_masks
  60. +80 −0 events/i386/atom/events
  61. +120 −0 events/i386/atom/unit_masks
  62. +115 −0 events/i386/core/events
  63. +67 −0 events/i386/core/unit_masks
  64. +137 −0 events/i386/core_2/events
  65. +195 −0 events/i386/core_2/unit_masks
  66. +6 −0 events/i386/core_i7/events
  67. +1 −0 events/i386/core_i7/unit_masks
  68. +107 −0 events/i386/nehalem/events
  69. +372 −0 events/i386/nehalem/unit_masks
  70. +25 −0 events/i386/p4-ht/events
  71. +79 −0 events/i386/p4-ht/unit_masks
  72. +44 −0 events/i386/p4/events
  73. +127 −0 events/i386/p4/unit_masks
  74. +115 −0 events/i386/p6_mobile/events
  75. +47 −0 events/i386/p6_mobile/unit_masks
  76. +80 −0 events/i386/pii/events
  77. +34 −0 events/i386/pii/unit_masks
  78. +80 −0 events/i386/piii/events
  79. +36 −0 events/i386/piii/unit_masks
  80. +70 −0 events/i386/ppro/events
  81. +13 −0 events/i386/ppro/unit_masks
  82. +88 −0 events/i386/westmere/events
  83. +307 −0 events/i386/westmere/unit_masks
  84. +3 −0 events/ia64/ia64/events
  85. +4 −0 events/ia64/ia64/unit_masks
  86. +5 −0 events/ia64/itanium/events
  87. +4 −0 events/ia64/itanium/unit_masks
  88. +267 −0 events/ia64/itanium2/events
  89. +465 −0 events/ia64/itanium2/unit_masks
  90. +173 −0 events/mips/1004K/events
  91. +5 −0 events/mips/1004K/unit_masks
  92. +21 −0 events/mips/20K/events
  93. +5 −0 events/mips/20K/unit_masks
  94. +144 −0 events/mips/24K/events
  95. +5 −0 events/mips/24K/unit_masks
  96. +81 −0 events/mips/25K/events
  97. +5 −0 events/mips/25K/unit_masks
  98. +158 −0 events/mips/34K/events
  99. +5 −0 events/mips/34K/unit_masks
  100. +36 −0 events/mips/5K/events
  101. +5 −0 events/mips/5K/unit_masks
  102. +159 −0 events/mips/74K/events
  103. +5 −0 events/mips/74K/unit_masks
  104. +34 −0 events/mips/loongson2/events
  105. +4 −0 events/mips/loongson2/unit_masks
  106. +36 −0 events/mips/r10000/events
  107. +5 −0 events/mips/r10000/unit_masks
  108. +35 −0 events/mips/r12000/events
  109. +7 −0 events/mips/r12000/unit_masks
  110. +34 −0 events/mips/rm7000/events
  111. +5 −0 events/mips/rm7000/unit_masks
  112. +32 −0 events/mips/rm9000/events
  113. +5 −0 events/mips/rm9000/unit_masks
  114. +73 −0 events/mips/sb1/events
  115. +5 −0 events/mips/sb1/unit_masks
  116. +14 −0 events/mips/vr5432/events
  117. +5 −0 events/mips/vr5432/unit_masks
  118. +16 −0 events/mips/vr5500/events
  119. +5 −0 events/mips/vr5500/unit_masks
  120. +39 −0 events/ppc/7450/events
  121. +4 −0 events/ppc/7450/unit_masks
  122. +40 −0 events/ppc/e300/events
  123. +4 −0 events/ppc/e300/unit_masks
  124. +83 −0 events/ppc/e500/events
  125. +4 −0 events/ppc/e500/unit_masks
  126. +83 −0 events/ppc/e500v2/events
  127. +4 −0 events/ppc/e500v2/unit_masks
  128. +494 −0 events/ppc64/970/event_mappings
  129. +505 −0 events/ppc64/970/events
  130. +4 −0 events/ppc64/970/unit_masks
  131. +519 −0 events/ppc64/970MP/event_mappings
  132. +530 −0 events/ppc64/970MP/events
  133. +9 −0 events/ppc64/970MP/unit_masks
  134. +517 −0 events/ppc64/cell-be/events
  135. +137 −0 events/ppc64/cell-be/unit_masks
  136. +82 −0 events/ppc64/ibm-compat-v1/event_mappings
  137. +91 −0 events/ppc64/ibm-compat-v1/events
  138. +9 −0 events/ppc64/ibm-compat-v1/unit_masks
  139. +48 −0 events/ppc64/pa6t/event_mappings
  140. +52 −0 events/ppc64/pa6t/events
  141. +4 −0 events/ppc64/pa6t/unit_masks
  142. +634 −0 events/ppc64/power4/event_mappings
  143. +645 −0 events/ppc64/power4/events
  144. +5 −0 events/ppc64/power4/unit_masks
  145. +1,140 −0 events/ppc64/power5++/event_mappings
  146. +1,151 −0 events/ppc64/power5++/events
  147. +4 −0 events/ppc64/power5++/unit_masks
  148. +1,232 −0 events/ppc64/power5+/event_mappings
  149. +1,242 −0 events/ppc64/power5+/events
  150. +4 −0 events/ppc64/power5+/unit_masks
  151. +1,192 −0 events/ppc64/power5/event_mappings
  152. +1,202 −0 events/ppc64/power5/events
  153. +4 −0 events/ppc64/power5/unit_masks
  154. +1,201 −0 events/ppc64/power6/event_mappings
  155. +1,211 −0 events/ppc64/power6/events
  156. +9 −0 events/ppc64/power6/unit_masks
  157. +2,020 −0 events/ppc64/power7/event_mappings
  158. +2,027 −0 events/ppc64/power7/events
  159. +9 −0 events/ppc64/power7/unit_masks
  160. +3 −0 events/rtc/events
  161. +4 −0 events/rtc/unit_masks
  162. +241 −0 events/x86-64/family10/events
  163. +374 −0 events/x86-64/family10/unit_masks
  164. +132 −0 events/x86-64/family11h/events
  165. +220 −0 events/x86-64/family11h/unit_masks
  166. +23 −0 events/x86-64/family12h/events
  167. +30 −0 events/x86-64/family12h/unit_masks
  168. +23 −0 events/x86-64/family14h/events
  169. +30 −0 events/x86-64/family14h/unit_masks
  170. +16 −0 events/x86-64/family15h/events
  171. +16 −0 events/x86-64/family15h/unit_masks
  172. +125 −0 events/x86-64/hammer/events
  173. +186 −0 events/x86-64/hammer/unit_masks
  174. +0 −669 gui/Makefile.in
  175. +0 −493 gui/ui/Makefile.in
  176. +0 −323 install-sh
  177. +0 −677 libabi/Makefile.in
  178. +2 −4 libabi/opimport.cpp
  179. +0 −492 libabi/tests/Makefile.in
  180. +0 −603 libdb/Makefile.in
  181. +0 −556 libdb/tests/Makefile.in
  182. +0 −623 libop/Makefile.in
  183. +34 −0 libop/op_cpu_type.c
  184. +18 −0 libop/op_cpu_type.h
  185. +4 −0 libop/op_events.c
  186. +58 −19 libop/op_hw_specific.h
  187. +17 −3 libop/op_xml_events.c
  188. +1 −0 libop/op_xml_out.c
  189. +1 −0 libop/op_xml_out.h
  190. +0 −601 libop/tests/Makefile.in
  191. +3 −5 libop/tests/alloc_counter_tests.c
  192. +0 −556 libopagent/Makefile.in
  193. +40 −0 libopagent/bfddefines.c
  194. +0 −484 libopt++/Makefile.in
  195. +0 −565 libpp/Makefile.in
  196. +7 −0 libpp/parse_filename.cpp
  197. +1 −4 libpp/profile_spec.cpp
  198. +0 −641 libregex/Makefile.in
  199. +6 −4 libregex/stl.pat.in
  200. +0 −574 libregex/tests/Makefile.in
  201. +0 −653 libutil++/Makefile.in
  202. +46 −8 libutil++/bfd_support.cpp
  203. +0 −632 libutil++/tests/Makefile.in
  204. +0 −627 libutil/Makefile.in
  205. +5 −0 libutil/op_cpufreq.c
  206. +0 −563 libutil/tests/Makefile.in
  207. +0 −6,956 ltmain.sh
  208. +0 −387 m4/Makefile.in
  209. +11 −3 m4/qt.m4
  210. +0 −360 missing
  211. +0 −522 opjitconv/Makefile.in
  212. +0 −584 pp/Makefile.in
  213. +0 −1 pp/oparchive.cpp
  214. +0 −529 utils/Makefile.in
  215. +104 −13 utils/opcontrol
  216. +36 −1 utils/ophelp.c
View
204 ChangeLog
@@ -1,3 +1,207 @@
+2011-01-05 William Cohen <wcohen@redhat.com>
+
+ * utils/opcontrol: Add argument checking for numerical arguments
+
+2010-12-16 John Villalovos <john.l.villalovos@intel.com>
+
+ * events/Makefile.am:
+ * libop/op_cpu_type.c:
+ * libop/op_cpu_type.h:
+ * libop/op_hw_specific.h:
+ * libop/op_events.c:
+ * utils/ophelp.c:
+ * events/i386/westmere/events (new):
+ * events/i386/westmere/unit_masks (new): Add support for Intel
+ Westmere micro-architecture processors
+
+2010-12-15 Will Cohen <wcohen@redhat.com>
+
+ * libop/op_cpu_type.c:
+ * libop/op_cpu_type.h:
+ * libop/op_hw_specific.h: User-space identification of processors
+ that support Intel architectural events
+
+2010-12-14 Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
+
+ * oprofile/daemon/opd_ibs_trans.c: Fix non-x86 build issue
+ due to cpuid instruction
+
+2010-11-7 Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
+
+ * oprofile/utils/opcontrol:
+ * oprofile/daemon/init.c:
+ * oprofile/daemon/opd_extended.h:
+ * oprofile/daemon/opd_extended.c:
+ * oprofile/daemon/opd_ibs.h:
+ * oprofile/daemon/opd_ibs.c:
+ * oprofile/daemon/opd_ibs_trans.h:
+ * oprofile/daemon/opd_ibs_trans.c:
+ * oprofile/events/x86-64/family10/unit_masks:
+ * oprofile/daemon/opd_ibs_macro.h: Additional IBS supports for
+ family12/14/15h including:
+ - IBS Op branch target address log
+ - IBS Op memory access log
+ - IBS Op extended count bits
+
+2010-11-7 Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
+
+ * events/Makefile.am:
+ * libop/op_events.c:
+ * libop/op_cpu_type.h:
+ * libop/op_cpu_type.c:
+ * utils/ophelp.c:
+ * events/x86-64/family12h/events: New File
+ * events/x86-64/family12h/unit_masks: New File
+ * events/x86-64/family14h/events: New File
+ * events/x86-64/family14h/unit_masks: New File
+ * events/x86-64/family15h/events: New File
+ * events/x86-64/family15h/unit_masks: New File
+ Add support for new AMD processors (family12h/14h/15h)
+
+2010-10-15 Roland Grunberg <roland.grunberg@gmail.com>
+
+ * libop/op_xml_events.c:
+ * libop/op_xml_out.c:
+ * libop/op_xml_out.h:
+ * doc/ophelp.xsd: Add unit mask type attribute for an event in
+ the ophelp schema
+
+2010-10-15 Maynard Johnson <maynardj@us.ibm.com>
+
+ * doc/ophelp.xsd:
+ * libop/op_xml_events.c: Fix schema validation issues and error in
+ xml generation
+
+2010-10-13 Maynard Johnson <maynardj@us.ibm.com>
+
+ * libabi/opimport.cpp: Fix uninitialized variable warning when
+ building with gcc 4.4
+
+2010-10-13 Maynard Johnson <maynardj@us.ibm.com>
+
+ * events/mips/Makefile.am: Correction to 8/26 MIPS patch
+ to add events and unit_masks to makefile
+
+2010-10-07 William Cohen <wcohen@redhat.com>
+
+ * events/i386/arch_perfmon/events: Correct filter values.
+
+2010-08-26 Paul Lind <plind@mips.com>
+
+ * libop/op_cpu_type.[h,c]:
+ * libop/op_events.c:
+ * utils/ophelp.c: Add "mips/74K" and "mips/1004K" as valid cpu types,
+ and change number of available 34K counters to 2.
+ * libop/tests/alloc_counter_tests.c: correct 34K test to 2 counters.
+ * events/mips/24K/events: correct the performance counters for 24K.
+ * events/mips/34K/events: correct the performance counters for 34K.
+ * events/mips/74K/[events,unit_masks]: Add events for 74K.
+ * events/mips/1004K/[events,unit_masks]: Add events for 1004K.
+
+2010-08-13 Maynard Johnson <maynardj@us.ibm.com>
+
+ * utils/opcontrol:
+ * doc/opcontrol.1.in: Update help and man page for opcontrol to indicate
+ that buffer values may be reset to default values by passing a '0'
+
+2010-08-02 Maynard Johnson <maynardj@us.ibm.com>
+
+ * utils/opcontrol:
+ * libpp/profile_spec.cpp:
+ * pp/oparchive.cpp: Moved the copying of stats to opcontrol::do_dump_data
+ and removed the unnecessary and confusing message that indicated
+ when overflow stats were not available.
+
+2010-07-13 Maynard Johnson <maynardj@us.ibm.com>
+
+ * events/arm/armv7-common/events: (new)
+ * events/arm/armv7-common/unit_masks: (new)
+ * events/arm/armv7-ca9/events: (new)
+ * events/arm/armv7-ca9/unit_masks: (new)
+ I neglected to do 'cvs add' for these new files in the
+ previous commit; doing so now.
+
+2010-07-01 Will Deacon <will.deacon@arm.com>
+
+ * events/arm/armv7-common/events:
+ * events/arm/armv7-common/unit_masks:
+ * events/arm/armv7/events: factor out ARMv7 common architectural events
+ * events/Makefile.am:
+ * libop/op_cpu_type.c:
+ * libop/op_cpu_type.h:
+ * libop/op_events.c:
+ * utils/ophelp.c: correct usage of core terminology for v7 and MPCore
+ * events/arm/armv7-ca9/events:
+ * events/arm/armv7-ca9/unit_masks: add support for Cortex-A9 events
+
+2010-06-21 John Villalovos <john.l.villalovos@intel.com>
+
+ * libop/op_cpu_type.[h,c]:
+ * libop/op_events.c:
+ * utils/ophelp.c: Add "i386/nehalem" as a valid cpu_type. This will
+ allow the kernel in the future (if desired) to use "i386/nehalem"
+ instead of "i386/core_i7". Core i7 processors can be either Nehalem
+ or Westmere microarchitecture but the "i386/core_i7" cpu_type in
+ Oprofile is only for Nehalem microarchitecture processors.
+
+2010-06-11 William Cohen <wcohen@redhat.com>
+
+ * libregex/stl.pat.in: Avoid machine specific configuration.
+
+2010-05-18 Daniel Hansel <daniel.hansel@linux.vnet.ibm.com>
+
+ * doc/oprofile.xml: Document that only kernel versions 2.6.13 or
+ later provide support for anonymous mapped regions
+
+2010-04-13 Maynard Johnson <maynardj@us.ibm.com>
+
+ * libutil++/bfd_support.cpp: Fix up translate_debuginfo_syms
+ so it doesn't rely on section index values being the same
+ between real image and debuginfo file (to resolve problem
+ reported by Will Cohen on Fedora 12)
+
+2010-03-25 Oliver Schneider <oliver@assarbad.net>
+
+ * libpp/parse_filename.cpp: Catch case where a basic_string::erase
+ error can occur in opreport when parsing an invalid sample file name
+
+2010-03-25 Maynard Johnson <maynardj@us.ibm.com>
+
+ * events/mips/loongson2/events: New File
+ * events/mips/loongson2/unit_masks: New File
+ I neglected to do 'cvs add' for these new two new files
+ back on Nov 25, 2009 when I committed the initial
+ loongson2 support. This change corrects that error.
+
+2010-03-01 Gabor Loki <loki@inf.u-szeged.hu>
+
+ * daemon/opd_pipe.c: Fix memory leak
+ * utils/opcontrol: Fix messages sending method to opd_pipe
+
+2010-01-20 Maynard Johnson <maynardj@us.ibm.com>
+
+ * m4/qt.m4: Fix qt lib check so it works on base 64-bit system
+
+2009-12-07 Robert Richter <robert.richter@amd.com>
+
+ * agents/Makefile.am:
+ * configure.in: adding config option to disable oprofile user check
+
+2009-11-25 Chen Jie <chenj@lemote.com>
+
+ * events/Makefile.am:
+ * events/mips/loongson2/events: New File
+ * events/mips/loongson2/unit_masks: New File
+ * libop/op_cpu_type.c:
+ * libop/op_cpu_type.h:
+ * libop/op_events.c: Add default event for loongson2
+ * libutil/op_cpufreq.c: Add freq estimation for high performance mips processors
+ * utils/ophelp.c: Add support for ICT loongson2
+
+2009-11-25 Maynard Johnson <maynardj@us.ibm.com>
+
+ * configure.in: bump version in AM_INIT_AUTOMAKE to 0.9.7cvs
+
2009-11-24 Maynard Johnson <maynardj@us.ibm.com>
* configure.in: bump version in AM_INIT_AUTOMAKE to 0.9.6
View
@@ -1,49 +0,0 @@
-# Copyright (C) 2007 The Android Open Source Project
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-# If you don't need to do a full clean build but would like to touch
-# a file or delete some intermediate files, add a clean step to the end
-# of the list. These steps will only be run once, if they haven't been
-# run before.
-#
-# E.g.:
-# $(call add-clean-step, touch -c external/sqlite/sqlite3.h)
-# $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/STATIC_LIBRARIES/libz_intermediates)
-#
-# Always use "touch -c" and "rm -f" or "rm -rf" to gracefully deal with
-# files that are missing or have been moved.
-#
-# Use $(PRODUCT_OUT) to get to the "out/target/product/blah/" directory.
-# Use $(OUT_DIR) to refer to the "out" directory.
-#
-# If you need to re-do something that's already mentioned, just copy
-# the command and add it to the bottom of the list. E.g., if a change
-# that you made last week required touching a file and a change you
-# made today requires touching the same file, just copy the old
-# touch step and add it to the end of the list.
-#
-# ************************************************
-# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
-# ************************************************
-
-# For example:
-#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/AndroidTests_intermediates)
-#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/core_intermediates)
-#$(call add-clean-step, find $(OUT_DIR) -type f -name "IGTalkSession*" -print0 | xargs -0 rm -f)
-#$(call add-clean-step, rm -rf $(PRODUCT_OUT)/data/*)
-
-# ************************************************
-# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
-# ************************************************
Oops, something went wrong.

0 comments on commit 7a33c86

Please sign in to comment.