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
3c468a4f
Commit
3c468a4f
authored
Feb 10, 2018
by
yonghong-song
Committed by
GitHub
Feb 10, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1584 from palmtenor/printargs
Implement get_text for Python USDT class
parents
cbfd2853
918fad88
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 @
3c468a4f
...
...
@@ -168,6 +168,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