Fix trace.py for library filenames containing colons (#1252)
authorvkhromov <valery.khromov@gmail.com>
Fri, 14 Jul 2017 19:42:29 +0000 (20:42 +0100)
committerSasha Goldshtein <goldshtn@gmail.com>
Fri, 14 Jul 2017 19:42:29 +0000 (22:42 +0300)
commit5a2b39e5540c58730ab3e2af40974f4f8f2bb312
tree53c18294a32235feb091bfab3f5e0d841ada8aca
parent4180333ce281a87bf31350c8d59d8cd1d6b43219
Fix trace.py for library filenames containing colons (#1252)

`trace.py` parses a probe using the colon as a separator.  As a result, it
fails to create a uprobe for binary/library with a filename containing colons.

This diff fixes that issue with `trace.py`.  It requires a kernel with
https://lkml.org/lkml/2017/1/13/585 merged to work properly, otherwise
`trace.py` still fails for create uprobes.
tools/trace.py