Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

handle C++ function names better #3

Merged
merged 1 commit into from Mar 1, 2012

Conversation

Projects
None yet
2 participants
Contributor

davepacheco commented Mar 1, 2012

This change does two things:

  • Escapes XML meta-characters while emitting the SVG. You need this because C++ function names can have an "&".
  • Removes function and template arguments, as long as they're not one of the first two characters of the function name. This exception exists because the Node ustack helper emits lines with "<<" and "((" prefixes.

@brendangregg brendangregg added a commit that referenced this pull request Mar 1, 2012

@brendangregg brendangregg Merge pull request #3 from davepacheco/master
handle C++ function names better
213de61

@brendangregg brendangregg merged commit 213de61 into brendangregg:master Mar 1, 2012

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