Commit Graph

21187 Commits

Author SHA1 Message Date
Bertrand SIMONNET 30c174b7f9 metricsd: Add tests to the default debug build.
This will allow the tests to be run by the continuous builder.

Bug: 26571398
Change-Id: I7eae2761603e83e3d1f003cb3b06582abc4ed24f
Test: Build an eng build. The tests are installed.
2016-01-19 17:58:40 -08:00
Elliott Hughes 19cd398e28 Merge "bootstat: Fix the base includes to be AOSP-friendly." am: d320cbf5ba
am: fe37b0da22

* commit 'fe37b0da22097f52ac50067a146786cb381da0ba':
  bootstat: Fix the base includes to be AOSP-friendly.
2016-01-20 01:41:27 +00:00
Elliott Hughes fe37b0da22 Merge "bootstat: Fix the base includes to be AOSP-friendly."
am: d320cbf5ba

* commit 'd320cbf5ba1b4490700f2ff89af29f28a2e326e3':
  bootstat: Fix the base includes to be AOSP-friendly.
2016-01-20 01:38:44 +00:00
Bertrand Simonnet 26078f3a5f Merge "metricsd: Persist metrics on shutdown." am: 195bbc718b
am: 4101ba7bbc

* commit '4101ba7bbc2989d95d0361c341a268b54e6eac23':
  metricsd: Persist metrics on shutdown.
2016-01-20 01:37:07 +00:00
Mark Salyzyn dcaa0ed94b Merge "logd: prune maintain per-id watermark (part deux)" am: 390100305b
am: 0252f43322

* commit '0252f43322b2997f609fc698e281dbbb2a43404f':
  logd: prune maintain per-id watermark (part deux)
2016-01-20 01:37:01 +00:00
Elliott Hughes d320cbf5ba Merge "bootstat: Fix the base includes to be AOSP-friendly." 2016-01-20 01:29:12 +00:00
James Hawkins eabe08b55e bootstat: Fix the base includes to be AOSP-friendly.
Change-Id: I625cc55b41f5258addf3bb74bcef42063c565465
Bug: 21724738
2016-01-20 01:28:48 +00:00
Bertrand Simonnet 4101ba7bbc Merge "metricsd: Persist metrics on shutdown."
am: 195bbc718b

* commit '195bbc718be30c025a512ad6e1f7eae866ae67cd':
  metricsd: Persist metrics on shutdown.
2016-01-20 01:26:09 +00:00
Mark Salyzyn 0252f43322 Merge "logd: prune maintain per-id watermark (part deux)"
am: 390100305b

* commit '390100305b032d0d6bd42a1797c01b35c714d13f':
  logd: prune maintain per-id watermark (part deux)
2016-01-20 01:26:03 +00:00
Bertrand Simonnet 195bbc718b Merge "metricsd: Persist metrics on shutdown." 2016-01-20 00:58:37 +00:00
Mark Salyzyn 390100305b Merge "logd: prune maintain per-id watermark (part deux)" 2016-01-20 00:50:10 +00:00
Mark Salyzyn 7fd6c5c6f5 logd: prune maintain per-id watermark (part deux)
iterator corruption as we allow mLast to slip through the FIFO

Bug: 23685592
Bug: 26646087
Change-Id: Ifcbaecf390ee47b195c3d823d080c66c15db4530
2016-01-19 16:14:39 -08:00
James Hawkins 0f9caa1ea2 Merge "system/core: Add initial implementation of the bootstat command." am: d0009911de
am: 0e16bdf276

* commit '0e16bdf276cd1ff1363a8a8217f56993c1aacef1':
  system/core: Add initial implementation of the bootstat command.
2016-01-19 23:30:40 +00:00
James Hawkins 0e16bdf276 Merge "system/core: Add initial implementation of the bootstat command."
am: d0009911de

* commit 'd0009911de67f0625df8175bd298fa3863c1879d':
  system/core: Add initial implementation of the bootstat command.
2016-01-19 23:28:51 +00:00
James Hawkins d0009911de Merge "system/core: Add initial implementation of the bootstat command." 2016-01-19 23:23:48 +00:00
James Hawkins abd73e6179 system/core: Add initial implementation of the bootstat command.
The bootstat command enables the measurement and logging of boot time
metrics
for GMS devices.

BUG:21724738
Change-Id: I331456dd38a60fb4ef24a4d5320909dbad30db66
2016-01-19 15:10:38 -08:00
Josh Gao 08550d5cc9 Merge "fastboot: show progress when sending sparse images." am: 6a27196516
am: 69c9274c3e

* commit '69c9274c3ea023a7d3505592fab99f87144a61dd':
  fastboot: show progress when sending sparse images.
2016-01-19 23:08:28 +00:00
Josh Gao 69c9274c3e Merge "fastboot: show progress when sending sparse images."
am: 6a27196516

* commit '6a27196516da6b900f39dc2c601f60452b917e21':
  fastboot: show progress when sending sparse images.
2016-01-19 23:06:32 +00:00
Josh Gao 163b83d01c Merge "fastboot: add .clang-format." am: d8ecde09c7
am: 5210031f9c

* commit '5210031f9c9873bbeca5f63af1ec22620590d2c1':
  fastboot: add .clang-format.
2016-01-19 23:06:32 +00:00
Josh Gao 5210031f9c Merge "fastboot: add .clang-format."
am: d8ecde09c7

* commit 'd8ecde09c717ded786fde49855ba7347bc2b3910':
  fastboot: add .clang-format.
2016-01-19 23:04:07 +00:00
Josh Gao 6a27196516 Merge "fastboot: show progress when sending sparse images." 2016-01-19 23:02:14 +00:00
Josh Gao d8ecde09c7 Merge "fastboot: add .clang-format." 2016-01-19 22:58:38 +00:00
Josh Gao 9da9ac5b2a fastboot: show progress when sending sparse images.
Bug: http://b/25443220
Change-Id: Ica0c88aea2a0661f39ff1415ebba464c037651da
2016-01-19 14:50:18 -08:00
Josh Gao cb73db7cd8 fastboot: add .clang-format.
Change-Id: Iacad00adfa3948118543d680651814b3c8c42858
2016-01-19 14:49:45 -08:00
Christopher Ferris df69064892 Merge "Allow setting an arbitrary alignment for an entry." am: ad12df20e9
am: 5633ccf042

* commit '5633ccf042f76a894fa31fe1579846ac516fa60c':
  Allow setting an arbitrary alignment for an entry.
2016-01-19 22:35:06 +00:00
Christopher Ferris 5633ccf042 Merge "Allow setting an arbitrary alignment for an entry."
am: ad12df20e9

* commit 'ad12df20e9094aa1b81c896f75f915f37b0a869b':
  Allow setting an arbitrary alignment for an entry.
2016-01-19 22:33:06 +00:00
Christopher Ferris ad12df20e9 Merge "Allow setting an arbitrary alignment for an entry." 2016-01-19 22:28:02 +00:00
Bertrand SIMONNET d6862317a6 metricsd: Persist metrics on shutdown.
When metricsd receives a SIGTERM signal (on system shutdown for
example), save the metrics to disk before exiting.

Bug: 26184202
Test: Start metricsd. Log a metric sample. Stop metricsd. The metric is
saved to disk.

Change-Id: Ib224efa8837130393fac5d06fa80d320263cfc84
2016-01-19 14:04:25 -08:00
Christopher Ferris 5e9f3d44a3 Allow setting an arbitrary alignment for an entry.
The current code only allows the creation of an entry that is 32 bit
aligned.

Bug: 25446938

Change-Id: I6c924df12ef2bc067b3de7789257af7e3db7e904
2016-01-19 13:55:53 -08:00
Steve Fung b3f35c3842 Merge "crash_reporter: Add README.md" am: 8074b16e3a
am: 2010bd7a22

* commit '2010bd7a22635408c1cfd5b7eb9d0e96497b2e7c':
  crash_reporter: Add README.md
2016-01-19 21:28:40 +00:00
Steve Fung 2010bd7a22 Merge "crash_reporter: Add README.md"
am: 8074b16e3a

* commit '8074b16e3a6053f885921a954f8e510ad7720c67':
  crash_reporter: Add README.md
2016-01-19 21:26:00 +00:00
Steve Fung 8074b16e3a Merge "crash_reporter: Add README.md" 2016-01-19 21:14:28 +00:00
Rubin Xu c43b47a31c Merge "Add logd security buffer tag types and string write API." am: 95d1bd2421
am: 7fa35356a8

* commit '7fa35356a845ee301c442e51e35c5690c35e54d5':
  Add logd security buffer tag types and string write API.
2016-01-19 20:55:00 +00:00
Rubin Xu 7fa35356a8 Merge "Add logd security buffer tag types and string write API."
am: 95d1bd2421

* commit '95d1bd2421385b6ad8e3a9df985b100bb3c328af':
  Add logd security buffer tag types and string write API.
2016-01-19 20:52:10 +00:00
Rubin Xu 95d1bd2421 Merge "Add logd security buffer tag types and string write API." 2016-01-19 20:40:16 +00:00
Bertrand Simonnet 064bc94b0a Merge "metricsd: Persist the metrics to disk periodically." am: 818f757383
am: 72fc3b6cb9

* commit '72fc3b6cb9b64d384749c856cb50935f56c4363d':
  metricsd: Persist the metrics to disk periodically.
2016-01-19 19:50:23 +00:00
Bertrand Simonnet 569f9c5e2d Merge "metricsd: Cleanup on TERM signal." am: 90bfc8035b
am: ab196259d0

* commit 'ab196259d0893d69617506c0c365a9e54613d2f6':
  metricsd: Cleanup on TERM signal.
2016-01-19 19:50:15 +00:00
Bertrand Simonnet 72fc3b6cb9 Merge "metricsd: Persist the metrics to disk periodically."
am: 818f757383

* commit '818f757383c056d5970c8a205700c390ccc4292e':
  metricsd: Persist the metrics to disk periodically.
2016-01-19 19:26:55 +00:00
Bertrand Simonnet ab196259d0 Merge "metricsd: Cleanup on TERM signal."
am: 90bfc8035b

* commit '90bfc8035b8a188c0af9f74ad54b73bf8ac198f4':
  metricsd: Cleanup on TERM signal.
2016-01-19 19:26:49 +00:00
Bertrand Simonnet 818f757383 Merge "metricsd: Persist the metrics to disk periodically." 2016-01-19 19:09:57 +00:00
Bertrand Simonnet 90bfc8035b Merge "metricsd: Cleanup on TERM signal." 2016-01-19 19:09:45 +00:00
Nick Kralevich 974bf66088 Merge "logging: avoid unnecessary printfs" am: 542a511f87
am: 5644112b7e

* commit '5644112b7e05372fcda105fa621630c12ec29a6e':
  logging: avoid unnecessary printfs
2016-01-19 18:10:37 +00:00
Nick Kralevich 5644112b7e Merge "logging: avoid unnecessary printfs"
am: 542a511f87

* commit '542a511f870f33215ec3b4773fc7a85ac9134f26':
  logging: avoid unnecessary printfs
2016-01-19 18:08:47 +00:00
Nick Kralevich 542a511f87 Merge "logging: avoid unnecessary printfs" 2016-01-19 18:04:10 +00:00
Elliott Hughes 7c452f80f6 Merge "Remove unused cruft from <log/log.h>." am: 6acf7663c2
am: b22c169f20

* commit 'b22c169f20d8887f214f1b99a8e4b54215ff5558':
  Remove unused cruft from <log/log.h>.
2016-01-19 17:33:06 +00:00
Elliott Hughes b22c169f20 Merge "Remove unused cruft from <log/log.h>."
am: 6acf7663c2

* commit '6acf7663c27db80eac9a9156916dc39edee71c33':
  Remove unused cruft from <log/log.h>.
2016-01-19 17:30:33 +00:00
Elliott Hughes 6acf7663c2 Merge "Remove unused cruft from <log/log.h>." 2016-01-19 17:27:09 +00:00
Rubin Xu d545d2930e Add logd security buffer tag types and string write API.
Bug: 22860162
Change-Id: I1cceed3462eaebdd8208abf101b127f27f0023a7
2016-01-19 17:13:28 +00:00
Nick Kralevich 5db8d6aafa logging: avoid unnecessary printfs
Don't spend CPU cycles formatting a bunch of strings if we're
just going to throw them away later. Maybe make booting faster.

Change-Id: I4d8eb99fb3fa873ca91cf776933d0ad01988abf5
2016-01-16 16:20:24 -08:00
Christopher Ferris a9c48fdb28 Merge "Modify tests to use executable memory." am: 13655cdc77
am: 4352ee87fd

* commit '4352ee87fd74b931d4b58192fb8974e91aa899d0':
  Modify tests to use executable memory.
2016-01-16 19:34:51 +00:00