Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Simpleperf binary that WA uses instead of the on device one #1205

Closed
hosunhc opened this issue Feb 13, 2023 · 1 comment
Closed

Add Simpleperf binary that WA uses instead of the on device one #1205

hosunhc opened this issue Feb 13, 2023 · 1 comment
Labels

Comments

@hosunhc
Copy link

hosunhc commented Feb 13, 2023

Can I add another simpleperf binary for WA to use? It's nearly identical with the original with one change that I needed personally.
I know that to add a new instrument, I can do so by adding a new plugin into the workload_automation directory, but since this simpleperf is identical in terms of all the inputs, I wanted to just tell WA to install this binary onto the target device and use it instead of the one in the target.

@marcbonnici
Copy link
Contributor

The installation of the simpleperf binary in this case is handled by devlib rather than WA itself. The collector attempts to discover whether the binary is already present on the device and only installs it if it cannot be found (or is forced).
So if it's an option, I think the easiest way could be to install your custom binary to the device directly in /data/local/tmp/bin (by default) and let devliv pick it up from there?

@hosunhc hosunhc closed this as completed Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants