d0dd6c7cefb23e0f521aac533087281be2c30bdd |
|
22-Mar-2018 |
Sami Kyostila <skyostil@google.com> |
statsd: Pass alert and config id to Perfetto When triggering a Perfetto trace, pass the alert and config id to the perfetto command line tool to record them into the trace. This lets us correlate Perfetto traces with statsd alerts. Bug: 73627502 Test: Manual Change-Id: I301ee5e5e8bdb83d08e8d55b994c15a6541a92f2 Merged-In: I301ee5e5e8bdb83d08e8d55b994c15a6541a92f2 (cherry picked from commit 209a5915dcfe030912dda57df4fb6390385c7de3)
/frameworks/base/cmds/statsd/src/external/Perfetto.h
|
932ececa1674c59a8da9f3e32d2651e781b86fc4 |
|
01-Feb-2018 |
Yangster-mac <yanglu@google.com> |
Alarm: wakes up statsd and notifies the subscribers. Test: manually tested it. Change-Id: Id796a68976aeb1611183023ba4e9c6a8b8c44bb8
/frameworks/base/cmds/statsd/src/external/Perfetto.h
|
e4d44919aa90f16285a9966dcc632c128b932374 |
|
10-Jan-2018 |
Primiano Tucci <primiano@google.com> |
Statsd -> Perfetto integration This CL invokes the perfetto client utility to start the collection of a trace when an anomaly that subscribed to Perfetto is detected. The code simply spawns the /system/bin/perfetto client and passes the trace config via stdin. The client takes care of the dropbox upload. The CollectPerfettoTraceAndUploadToDropbox() function does NOT wait for the full trace collection (in order to avoid blocking statsd) and instead returns immediately after having spawned perfetto. Change-Id: I4f02067bad7a46ede7b6e4841cdcf381c1a4e2a7 Bug: 71795552
/frameworks/base/cmds/statsd/src/external/Perfetto.h
|