Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bpftrace
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
bpftrace
Commits
74ebb3bb
Commit
74ebb3bb
authored
Sep 07, 2018
by
williangaspar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
call_kaddr commented
parent
e6b0ebf6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
13 deletions
+1
-13
tests/codegen.cpp
tests/codegen.cpp
+1
-13
No files found.
tests/codegen.cpp
View file @
74ebb3bb
...
...
@@ -1026,19 +1026,7 @@ attributes #1 = { argmemonly nounwind }
TEST
(
codegen
,
call_kaddr
)
{
test
(
"kprobe:f { @x = kaddr(
\"
avenrun
\"
) }"
,
R"EXPECTED(; Function Attrs: nounwind
declare i64 @llvm.bpf.pseudo(i64, i64) #0
BDG run bpftrace_test, and copy-n-paste the '+' diff output here until bpftrace_test passes this test
; Function Attrs: argmemonly nounwind
declare void @llvm.lifetime.end.p0i8(i64, i8* nocapture) #1
attributes #0 = { nounwind }
attributes #1 = { argmemonly nounwind }
)EXPECTED"
);
// TODO: test kaddr()
}
TEST
(
codegen
,
call_hist
)
...
...
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