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
3c67c2fa
Commit
3c67c2fa
authored
Oct 10, 2017
by
yonghong-song
Committed by
GitHub
Oct 10, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1386 from sandip4n/set-sdt-constraint
Update SDT argument constraints
parents
8b8e16b7
9ab1cee4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
src/cc/usdt/usdt.cc
src/cc/usdt/usdt.cc
+1
-3
tests/python/include/folly/tracing/StaticTracepoint-ELF.h
tests/python/include/folly/tracing/StaticTracepoint-ELF.h
+2
-2
No files found.
src/cc/usdt/usdt.cc
View file @
3c67c2fa
...
...
@@ -34,10 +34,8 @@ namespace USDT {
Location
::
Location
(
uint64_t
addr
,
const
char
*
arg_fmt
)
:
address_
(
addr
)
{
#ifdef __powerpc64__
ArgumentParser_powerpc64
parser
(
arg_fmt
);
#elif defined(__x86_64__)
ArgumentParser_x64
parser
(
arg_fmt
);
#else
#error "bcc does not support this platform yet"
ArgumentParser_x64
parser
(
arg_fmt
);
#endif
while
(
!
parser
.
done
())
{
Argument
arg
;
...
...
tests/python/include/folly/tracing/StaticTracepoint-ELF.h
View file @
3c67c2fa
...
...
@@ -19,8 +19,8 @@
// Default constraint for the probe arguments as operands.
#ifndef FOLLY_SDT_ARG_CONSTRAINT
#if defined(__powerpc64__) || defined(__powerpc__)
#define FOLLY_SDT_ARG_CONSTRAINT "n
Q
r"
#el
if defined(__x86_64__) || defined(__i386__)
#define FOLLY_SDT_ARG_CONSTRAINT "n
Z
r"
#el
se
#define FOLLY_SDT_ARG_CONSTRAINT "nor"
#endif
#endif
...
...
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