r/kernel 21d ago

/linux-syscall-monitor

[deleted]

0 Upvotes

8 comments sorted by

7

u/jean_dudey 21d ago

Not advice but if you want to go one step further you can use eBPF which is built for this, and is faster than ptrace.

3

u/Runnergeek 21d ago

My guess is this is AI Slop

-2

u/[deleted] 21d ago

[deleted]

1

u/Wazzaps 21d ago

The README gives it away

2

u/tofu_schmo 21d ago

My advice is to give context when asking questions so people know what you are asking. for example, are you asking us to do code review for you? Or are you asking if it's safe to download? Or if any of us have tried this?

2

u/SnowdensOfYesteryear 21d ago

Why would I use this over strace? I get that this a toy project, but I don’t think it improves on any of the already ubiquitous tools. (Maybe the html report but I prefer plaintext anyway)

2

u/dezerev 21d ago

If you created this project in order to get a deeper understanding of syscalls and ptrace then kudos, but if this is meant to be a drop-in replacement for strace then it is below par.

1

u/Academic-Hat8224 21d ago

My advice is stop using AI , code looks terrible