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

Don't strip objective-c categories #51

Conversation

KingOfBrian
Copy link
Contributor

Just playing around with the flame graph and noticed that objective-c categories were being stripped. This is a simple regex fix that ensures that the class delimiter (::) for C++ is present before stripping the arguments and template information. Here's an example objective-c category:

UIKit`-[UIView(Internal) _addSubview:positioned:relativeTo:]+0x644

This was getting stripped to:

UIKit`-[UIView

brendangregg added a commit that referenced this pull request Mar 29, 2015
…c-categories

Don't strip objective-c categories
@brendangregg brendangregg merged commit 03d78f4 into brendangregg:master Mar 29, 2015
@brendangregg
Copy link
Owner

thanks

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

Successfully merging this pull request may close these issues.

2 participants