大约有 11,000 项符合查询结果(耗时:0.0110秒) [XML]
OpenSuSE 安装dtrace - 操作系统(内核) - 清泛网移动版 - 专注C++内核技术
OpenSuSE 安装dtraceOpenSuSE-dtrace-install官网:https: software opensuse org搜索 dtrace,选择:找到指定的版本ymp文件,这里以15 1为例:OCICLI https: software opensuse org ymp home:Dead_Mozay:gst openSUSE_Leap_15 1 systemtap-dtrace ymp--End--官网:https://software.opens...
Linux上安装dtrace(劝退篇) - 操作系统(内核) - 清泛网移动版 - 专注C++内核技术
Linux上安装dtrace(劝退篇)Linux-dtraceDTrace是Solaris下的产物,Linux上支持的不太好,还是建议不要用了,使用BPF BCC吧。------------为了追踪一下自己写的nginx模块的性能, 加上之前看了agentzh大哥的nginx教程, DTrace是Solaris下的产物,Li...
Linux bcc tools使用总结(持续更新) - 操作系统(内核) - 清泛网移动版 - ...
Linux bcc tools使用总结(持续更新)Linux-bcc-toolsbcc及依赖安装(参考:INSTALL md)。1、execsnoop短时进程追踪工具,抓出短时间内谁在搞事情。使用场景:有些进程运行时间太短(可能是不断崩溃重启),因而使用其他工具无法捕获 ...
Linux bpftrace学习笔记(持续更新) - 操作系统(内核) - 清泛网移动版 - ...
Linux bpftrace学习笔记(持续更新)Linux-bpftrace-notes图:BPF性能工具及其可见性bpftrace安装请参考:bpftrace-install。1、查看程序在打开哪些文件: bpftrace -e & 39;tracepoint:syscalls:sys_enter_open { printf("%s %s n
图:BPF性能工具及其可见性
...
【解决】undefined reference to \'apr_thread_rwlock_destory\'、undefine...
【解决】undefined reference to 'apr_thread_rwlock_destory'、undefined reference to 'apr_initialize'undefined_reference_apr1、首选确认安装了apr及apr-util否则报错<apr-1 apr_xxx h>头文件找不到。2、-lapr-1 -laprutil-1添加库链接,否则报错:undefined reference to & 39...
【解决】Missing FindPython3.cmake - C/C++ - 清泛网移动版 - 专注C++内核技术
【解决】Missing FindPython3.cmakeMissing-FindPython3-cmake编译llvm时,报错:CMake Error at CMakeLists txt:729 (find_package): By not providing "FindPython3 cmake" in CMAKE_MODULE_PATH this project has asked 编译llvm时,报错:
CMake Error at CMakeLists.txt:729 (find_package):...
【解决】This is allowed only when policy CMP0079 is set to NEW. - C/C+...
【解决】This is allowed only when policy CMP0079 is set to NEW.This-is-allowed-only-when-policy-CMP0079-is-set-to-NEWcmake最低版本设置为3 13以上,可解决。cmake_minimum_required(VERSION 3 13) can fix the first problem 参考:https: gitlab kitware com cmake cmake - issues 19693cma...
memcpy() 是非线程安全的,并发时需加锁或使用原子操作 - C/C++ - 清泛网 -...
memcpy() 是非线程安全的,并发时需加锁或使用原子操作memcpy_thread_unsafe最近调查线上一个问题,就是一块 int32 的内存会极低概率出现 -18亿的巨数字,有时又是正确的。自己刻意测试又不能再现,在确认不可能将这样一个巨量数...
C++ SpinLock 自旋锁的代码实现(全网最简略的方式) - C/C++ - 清泛网 - ...
C++ SpinLock 自旋锁的代码实现(全网最简略的方式)cpp_spinlock1、最简单的一种,来自《C++并发编程实战》第5章 C++内存模型和原子类型操作: include <iostream> include <atomic> include <thread> include <vector> include <unistd h 1、最简单的一种,...
【解决】Missing FindPython3.cmake - C/C++ - 清泛网 - 专注C++内核技术
【解决】Missing FindPython3.cmakeMissing-FindPython3-cmake编译llvm时,报错:CMake Error at CMakeLists txt:729 (find_package): By not providing "FindPython3 cmake" in CMAKE_MODULE_PATH this project has asked 编译llvm时,报错:
CMake Error at CMakeLists.txt:729 (find_package):...