Generalized profilers for run_remote_test.sh.

Now profilers other than cros_perf can be added to autotests by passing in
--profiler="<profiler>".

Arguments to the profiler are passed like this:

--profiler_args="<arguments to the profiler>"

BUG=chromium-os:25188
TEST=./run_remote_tests.sh --board=lumpy --remote=172.18.111.244
platform_AesThroughput --profile --profiler="pgo"

Change-Id: I60fc3d4daf6704bdf827e18d1717909fd32f6dc6
Reviewed-on: https://gerrit.chromium.org/gerrit/19341
Reviewed-by: Chris Sosa <sosa@chromium.org>
Tested-by: asharif <asharif@chromium.org>
Commit-Ready: asharif <asharif@chromium.org>
1 file changed