Comments (3)
Seems they are in sys_enter_newfstatat
, sys_enter_newfstat
, and sys_enter_newlstat
.
from traceloop.
Currently we have these mismatches where /usr/include/asm/unistd_64.h
has names which do not have a same debug/tracing/events/syscalls/sys_enter_$NAME
folder:
stat
fstat
lstat
sendfile
uname
uselib
_sysctl
umount2
create_module
get_kernel_syms
query_module
nfsservctl
getpmsg
putpmsg
afs_syscall
tuxcall
security
set_thread_area
get_thread_area
epoll_ctl_old
epoll_wait_old
vserver
We need to postprocess a bit more.
Edit:
And we have 332 entries according to my system in sudo sh -c 'ls /sys/kernel/debug/tracing/events/syscalls/sys_enter_*/id' | wc -l
, but 347 entries in the scripts/get_syscall_table.sh
output, so they are not really equal.
Here the comm -3 script-output debug-output
report for sorted lists of both paths:
/sys/kernel/debug/tracing/events/syscalls/sys_enter_afs_syscall/id
/sys/kernel/debug/tracing/events/syscalls/sys_enter_create_module/id
/sys/kernel/debug/tracing/events/syscalls/sys_enter_epoll_ctl_old/id
/sys/kernel/debug/tracing/events/syscalls/sys_enter_epoll_wait_old/id
/sys/kernel/debug/tracing/events/syscalls/sys_enter_fstat/id
/sys/kernel/debug/tracing/events/syscalls/sys_enter_get_kernel_syms/id
/sys/kernel/debug/tracing/events/syscalls/sys_enter_getpmsg/id
/sys/kernel/debug/tracing/events/syscalls/sys_enter_get_thread_area/id
/sys/kernel/debug/tracing/events/syscalls/sys_enter_lstat/id
/sys/kernel/debug/tracing/events/syscalls/sys_enter_newfstat/id
/sys/kernel/debug/tracing/events/syscalls/sys_enter_newlstat/id
/sys/kernel/debug/tracing/events/syscalls/sys_enter_newstat/id
/sys/kernel/debug/tracing/events/syscalls/sys_enter_newuname/id
/sys/kernel/debug/tracing/events/syscalls/sys_enter_nfsservctl/id
/sys/kernel/debug/tracing/events/syscalls/sys_enter_putpmsg/id
/sys/kernel/debug/tracing/events/syscalls/sys_enter_query_module/id
/sys/kernel/debug/tracing/events/syscalls/sys_enter_security/id
/sys/kernel/debug/tracing/events/syscalls/sys_enter_sendfile64/id
/sys/kernel/debug/tracing/events/syscalls/sys_enter_sendfile/id
/sys/kernel/debug/tracing/events/syscalls/sys_enter_set_thread_area/id
/sys/kernel/debug/tracing/events/syscalls/sys_enter_stat/id
/sys/kernel/debug/tracing/events/syscalls/sys_enter__sysctl/id
/sys/kernel/debug/tracing/events/syscalls/sys_enter_sysctl/id
/sys/kernel/debug/tracing/events/syscalls/sys_enter_tuxcall/id
/sys/kernel/debug/tracing/events/syscalls/sys_enter_umount2/id
/sys/kernel/debug/tracing/events/syscalls/sys_enter_umount/id
/sys/kernel/debug/tracing/events/syscalls/sys_enter_uname/id
/sys/kernel/debug/tracing/events/syscalls/sys_enter_uselib/id
/sys/kernel/debug/tracing/events/syscalls/sys_enter_vserver/id
from traceloop.
We can at least fix the relation of _sysctl
and __sysctl
, the new*stat
and *stat
variants, newuname
and uname
, sendfile64
and sendfile
, and umount
and umount2
.
from traceloop.
Related Issues (20)
- Live tracing HOT 1
- Display errors not as unsigned big numbers but -1 and lookup error codes HOT 1
- fix Go 11 modules
- error reporting with no such file or directory when running traceloop with docker HOT 3
- Keep compressed logs of retired tracers in a separate data structure HOT 2
- Wrong syscalls reported for i386 binaries
- Add support for ARM HOT 3
- Don't print buffer when read() returns 0 on EOF HOT 1
- kernel trace with "General protection fault in user access. Non-canonical address?"
- Option to enable/disable log to stdout HOT 1
- traceloop fails to publish traces on cri-o
- read()/write() buffers sometimes not printed correctly HOT 3
- trace creation date sometimes missing
- Registering a cgroup sometimes fails
- HTTP API does not return HTTP error codes
- Print all syscalls with the same details as strace
- Add mntns filter support
- Build failure on getting github.com/fatih/hclfmt
- fatal error: concurrent map iteration and map write
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from traceloop.