Blame SOURCES/bpftrace-0.9-RHEL-8-fixes.patch

05649e
From 1dce61acfec57712f84cfdf2a8f4c69d27744b04 Mon Sep 17 00:00:00 2001
05649e
From: Jerome Marchand <jmarchan@redhat.com>
05649e
Date: Tue, 11 Jun 2019 16:41:59 +0200
05649e
Subject: RHEL 8 fixes
05649e
05649e
Fixes the following RHEL 8 specific issues:
05649e
 - library path in gethostlatency
05649e
05649e
---
05649e
 tools/gethostlatency.bt | 12 ++++++------
05649e
 1 file changed, 6 insertions(+), 6 deletions(-)
05649e
05649e
diff --git a/tools/gethostlatency.bt b/tools/gethostlatency.bt
05649e
index a1ac1b2..ade1005 100755
05649e
--- a/tools/gethostlatency.bt
05649e
+++ b/tools/gethostlatency.bt
05649e
@@ -26,17 +26,17 @@ BEGIN
05649e
 	    "HOST");
05649e
 }
05649e
 
05649e
-uprobe:/lib/x86_64-linux-gnu/libc.so.6:getaddrinfo,
05649e
-uprobe:/lib/x86_64-linux-gnu/libc.so.6:gethostbyname,
05649e
-uprobe:/lib/x86_64-linux-gnu/libc.so.6:gethostbyname2
05649e
+uprobe:/lib64/libc.so.6:getaddrinfo,
05649e
+uprobe:/lib64/libc.so.6:gethostbyname,
05649e
+uprobe:/lib64/libc.so.6:gethostbyname2
05649e
 {
05649e
 	@start[tid] = nsecs;
05649e
 	@name[tid] = arg0;
05649e
 }
05649e
 
05649e
-uretprobe:/lib/x86_64-linux-gnu/libc.so.6:getaddrinfo,
05649e
-uretprobe:/lib/x86_64-linux-gnu/libc.so.6:gethostbyname,
05649e
-uretprobe:/lib/x86_64-linux-gnu/libc.so.6:gethostbyname2
05649e
+uretprobe:/lib64/libc.so.6:getaddrinfo,
05649e
+uretprobe:/lib64/libc.so.6:gethostbyname,
05649e
+uretprobe:/lib64/libc.so.6:gethostbyname2
05649e
 /@start[tid]/
05649e
 {
05649e
 	$latms = (nsecs - @start[tid]) / 1000000;
05649e
-- 
05649e
2.20.1
05649e