1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 22:48:11 +00:00
serenity/Kernel/Syscalls
Gunnar Beutner eb798d5538 Kernel+Profiler: Improve profiling subsystem
This turns the perfcore format into more a log than it was before,
which lets us properly log process, thread and region
creation/destruction. This also makes it unnecessary to dump the
process' regions every time it is scheduled like we did before.

Incidentally this also fixes 'profile -c' because we previously ended
up incorrectly dumping the parent's region map into the profile data.

Log-based mmap support enables profiling shared libraries which
are loaded at runtime, e.g. via dlopen().

This enables profiling both the parent and child process for
programs which use execve(). Previously we'd discard the profiling
data for the old process.

The Profiler tool has been updated to not treat thread IDs as
process IDs anymore. This enables support for processes with more
than one thread. Also, there's a new widget to filter which
process should be displayed.
2021-04-26 17:13:55 +02:00
..
access.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
alarm.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
anon_create.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
beep.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
chdir.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
chmod.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
chown.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
chroot.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
clock.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
debug.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
disown.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
dup2.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
emuctl.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
execve.cpp Kernel+Profiler: Improve profiling subsystem 2021-04-26 17:13:55 +02:00
exit.cpp Kernel+Profiler: Improve profiling subsystem 2021-04-26 17:13:55 +02:00
fcntl.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
fork.cpp Kernel+Profiler: Improve profiling subsystem 2021-04-26 17:13:55 +02:00
ftruncate.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
futex.cpp AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
get_dir_entries.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
get_stack_bounds.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
getrandom.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
getuid.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
hostname.cpp Kernel: Remove the now defunct LOCKER(..) macro. 2021-04-25 09:38:27 +02:00
ioctl.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
keymap.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
kill.cpp Kernel: Don't allow to kill kernel processes 2021-04-23 13:26:02 +02:00
link.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
lseek.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
mkdir.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
mknod.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
mmap.cpp Kernel+Profiler: Improve profiling subsystem 2021-04-26 17:13:55 +02:00
module.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
mount.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
open.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
perf_event.cpp Kernel+Profiler: Improve profiling subsystem 2021-04-26 17:13:55 +02:00
pipe.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
pledge.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
prctl.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
process.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
profiling.cpp Kernel+Profiler: Improve profiling subsystem 2021-04-26 17:13:55 +02:00
ptrace.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
purge.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
read.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
readlink.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
realpath.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
rename.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
rmdir.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
sched.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
select.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
sendfd.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
setpgid.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
setuid.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
shutdown.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
sigaction.cpp Kernel: Support null act argument for sigaction syscall 2021-04-24 23:00:28 +02:00
socket.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
stat.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
sync.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
sysconf.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
thread.cpp Kernel+Profiler: Improve profiling subsystem 2021-04-26 17:13:55 +02:00
times.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ttyname.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
umask.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
uname.cpp Kernel: Remove the now defunct LOCKER(..) macro. 2021-04-25 09:38:27 +02:00
unlink.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
unveil.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
utime.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
waitid.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
watch_file.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
write.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00