大约有 4,600 项符合查询结果(耗时:0.0274秒) [XML]

https://www.tsingfun.com/it/os... 

Linux上安装dtrace(劝退篇) - 操作系统(内核) - 清泛网移动版 - 专注C++内核技术

Linux上安装dtrace(劝退篇)Linux-dtraceDTrace是Solaris下的产物,Linux上支持的不太好,还是建议不要用了,使用BPF BCC吧。------------为了追踪一下自己写的nginx模块的性能, 加上之前看了agentzh大哥的nginx教程, DTrace是Solaris下的产物,Li...
https://www.tsingfun.com/it/os... 

Linux bcc tools使用总结(持续更新) - 操作系统(内核) - 清泛网移动版 - ...

Linux bcc tools使用总结(持续更新)Linux-bcc-toolsbcc及依赖安装(参考:INSTALL md)。1、execsnoop短时进程追踪工具,抓出短时间内谁在搞事情。使用场景:有些进程运行时间太短(可能是不断崩溃重启),因而使用其他工具无法捕获 ...
https://www.tsingfun.com/it/os... 

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性能工具及其可见性 ...
https://www.tsingfun.com/it/te... 

reactjs中防止字符转义,字符串不转义 - 更多技术 - 清泛网移动版 - 专注C++内核技术

reactjs中防止字符转义,字符串不转义reactjs-dangerouslySetInnerHTML使用标签的dangerouslySetInnerHTML 属性即可,注意:必须是这种写法:<span dangerouslySetInnerHTML={{__html: & 39;<font color="red">ERROR< font>& 39;}}>(此处必须为空! 使用标签的 dangerously...
https://www.tsingfun.com/it/te... 

reactjs中防止字符转义,字符串不转义 - 更多技术 - 清泛网移动版 - 专注C++内核技术

reactjs中防止字符转义,字符串不转义reactjs-dangerouslySetInnerHTML使用标签的dangerouslySetInnerHTML 属性即可,注意:必须是这种写法:<span dangerouslySetInnerHTML={{__html: & 39;<font color="red">ERROR< font>& 39;}}>(此处必须为空! 使用标签的 dangerously...
https://bbs.tsingfun.com/thread-1678-1-1.html 

Linux 生产环境定位C++内存异常问题的思路 - 调试技术 - 清泛IT社区,为创新赋能!

1、首先,调查内存相关问题 asan 肯定是首选,不光是内存泄漏,内存越界、内存非法访问等内存异常问题。 2、开发环境可以直接套上 asan,编译时加上 -fsanitize=address,链接时加上 -lasan ,程序优雅退出即可。 3、生产环境一般...
https://stackoverflow.com/ques... 

C++ error: undefined reference to 'clock_gettime' and 'clock_settime'

... example: c++ -Wall filefork.cpp -lrt -O2 For gcc version 4.6.1, -lrt must be after filefork.cpp otherwise you get a link error. Some older gcc version doesn't care about the position. ...
https://stackoverflow.com/ques... 

When to use references vs. pointers

...better option would be to use something similar to std::optional (requires C++17; before that, there's boost::optional). Another example is to use pointers to raw memory for specific memory manipulations. That should be hidden and localized in very narrow parts of the code, to help limit the dangero...
https://stackoverflow.com/ques... 

C++ Build Systems - What to use? [closed]

I'm looking at starting a new project in C++ - just in my own time initially - and I'm investigating the build systems that are available. It would appear that the answer is "Many, and they're all awful". ...
https://www.tsingfun.com/it/cp... 

SetUnhandledExceptionFilter and the C/C++ Runtime Library - C/C++ - 清泛网移动版 - 专注C++内核技术

SetUnhandledExceptionFilter and the C/C++ Runtime LibrarySetUnhandledExceptionFilter-and-the-C-C-Runtime-LiThis article presents a fix for SetUnhandledExceptionFilter to work with the CRT.Download source code - 30.9 KBInt...This article presents a fix for SetUnhandledExceptionFilter to work with the...