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
5976edec
Commit
5976edec
authored
Feb 07, 2019
by
Brendan Gregg
Committed by
GitHub
Feb 07, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #400 from iovisor/fix390
make map stack indentation 4 chars
parents
347c6aab
c1dd4189
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
21 deletions
+21
-21
README.md
README.md
+19
-19
src/mapkey.cpp
src/mapkey.cpp
+2
-2
No files found.
README.md
View file @
5976edec
...
...
@@ -75,27 +75,27 @@ Attaching 1 probe...
...
@[
queue_work_on+41
tty_flip_buffer_push+43
pty_write+83
n_tty_write+434
tty_write+444
__vfs_write+55
vfs_write+177
sys_write+85
entry_SYSCALL_64_fastpath+26
queue_work_on+41
tty_flip_buffer_push+43
pty_write+83
n_tty_write+434
tty_write+444
__vfs_write+55
vfs_write+177
sys_write+85
entry_SYSCALL_64_fastpath+26
]: 97
@[
cpuidle_enter_state+299
cpuidle_enter+23
call_cpuidle+35
do_idle+394
cpu_startup_entry+113
rest_init+132
start_kernel+1083
x86_64_start_reservations+41
x86_64_start_kernel+323
verify_cpu+0
cpuidle_enter_state+299
cpuidle_enter+23
call_cpuidle+35
do_idle+394
cpu_startup_entry+113
rest_init+132
start_kernel+1083
x86_64_start_reservations+41
x86_64_start_kernel+323
verify_cpu+0
]: 150
```
...
...
src/mapkey.cpp
View file @
5976edec
...
...
@@ -72,9 +72,9 @@ std::string MapKey::argument_value(BPFtrace &bpftrace,
}
break
;
case
Type
:
:
kstack
:
return
bpftrace
.
get_stack
(
*
(
uint64_t
*
)
data
,
false
);
return
bpftrace
.
get_stack
(
*
(
uint64_t
*
)
data
,
false
,
4
);
case
Type
:
:
ustack
:
return
bpftrace
.
get_stack
(
*
(
uint64_t
*
)
data
,
true
);
return
bpftrace
.
get_stack
(
*
(
uint64_t
*
)
data
,
true
,
4
);
case
Type
:
:
ksym
:
return
bpftrace
.
resolve_ksym
(
*
(
uint64_t
*
)
data
);
case
Type
:
:
usym
:
...
...
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