uftrace
tlog
uftrace | tlog | |
---|---|---|
3 | 4 | |
2,854 | 297 | |
- | 1.7% | |
9.1 | 5.2 | |
8 days ago | 3 months ago | |
C | C | |
GNU General Public License v3.0 only | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
uftrace
- Uftrace: Userspace Function-Graph Tracer
- Profiling C code on an M1 mac
-
how to see source of all dynamic library function calls
uftrace does seem to have this functionality, though I believe it's using debug/profiling hooks to get it. You may not have full visibility on release binaries (haven't checked).
tlog
-
Help with installing tlog on Debian 10
https://salsa.debian.org/ascii/tlog/-/tree/debian/latest https://github.com/Scribery/tlog
- How to log bash commands in some simple way?
- Tlog: Terminal I/O Logger
-
Bash-Oneliner: A collection of handy Bash One-Liners and terminal tricks
Enterprises that requires logging of user actions will very likely not being doing it at the shell level, either through compiled in options, or shell history.
Instead, the Kernel has built in functionality called Auditd[0], which is capable of logging any and all executions, file or socket accesses, and much more. Along with included tooling for quickly finding and alerting on events[3].
Further, if terminal logging or playback is really required (usually not), it's generally done through pam with tlog[1]. Red Hat 8 and above come with built-in tlog support[2].
[0] https://access.redhat.com/documentation/en-us/red_hat_enterp...
[1] https://github.com/Scribery/tlog/blob/main/README.md
[2] https://access.redhat.com/documentation/en-us/red_hat_enterp...
[3] https://wiki.archlinux.org/title/Audit_framework
What are some alternatives?
remake - Enhanced GNU Make - tracing, error reporting, debugging, profiling and more
trice - 🟢 super fast 🚀 and tiny 🐥 embedded device 𝘾 printf-like trace ✍ code, works also inside ⚡ interrupts ⚡ and real-time PC 💻 logging (trace ID visualization 👀)
snoopy - Snoopy Command Logger is a small library that logs all program executions on your Linux/BSD system.
simple-pt - Simple Intel CPU processor tracing on Linux
fgprof - 🚀 fgprof is a sampling Go profiler that allows you to analyze On-CPU as well as Off-CPU (e.g. I/O) time together.
tlog - Observability events system
bash-preexec - ⚡ preexec and precmd functions for Bash just like Zsh.
hotspot - The Linux perf GUI for performance analysis.
cassette_deck - 🖭 CLI gif recorder, simplified
zpoline - system call hook for Linux
vscode-bash-debug - Bash shell debugger extension for VSCode (based on bashdb)