大约有 7,600 项符合查询结果(耗时:0.0149秒) [XML]
Linux bcc tools使用总结(持续更新) - 操作系统(内核) - 清泛网 - 专注IT技能提升
...后,手动Ctrl + C 结束统计,输出此段时间内各自耗时区间的IO事件个数。
默认微秒区间,-m 参数则是毫秒区间。
# /usr/share/bcc/tools/biolatency
Tracing block device I/O... Hit Ctrl-C to end.
^C
usecs : count distribution
...
OpenSuSE 安装bpftrace - 操作系统(内核) - 清泛网 - 专注IT技能提升
...cc-devel
#zypper install bcc-devel-0.22.0-lp151.127.1.x86_64 #安装失败的话,可以尝试
3、安装bpftrace(参考:INSTALL.md):
OCICLI https://software.opensuse.org/ymp/home:pavlix:Kernel/openSUSE_Leap_15.1/bpftrace.ymp
4、验证:
bpftrace
USAGE:
bpftrace [option...
解决python3报错:TypeError: a bytes-like object is required, not \'str...
...thon3和Python2在套接字返回值解码上有区别,也就是说报错的这段代码在python2上可以正常使用。解决思路:python bytes和str两种类型可以通过函数encode()和decode() 问题原因:
python3和Python2在套接字返回值解码上有区别,也就是说报...
Jenkins中集成gtest单元测试结果 - 项目管理 - 清泛网 - 专注IT技能提升
...
2、配置Jenkins构建后操作选项:
Jenkins会自动集成每次的运行结果,并绘制可视化图表。
参考:https://stackoverflow.com/questions/11540633/using-gtest-in-jenkins
Jenkins gtest
libunwind:记录程序崩溃堆栈 - 开源 & Github - 清泛网 - 专注C/C++及内核技术
...ed #编译成.so,否则默认静态.la
make
make install
记录堆栈的代码如下:
static void log_backtrace(void) {
char name[256];
unw_cursor_t cursor;
unw_context_t uc;
unw_word_t ip, sp, offp;
unw_getcontext(&uc);
unw_init_local(&cursor, &uc);
syslog(LOG_ERR, "--i...
MFC Telnet Application(mfc telnet 端口,代码实现、不调用telnet.exe) ...
...调用telnet.exe。程序源码工程升级后,可能出现编译不过的情况,请将stdafx.h中0x0410全部改为0x0501即可。The article demonstrates an MFC GUI Telnet application with server capabilities for incoming connections support.
Download demo - 29.9 KB
Download source - 42....
MFC Telnet Application(mfc telnet 端口,代码实现、不调用telnet.exe) ...
...调用telnet.exe。程序源码工程升级后,可能出现编译不过的情况,请将stdafx.h中0x0410全部改为0x0501即可。The article demonstrates an MFC GUI Telnet application with server capabilities for incoming connections support.
Download demo - 29.9 KB
Download source - 42....
MFC Telnet Application(mfc telnet 端口,代码实现、不调用telnet.exe) ...
...调用telnet.exe。程序源码工程升级后,可能出现编译不过的情况,请将stdafx.h中0x0410全部改为0x0501即可。The article demonstrates an MFC GUI Telnet application with server capabilities for incoming connections support.
Download demo - 29.9 KB
Download source - 42....
MFC Telnet Application(mfc telnet 端口,代码实现、不调用telnet.exe) ...
...调用telnet.exe。程序源码工程升级后,可能出现编译不过的情况,请将stdafx.h中0x0410全部改为0x0501即可。The article demonstrates an MFC GUI Telnet application with server capabilities for incoming connections support.
Download demo - 29.9 KB
Download source - 42....
MFC Telnet Application(mfc telnet 端口,代码实现、不调用telnet.exe) ...
...调用telnet.exe。程序源码工程升级后,可能出现编译不过的情况,请将stdafx.h中0x0410全部改为0x0501即可。The article demonstrates an MFC GUI Telnet application with server capabilities for incoming connections support.
Download demo - 29.9 KB
Download source - 42....