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

Allow passing random extra args to simpleperf #514

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

digantdesai
Copy link
Contributor

Summary:

  • Works only with Simpleperf (cpu) for now, silently ignored by other profilers
  • The extra_args field defaults to an empty string, and goes to the simpleperf cmdline
    like this, simpleperf record -g -o <filemame> <extra_args> <app cmdline>
  • No actual testing is done on the incoming string, it is passed to simple perf as is for now

Reviewed By: axitkhurana

Differential Revision: D37830096

Summary:
* Works only with Simpleperf (cpu) for now, silently ignored by other profilers
* The `extra_args` field defaults to an empty string, and goes to the simpleperf cmdline
 like this, `simpleperf record -g -o <filemame> <extra_args> <app cmdline>`
* No actual testing is done on the incoming string, it is passed to simple perf as is for now

Reviewed By: axitkhurana

Differential Revision: D37830096

fbshipit-source-id: faa841bc4720af08992c204fe7dd6caf466839fc
@facebook-github-bot
Copy link

This pull request was exported from Phabricator. Differential Revision: D37830096

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

Successfully merging this pull request may close these issues.

2 participants