strace
Are there any other ways to record iotcl calls besides strace?
I\'m trying to see if certain ioctl calls get called when I call a function(this is on linux).There no way to cause the ke开发者_JS百科rnel to write a log with this sort of data, is there?On recent ke[详细]
2023-03-06 05:48 分类:问答Troubleshoot python daemon that quits unexpectedly?
What\'s the best way to monitor a python daemon to determine the cause of it quitting unexpectedly? Is strace my best option or is there something Python specifi开发者_StackOverflowc that does the job[详细]
2023-03-05 00:49 分类:问答gdb break when program opens specific file
Back story: While running a program under strace I notice that \'/dev/urandom\' is being open\'ed.I would like to know where this call is coming from (it is not part of the program itself, it is part[详细]
2023-03-02 21:58 分类:问答set_thread_area in strace
Using strace on a program: strace outputs the same extract output in Debian and CentOS except for set_thread_area. (The program\'s version is exactly the same on both Linuxes.)[详细]
2023-03-02 03:48 分类:问答Why are many system calls (getpid) captured only once using strace?
I invoked getpid() in a program for many times (to test the efficiency of system calls), however when I use strace to get the trace, only one getpid() call is captured.[详细]
2023-02-28 20:32 分类:问答What exactly does strace output?
Exact is what I\'m focusing on here... mmap(0x37aa74d000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14d000) = 0x37aa74d000[详细]
2023-02-21 13:43 分类:问答How does strace work?
It can trace all system calls used. But what开发者_如何学编程 differs a sys_call from a normal call??As Matthew said, strace uses the ptrace(2) system call to work its magic. ptrace is used to implem[详细]
2023-02-20 17:32 分类:问答How to quit strace when attached to a process?
[root@woyo test]# strace -o /tmp/lsof.strace -p 5625 Proces开发者_如何学Cs 5625 attached - interrupt to quit[详细]
2023-02-20 06:02 分类:问答How to know which function is calling system call?
I use strace to trace my app,and find it is blocked at a system call \"poll\",I want to figure out which function is calling开发者_运维问答 this system call.How?Did you compile your program with debu[详细]
2023-02-18 05:19 分类:问答Identifying file causing hang from strace
I have a GTK program running on Ubuntu 10开发者_运维技巧.04 that hangs in interruptible state, and I\'d like to understand the output of strace. In particular, I have this line:[详细]
2023-02-14 16:15 分类:问答
加载中,请稍侯......