diff options
author | David Sharp <dhsharp@chromium.org> | 2015-08-20 15:05:27 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-08-24 20:25:41 +0000 |
commit | d0aed8b1babb09dd08fa253590409e7a904400da (patch) | |
tree | 6a1eb17566722ffd5838b4bb1e2247d197078b83 | |
parent | 722b2f85e089a49a0f022e34ef2ba6cc3d5ceae4 (diff) | |
download | system_api-d0aed8b1babb09dd08fa253590409e7a904400da.tar.gz |
service_constants: Add GetPerfOutput method
This method will replace both GetRandomPerfOutput and the earlier
precedecessor GetRichPerfData. Like GetRandomPerfOutput, GetPerfOutput
will run either `perf record` or `perf stat` and return the data as a
serialized protobuf. Instead of randomly selecting a command, it will
run the command specified.
TEST=compiles
BUG=none
Change-Id: I4a0399bd48ec4b69c24ad83418380bca42c95837
Reviewed-on: https://chromium-review.googlesource.com/294751
Reviewed-by: Simon Que <sque@chromium.org>
Reviewed-by: Dan Erat <derat@chromium.org>
Commit-Queue: David Sharp <dhsharp@chromium.org>
Tested-by: David Sharp <dhsharp@chromium.org>
-rw-r--r-- | dbus/service_constants.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dbus/service_constants.h b/dbus/service_constants.h index 420cbdd..04063c9 100644 --- a/dbus/service_constants.h +++ b/dbus/service_constants.h @@ -1907,6 +1907,7 @@ const char kGetDebugLogs[] = "GetDebugLogs"; const char kGetInterfaces[] = "GetInterfaces"; const char kGetModemStatus[] = "GetModemStatus"; const char kGetNetworkStatus[] = "GetNetworkStatus"; +const char kGetPerfOutput[] = "GetPerfOutput"; const char kGetRandomPerfOutput[] = "GetRandomPerfOutput"; const char kGetRichPerfData[] = "GetRichPerfData"; const char kGetRoutes[] = "GetRoutes"; |