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
fb4ed04d
Commit
fb4ed04d
authored
Apr 19, 2018
by
yonghong-song
Committed by
GitHub
Apr 19, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1691 from javierhonduco/trace-fix-probe-name-encoding
Fix probe name encoding in Python 3
parents
84c8873a
1ef82e22
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tools/trace.py
tools/trace.py
+1
-1
No files found.
tools/trace.py
View file @
fb4ed04d
...
@@ -159,7 +159,7 @@ class Probe(object):
...
@@ -159,7 +159,7 @@ class Probe(object):
else
Probe
.
tgid
else
Probe
.
tgid
self
.
usdt
=
USDT
(
path
=
self
.
library
,
pid
=
target
)
self
.
usdt
=
USDT
(
path
=
self
.
library
,
pid
=
target
)
for
probe
in
self
.
usdt
.
enumerate_probes
():
for
probe
in
self
.
usdt
.
enumerate_probes
():
if
probe
.
name
==
self
.
usdt_name
:
if
probe
.
name
==
self
.
usdt_name
.
encode
(
'ascii'
)
:
return
# Found it, will enable later
return
# Found it, will enable later
self
.
_bail
(
"unrecognized USDT probe %s"
%
self
.
usdt_name
)
self
.
_bail
(
"unrecognized USDT probe %s"
%
self
.
usdt_name
)
...
...
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