Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bcc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
bcc
Commits
fdbebeeb
Commit
fdbebeeb
authored
8 years ago
by
Brendan Gregg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trace: allow tracing of functions containing a dot (golang)
parent
5fe89aa4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
tools/trace.py
tools/trace.py
+2
-0
No files found.
tools/trace.py
View file @
fdbebeeb
...
...
@@ -76,6 +76,8 @@ class Probe(object):
self
.
probe_num
=
Probe
.
probe_count
self
.
probe_name
=
"probe_%s_%d"
%
\
(
self
.
_display_function
(),
self
.
probe_num
)
if
self
.
probe_name
.
find
(
"."
)
>
0
:
# for golang
self
.
probe_name
=
self
.
probe_name
.
replace
(
"."
,
"_DOT_"
)
def
__str__
(
self
):
return
"%s:%s:%s FLT=%s ACT=%s/%s"
%
(
self
.
probe_type
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment