Skip to content

Commit 556811d

Browse files
committed
bin/bpftrace-tools/dist/{gethostlatency,threadsnoop}.bt: Update paths
1 parent a7159d9 commit 556811d

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

bin/bpftrace-tools/dist/gethostlatency.bt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@ BEGIN
2626
"HOST");
2727
}
2828

29-
uprobe:/lib/x86_64-linux-gnu/libc.so.6:getaddrinfo,
30-
uprobe:/lib/x86_64-linux-gnu/libc.so.6:gethostbyname,
31-
uprobe:/lib/x86_64-linux-gnu/libc.so.6:gethostbyname2
29+
uprobe:/lib64/libc.so.6:getaddrinfo,
30+
uprobe:/lib64/libc.so.6:gethostbyname,
31+
uprobe:/lib64/libc.so.6:gethostbyname2
3232
{
3333
@start[tid] = nsecs;
3434
@name[tid] = arg0;
3535
}
3636

37-
uretprobe:/lib/x86_64-linux-gnu/libc.so.6:getaddrinfo,
38-
uretprobe:/lib/x86_64-linux-gnu/libc.so.6:gethostbyname,
39-
uretprobe:/lib/x86_64-linux-gnu/libc.so.6:gethostbyname2
37+
uretprobe:/lib64/libc.so.6:getaddrinfo,
38+
uretprobe:/lib64/libc.so.6:gethostbyname,
39+
uretprobe:/lib64/libc.so.6:gethostbyname2
4040
/@start[tid]/
4141
{
4242
$latms = (nsecs - @start[tid]) / 1e6;

bin/bpftrace-tools/dist/threadsnoop.bt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ BEGIN
1818
printf("%-10s %-6s %-16s %s\n", "TIME(ms)", "PID", "COMM", "FUNC");
1919
}
2020

21-
uprobe:/lib/x86_64-linux-gnu/libpthread.so.0:pthread_create
21+
uprobe:/lib64/libpthread.so.0:pthread_create
2222
{
2323
printf("%-10u %-6d %-16s %s\n", elapsed / 1e6, pid, comm,
2424
usym(arg2));

0 commit comments

Comments
 (0)