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 require "OS ABI" specification in libraries #489

Merged
merged 1 commit into from
Apr 17, 2016
Merged

Don't require "OS ABI" specification in libraries #489

merged 1 commit into from
Apr 17, 2016

Conversation

aaronpuchert
Copy link
Contributor

The most important system libraries are listed like this by ldconfig:

libc.so.6 (libc6,x86-64, OS ABI: Linux 3.0.0) => /lib64/libc.so.6

But most user-level libraries don't have the "OS ABI" and will not be
found by the regular expression.

libz.so (libc6,x86-64) => /usr/lib64/libz.so

This makes the regular expression more permissive, so that it finds
those libraries as well.

I hope this doesn't cause any regressions.

The most important system libraries are listed like this by ldconfig:

	libc.so.6 (libc6,x86-64, OS ABI: Linux 3.0.0) => /lib64/libc.so.6

But most user-level libraries don't have the "OS ABI" and will not be
found by the regular expression.

	libz.so (libc6,x86-64) => /usr/lib64/libz.so

This makes the regular expression more permissive, so that it finds
those libraries as well.
@4ast
Copy link
Member

4ast commented Apr 17, 2016

lgtm

@drzaeus77
Copy link
Collaborator

@brendangregg this was copied from your uprobe bash script, does it look ok to you?

@brendangregg
Copy link
Member

I think I did this quite differently in uprobe, but I think it's ok anyway.

@drzaeus77 drzaeus77 merged commit d604f35 into iovisor:master Apr 17, 2016
@aaronpuchert aaronpuchert deleted the permissive_regex branch April 18, 2016 00:04
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.

4 participants