Commit Graph

16622 Commits

Author SHA1 Message Date
Christopher Ferris 8ec0ba64b9 am 0ee72c10: am 711e776c: Merge "Display the map offset for each frame."
* commit '0ee72c10eef5ea550f1fb9a5e65ec3e755bfc883':
  Display the map offset for each frame.
2015-08-20 21:55:08 +00:00
Christopher Ferris 0ee72c10ee am 711e776c: Merge "Display the map offset for each frame."
* commit '711e776cc21d7a16a953abbb5734dbe8db3fd8f2':
  Display the map offset for each frame.
2015-08-20 21:47:05 +00:00
Christopher Ferris 2d651eda49 am e0ab2322: Display the map offset for each frame.
* commit 'e0ab23223a1c3110c9550136b8a119b4c30ec066':
  Display the map offset for each frame.
2015-08-20 21:44:21 +00:00
Christopher Ferris 711e776cc2 Merge "Display the map offset for each frame." 2015-08-20 21:10:03 +00:00
Christopher Ferris 600017332c Display the map offset for each frame.
The dlopen of a shared library in an apk results in large map offsets.
Unfortunately, the current way that the frame data is printed, it's
impossible to tell what the relative pc is relative to. With the
addition of the offset, it's possible to figure out what the relative
pc actually references.

Bug: 23348999
(cherry picked from commit e0ab23223a)

Change-Id: I950f92c1cb29ee05eed777f47453efa03318cf3e
2015-08-20 14:07:30 -07:00
Bertrand Simonnet d227679b35 am 6b8fd10a: am 300b1a6b: Merge "metricsd: Don\'t crash when some metadata is missing."
* commit '6b8fd10a79b3254662a73016a09de2099a15d0f5':
  metricsd: Don't crash when some metadata is missing.
2015-08-20 20:34:25 +00:00
Bertrand Simonnet 6b8fd10a79 am 300b1a6b: Merge "metricsd: Don\'t crash when some metadata is missing."
* commit '300b1a6b47bde407b5117cab55fa9d777825d97d':
  metricsd: Don't crash when some metadata is missing.
2015-08-20 20:27:29 +00:00
Bertrand Simonnet 300b1a6b47 Merge "metricsd: Don't crash when some metadata is missing." 2015-08-20 20:22:15 +00:00
Bertrand Simonnet 6041394328 am 2888eec0: am 565d20ef: Merge "metricsd: Enable https by default."
* commit '2888eec0bdf3186dce7d26a2c5d141d6fae4c6a5':
  metricsd: Enable https by default.
2015-08-20 19:32:40 +00:00
Mark Salyzyn 982bbea061 am 2a04ec35: am 07ee12aa: Merge "logd: worst uid record watermark"
* commit '2a04ec3546a7f1d82b927dd2f49fe46f13f5fe2c':
  logd: worst uid record watermark
2015-08-20 19:32:37 +00:00
Mark Salyzyn 76cbf5f37f am 44a7da74: am 2c1b8f9e: Merge changes Ib0530b9d,I981d9fa6,Icc60dd06,I902ba6b4
* commit '44a7da74bd841eee680870433c1baf82325fb51e':
  logd: log buffer switch to std::list
  logd: white and black switch to std::list
  logd: logtimes switch to std::list
  logd: prune 10% or 256 entries max
2015-08-20 19:32:33 +00:00
Elliott Hughes 425702fa23 am 89b26e28: am e03d0322: Merge "fastboot should say which device it\'s waiting for."
* commit '89b26e28a87d86b501ecfc1b4a9fbfb8e955a0ae':
  fastboot should say which device it's waiting for.
2015-08-20 19:31:34 +00:00
Elliott Hughes 338c8669f7 am 2a2c2036: am e728eb91: Merge "Get fastboot working on OS X"
* commit '2a2c2036a75f1dcee9a4a65a03e646b05df76ab4':
  Get fastboot working on OS X
2015-08-20 19:31:33 +00:00
Bertrand Simonnet 2888eec0bd am 565d20ef: Merge "metricsd: Enable https by default."
* commit '565d20ef0422fc3ed2f695306d84c14945ddd890':
  metricsd: Enable https by default.
2015-08-20 19:06:02 +00:00
Bertrand Simonnet 565d20ef04 Merge "metricsd: Enable https by default." 2015-08-20 18:58:53 +00:00
Bertrand SIMONNET 1f14655b27 metricsd: Don't crash when some metadata is missing.
Instead of crashing when the build target id is missing, simply print a
useful warning and discard the log.

BUG: 23351227

Change-Id: I3abf3063d6440b07103db29938eec5071ea8f60b
2015-08-20 11:57:50 -07:00
Steve Fung 6c34c2576e crash_reporter: Relicense as Apache 2.
MODULE_LICENSE_BSD and NOTICE were removed as the license is no longer
different from the rest of system/core.

Bug: 23368756
Change-Id: I31e48eb7c3d153c7c5ec4f694c61474dedac2eeb
2015-08-20 18:54:43 +00:00
Christopher Ferris e0ab23223a Display the map offset for each frame.
The dlopen of a shared library in an apk results in large map offsets.
Unfortunately, the current way that the frame data is printed, it's
impossible to tell what the relative pc is relative to. With the
addition of the offset, it's possible to figure out what the relative
pc actually references.

Bug: 23348999
Change-Id: Ia51b669ea3f810158cfd0d71d9ae89bf9a3170d3
2015-08-20 11:16:54 -07:00
Mark Salyzyn 2a04ec3546 am 07ee12aa: Merge "logd: worst uid record watermark"
* commit '07ee12aafc9ed0cbadbfa3c29a31c9854e07b4b9':
  logd: worst uid record watermark
2015-08-20 17:41:05 +00:00
Bertrand SIMONNET 10fe60d36c metricsd: Enable https by default.
libchromeos was updated to set the certificates path correctly, we can
enable https by default.

BUG: 23016355
Change-Id: I88393df4a6892055f4865d86de78ba3a2a5b45e8
2015-08-20 10:40:55 -07:00
Mark Salyzyn 07ee12aafc Merge "logd: worst uid record watermark" 2015-08-20 17:35:19 +00:00
Mark Salyzyn 73160acc5c logd: switch asprintf to std::string
Bug: 23350706
Change-Id: I715cdd4563a09de3680081947a3439f0cac623be
2015-08-20 10:32:16 -07:00
Mark Salyzyn decbcd9c41 logd: statistics switch to std::string
Bug: 23350706
Change-Id: I5564898c4f67b8fcc43cee64604855f789409482
2015-08-20 10:25:57 -07:00
Mark Salyzyn b332f1c427 logd: white and black switch to std::string
Bug: 23350706
Change-Id: I92f21aee0a9702f63e8465851d0f35007b0469a7
2015-08-20 10:25:57 -07:00
Mark Salyzyn c892ea3fa8 logd: worst uid record watermark
Hold on to last worst uid watermark and bypass a spike to O(n*n*x)
(n=samples, x=number of spammers) wrt chatty trimming.

Bug: 23327476
Change-Id: I9f21ce95e969b67e576417a760f75c4d86acf364
2015-08-20 10:25:57 -07:00
Mark Salyzyn 44a7da74bd am 2c1b8f9e: Merge changes Ib0530b9d,I981d9fa6,Icc60dd06,I902ba6b4
* commit '2c1b8f9e200abdbc42addd33829616393067b96a':
  logd: log buffer switch to std::list
  logd: white and black switch to std::list
  logd: logtimes switch to std::list
  logd: prune 10% or 256 entries max
2015-08-20 17:18:51 +00:00
Mark Salyzyn 2c1b8f9e20 Merge changes Ib0530b9d,I981d9fa6,Icc60dd06,I902ba6b4
* changes:
  logd: log buffer switch to std::list
  logd: white and black switch to std::list
  logd: logtimes switch to std::list
  logd: prune 10% or 256 entries max
2015-08-20 17:12:05 +00:00
Mark Salyzyn 94a89c42fe logd: log buffer switch to std::list
Bug: 23350706
Bug: 23327476
Change-Id: Ib0530b9dd5842c6d05c84d7a66f2531c97461067
2015-08-20 08:36:13 -07:00
Mark Salyzyn e0ed16c6db logd: white and black switch to std::list
Bug: 23350706
Change-Id: I981d9fa63a0d87eb309485cca93cfc44fc0506cc
2015-08-20 08:36:08 -07:00
Mark Salyzyn 98dca2d0b1 logd: logtimes switch to std::list
Bug: 23350706
Change-Id: Icc60dd06119ea20a22610644ff880d5135363aba
2015-08-20 08:36:03 -07:00
Mark Salyzyn b39ed0c992 logd: prune 10% or 256 entries max
Bug: 22351810
Bug: 23327476
Change-Id: I902ba6b431d8b7cee2d65ee2f76e9f7c4f30b152
2015-08-20 08:35:45 -07:00
Steve Fung f085a1f6b3 crash_reporter: Add Android.mk
This builds:
* crash_reporter: Client for collecting crash data.
* crash_sender: Installs the script for sending crash reports to the server.
* warn_collector: Flex client for monitoring /var/log/messages for kernel
  warnings.
* init.crash_reporter.rc: Init script for setting up crash reporting.
* crash_reporter_logs.conf: Conf file for handling core dumps.
* Unit tests for the different crash collectors.  These currently build, but
  not all of them pass as the crash reporter client isn't properly configured
  yet.

Bug: 22486906
Change-Id: I9337a566f35955d1d41ae94d535eb9e9730bbeb1
2015-08-19 18:34:57 -07:00
Elliott Hughes 89b26e28a8 am e03d0322: Merge "fastboot should say which device it\'s waiting for."
* commit 'e03d0322db8ed123254482d0b0905646b16ad71e':
  fastboot should say which device it's waiting for.
2015-08-20 00:57:41 +00:00
Elliott Hughes 2a2c2036a7 am e728eb91: Merge "Get fastboot working on OS X"
* commit 'e728eb9150f38fc5c6f8324ef785a152344973a8':
  Get fastboot working on OS X
2015-08-20 00:53:08 +00:00
Elliott Hughes e03d0322db Merge "fastboot should say which device it's waiting for." 2015-08-20 00:52:50 +00:00
Elliott Hughes b46964f3c9 fastboot should say which device it's waiting for.
Change-Id: Ia8a04b2727983cb05a9a3e85d9a9586b15c71600
2015-08-19 17:49:45 -07:00
Elliott Hughes e728eb9150 Merge "Get fastboot working on OS X" 2015-08-20 00:44:30 +00:00
Daniel Erat f10e1ed1b2 am 2e406f64: am 9a995b2c: Merge "Use __ANDROID__ instead of __BRILLO__."
* commit '2e406f64bd01395977c66c4afc518b61841f507c':
  Use __ANDROID__ instead of __BRILLO__.
2015-08-20 00:01:31 +00:00
Daniel Erat 2e406f64bd am 9a995b2c: Merge "Use __ANDROID__ instead of __BRILLO__."
* commit '9a995b2c8fe4ee0567e850f7f63bfd661974f6e7':
  Use __ANDROID__ instead of __BRILLO__.
2015-08-19 23:55:00 +00:00
Daniel Erat 9a995b2c8f Merge "Use __ANDROID__ instead of __BRILLO__." 2015-08-19 23:47:47 +00:00
Daniel Erat 69200d9191 Use __ANDROID__ instead of __BRILLO__.
__ANDROID__ is defined automatically by the toolchain.

Bug: 23358460
Change-Id: Ib122bfc86a7af6ab6b0b1fcc29dc671e44049524
2015-08-19 17:38:45 -06:00
Steve Fung 61c677c8ca am cbc6b915: am d4555689: Merge "crash_reporter: Enable core dumps"
* commit 'cbc6b915c90b31c2c1cc9a56d23280ac51f6d329':
  crash_reporter: Enable core dumps
2015-08-19 22:43:12 +00:00
Steve Fung cbc6b915c9 am d4555689: Merge "crash_reporter: Enable core dumps"
* commit 'd45556895c957e3f50d93041207acf4b17433ec5':
  crash_reporter: Enable core dumps
2015-08-19 22:36:42 +00:00
Bertrand Simonnet 6905b11291 am cb1e29a9: am 0172dea6: Merge "metrics: Add init script for metrics_daemon."
* commit 'cb1e29a940801a06aed47335494cbfbe5e2921a8':
  metrics: Add init script for metrics_daemon.
2015-08-19 22:35:55 +00:00
Steve Fung d45556895c Merge "crash_reporter: Enable core dumps" 2015-08-19 22:32:38 +00:00
Yusuke Sato 2ef82cffad am d1b11a04: am e656be33: Merge "Add |opts| argument to android_fork_execvp_ext"
* commit 'd1b11a04903be74ba6a47307d8c3ef2731e3f4ab':
  Add |opts| argument to android_fork_execvp_ext
2015-08-19 22:31:08 +00:00
Bertrand Simonnet cb1e29a940 am 0172dea6: Merge "metrics: Add init script for metrics_daemon."
* commit '0172dea6eee180ae7492c1b85113222dcbabf61b':
  metrics: Add init script for metrics_daemon.
2015-08-19 22:28:53 +00:00
Bertrand Simonnet 0172dea6ee Merge "metrics: Add init script for metrics_daemon." 2015-08-19 22:21:26 +00:00
Matt Reimer 81c24f6f86 Get fastboot working on OS X
Get fastboot working on OS X by calling USBDeviceOpen() before
calling SetConfiguration().

Change-Id: I5034721d5f33ef18273153ff40eb940baa8261cd
2015-08-19 14:46:17 -07:00
Yusuke Sato d1b11a0490 am e656be33: Merge "Add |opts| argument to android_fork_execvp_ext"
* commit 'e656be3313fa30adf9be149584d2005a7824f763':
  Add |opts| argument to android_fork_execvp_ext
2015-08-19 20:30:49 +00:00