How to trace syscalls taking too much time using ftrace
Issue
A syscall i.e. open
is taking too long; strace output :
15:43:25.423836 open("/mnt/testfile", O_RDONLY) = 3</mnt/testile> <4.810531>
almost 5 segs in the previous example
Environment
- RHEL 6,7,8
- ftrace
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.