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
918fad88
Commit
918fad88
authored
Feb 09, 2018
by
Teng Qin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement get_text for Python USDT class
parent
e01c993a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/python/bcc/usdt.py
src/python/bcc/usdt.py
+5
-0
No files found.
src/python/bcc/usdt.py
View file @
918fad88
...
...
@@ -165,6 +165,11 @@ tplist tool.""")
def
get_context
(
self
):
return
self
.
context
def
get_text
(
self
):
ctx_array
=
(
ct
.
c_void_p
*
1
)()
ctx_array
[
0
]
=
ct
.
c_void_p
(
self
.
context
)
return
lib
.
bcc_usdt_genargs
(
ctx_array
,
1
).
decode
()
def
get_probe_arg_ctype
(
self
,
probe_name
,
arg_index
):
return
lib
.
bcc_usdt_get_probe_argctype
(
self
.
context
,
probe_name
,
arg_index
)
...
...
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