breakpad/src/common/linux
digit@chromium.org 593eff42ca Improve ARM CPU info reporting.
This patch improves several things for Linux/ARM:

- Better detection of the number of CPUs on the target
  device. The content of /proc/cpuinfo only matches the
  number of "online" CPUs, which varies over time with
  recent Android devices.

- Reconstruct the CPUID and ELF hwcaps values from
  /proc/cpuinfo, this is useful to better identify
  target devices in minidumps.

- Make minidump_dump display the new information
  in useful ways.

- Write a small helper class to parse /proc/cpuinfo
  and also use it for x86/64.

- Write a small helper class to parse sysfds cpu lists.

- Add a my_memchr() implementation.

- Add unit tests.

Tested on a Nexus S (1 CPU), Galaxy Nexus (2 CPUs)
and a Nexus 4 (4 CPUs).

Review URL: https://breakpad.appspot.com/540003

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1160 4c0a9323-5329-0410-9bdc-e9ce6186880e
2013-04-24 10:06:14 +00:00
..
tests Fix Breakpad unit tests build for Android. 2012-08-23 15:45:01 +00:00
dump_symbols.cc Allow building symbol dumping without STABS support 2013-03-06 15:33:02 +00:00
dump_symbols.h Allow reading just CFI data when reading symbols 2013-03-06 15:32:53 +00:00
dump_symbols_unittest.cc Allow reading just CFI data when reading symbols 2013-03-06 15:32:53 +00:00
eintr_wrapper.h Linux: Fix a bunch of clang errors from not handling return values. 2012-07-24 00:15:53 +00:00
elf_core_dump.cc Add utilities for processing Linux core dump files. 2012-01-07 02:25:22 +00:00
elf_core_dump.h Improve Android support 2012-08-21 14:34:48 +00:00
elf_core_dump_unittest.cc Cleaning up google-breakpad source code of signed-unsigned comparison warnings 2012-11-21 01:33:08 +00:00
elf_gnu_compat.h Fix build on Android - put the missing NT_GNU_BUILD_ID #define in elf_gnu_compat.h and use it where needed. 2013-04-10 03:33:09 +00:00
elf_symbols_to_module.cc
elf_symbols_to_module.h
elf_symbols_to_module_unittest.cc This change allows compiling the google-breakpad code using a global ::string class instead of std::string. For more details take a look at common/using_std_string.h 2012-06-28 22:46:01 +00:00
elfutils-inl.h Rework dump_symbols.cc using templates and traits classes to handle cross-word-size symbol dumping 2012-07-18 17:55:08 +00:00
elfutils.cc Try to find a build-id through PT_NOTE program headers 2013-04-04 16:24:52 +00:00
elfutils.h Try to find a build-id through PT_NOTE program headers 2013-04-04 16:24:52 +00:00
file_id.cc Fix build on Android - put the missing NT_GNU_BUILD_ID #define in elf_gnu_compat.h and use it where needed. 2013-04-10 03:33:09 +00:00
file_id.h
file_id_unittest.cc Fix build on Android - put the missing NT_GNU_BUILD_ID #define in elf_gnu_compat.h and use it where needed. 2013-04-10 03:33:09 +00:00
google_crashdump_uploader.cc This change allows compiling the google-breakpad code using a global ::string class instead of std::string. For more details take a look at common/using_std_string.h 2012-06-28 22:46:01 +00:00
google_crashdump_uploader.h This change allows compiling the google-breakpad code using a global ::string class instead of std::string. For more details take a look at common/using_std_string.h 2012-06-28 22:46:01 +00:00
google_crashdump_uploader_test.cc This change allows compiling the google-breakpad code using a global ::string class instead of std::string. For more details take a look at common/using_std_string.h 2012-06-28 22:46:01 +00:00
guid_creator.cc Use stdint types everywhere 2013-03-06 14:04:42 +00:00
guid_creator.h
http_upload.cc This change allows compiling the google-breakpad code using a global ::string class instead of std::string. For more details take a look at common/using_std_string.h 2012-06-28 22:46:01 +00:00
http_upload.h This change allows compiling the google-breakpad code using a global ::string class instead of std::string. For more details take a look at common/using_std_string.h 2012-06-28 22:46:01 +00:00
ignore_ret.h Linux: Fix a bunch of clang errors from not handling return values. 2012-07-24 00:15:53 +00:00
libcurl_wrapper.cc This change allows compiling the google-breakpad code using a global ::string class instead of std::string. For more details take a look at common/using_std_string.h 2012-06-28 22:46:01 +00:00
libcurl_wrapper.h This change allows compiling the google-breakpad code using a global ::string class instead of std::string. For more details take a look at common/using_std_string.h 2012-06-28 22:46:01 +00:00
linux_libc_support.cc Improve ARM CPU info reporting. 2013-04-24 10:06:14 +00:00
linux_libc_support.h Improve ARM CPU info reporting. 2013-04-24 10:06:14 +00:00
linux_libc_support_unittest.cc Improve ARM CPU info reporting. 2013-04-24 10:06:14 +00:00
memory_mapped_file.cc Use stdint types everywhere 2013-03-06 14:04:42 +00:00
memory_mapped_file.h
memory_mapped_file_unittest.cc Cleaning up google-breakpad source code of signed-unsigned comparison warnings 2012-11-21 01:33:08 +00:00
safe_readlink.cc Replace readlink calls with a safer version that guarantees NULL-termination. 2011-12-21 17:51:40 +00:00
safe_readlink.h Replace readlink calls with a safer version that guarantees NULL-termination. 2011-12-21 17:51:40 +00:00
safe_readlink_unittest.cc Cleaning up google-breakpad source code of signed-unsigned comparison warnings 2012-11-21 01:33:08 +00:00
synth_elf.cc Fix build on Android - put the missing NT_GNU_BUILD_ID #define in elf_gnu_compat.h and use it where needed. 2013-04-10 03:33:09 +00:00
synth_elf.h Support generic Elf notes, with unit tests 2013-04-04 16:24:44 +00:00
synth_elf_unittest.cc Support generic Elf notes, with unit tests 2013-04-04 16:24:44 +00:00