Skip to content
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.

Wrong parameter to trace a process #37

Closed
dcfranca opened this issue Oct 21, 2016 · 2 comments
Closed

Wrong parameter to trace a process #37

dcfranca opened this issue Oct 21, 2016 · 2 comments

Comments

@dcfranca
Copy link

In the README.md file it's mentioned a parameter (-t) to trace a process from start to finish.
ex: pyflame -t py.test tests/

However, if I try to run this command I get a message of "Invalid option".
And if I look into the source code there's no mention to a "-t" parameter, even in the first commit of pyflame.cc: 0a507c0

I guess this should be somewhere in those lines, isn't it? https://github.com/uber/pyflame/blob/master/src/pyflame.cc#L118

So I guess either the README should be updated or the source code, or am I missing something?.

@eklitzke
Copy link
Collaborator

The option was added in c83412c . It's on this line: https://github.com/uber/pyflame/blob/master/src/pyflame.cc#L122

Are you sure you're up to date with master?

@dcfranca
Copy link
Author

ohh, my mistake.
Actually I cloned my fork by accident instead of uber's... which was outdated.
Even the link I posted with the line was with the argument there doh :)

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

No branches or pull requests

2 participants