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

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