Skip to content

Allow passing random extra args to simpleperf#514

Open
digantdesai wants to merge 1 commit intofacebook:mainfrom
digantdesai:export-D37830096
Open

Allow passing random extra args to simpleperf#514
digantdesai wants to merge 1 commit intofacebook:mainfrom
digantdesai:export-D37830096

Conversation

@digantdesai
Copy link
Copy Markdown
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
Copy Markdown

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