This is an automated email from the ASF dual-hosted git repository.

liuhan pushed a commit to branch tmp_disable_reading
in repository https://gitbox.apache.org/repos/asf/skywalking-rover.git


The following commit(s) were added to refs/heads/tmp_disable_reading by this 
push:
     new 81ae7dc  tmp disable ringbuf
81ae7dc is described below

commit 81ae7dc7c57828f8ef9b681380426d21cbbc5f49
Author: mrproliu <[email protected]>
AuthorDate: Thu Dec 19 09:41:09 2024 +0800

    tmp disable ringbuf
---
 pkg/tools/btf/queue.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pkg/tools/btf/queue.go b/pkg/tools/btf/queue.go
index 290f717..a3622c2 100644
--- a/pkg/tools/btf/queue.go
+++ b/pkg/tools/btf/queue.go
@@ -47,6 +47,7 @@ func isRingbufAvailable() bool {
                buf.Close()
 
                ringbufAvailable = err == nil
+               ringbufAvailable = false
 
                if ringbufAvailable {
                        log.Infof("detect the ring buffer is available in 
current system for enhancement of data queue")

Reply via email to