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

--out doesn't affect traced subprograms. #285

Open
mstewartgallus opened this issue Aug 21, 2014 · 2 comments
Open

--out doesn't affect traced subprograms. #285

mstewartgallus opened this issue Aug 21, 2014 · 2 comments
Labels

Comments

@mstewartgallus
Copy link

Suppose I fork a child worker. Apitrace will process to create a new trace for that child. However, my option of --out won't affect it. This is especially important when the subprocess changes directories.

@jrfonseca
Copy link
Member

--out option will affect the first program that uses GL.

You can pass a full path to it BTW.

I think you'll need be more precise on what exactly would like to happen here.

@mstewartgallus
Copy link
Author

I think an approach like Valgrind uses should work and that the output option should be a template and not a single string.

--xml-file=

Specifies that Valgrind should send its XML output to the specified
file. It must be used in conjunction with --xml=yes. Any %p or %q
sequences appearing in the filename are expanded in exactly the same
way as they are for --log-file. See the description of --log-file
for details.

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