Commit c1dd4189 authored by Brendan Gregg's avatar Brendan Gregg

make map stack indentation 4 chars

parent 90e5443a
......@@ -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
```
......
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment