Skip to content

Conversation

@nverke
Copy link
Contributor

@nverke nverke commented Sep 23, 2022

I added some things to the hexagon pytest plugin to make working on hexagon a little bit easier sometimes.

--hexagon-debug will now copy all of the logcat logs for the time period of the test and copy them back to your device.
--sysmon-profile will start the Sysmon Profiler before your run, shut it down afterwards and then copy the data back and parse it to html for you.

cc @mehrdadh cc @supersat

@nverke nverke changed the title [Hexagon] Add feature to copy logcat to --hexagon-debug and add new --sysmon-profile option to run sysmon profiler during the test. [Hexagon] Add feature to copy logcat to --hexagon-debug and add new --sysmon-profile option to run sysmon profiler during the test Oct 7, 2022
@nverke
Copy link
Contributor Author

nverke commented Oct 7, 2022

@tvm-bot rerun

@github-actions github-actions bot requested a review from mehrdadh October 7, 2022 16:06
@supersat
Copy link
Contributor

supersat commented Oct 7, 2022

I would also run logcat -c before execution if --hexagon-debug is specified to clear out old logcat entries from previous runs.

@nverke
Copy link
Contributor Author

nverke commented Oct 10, 2022

I would also run logcat -c before execution if --hexagon-debug is specified to clear out old logcat entries from previous runs.

I usually dont want to have this delete old logs because I sometimes find them useful. The logcat scanner should be able to accurately pickup the right logs for just the run. Ill add it as a separate option that can be used if desired.

@nverke
Copy link
Contributor Author

nverke commented Oct 10, 2022

Added the clear-logcat option and moved to the launcher as @mehrdadh requested.

@nverke
Copy link
Contributor Author

nverke commented Oct 11, 2022

@tvm-bot rerun

1 similar comment
@nverke
Copy link
Contributor Author

nverke commented Oct 17, 2022

@tvm-bot rerun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants