1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:38:12 +00:00

Userland: Remove "Inspector" program and related utilities

This program has never lived up to its original idea, and has been
broken for years (property editing, etc). It's also unmaintained and
off-by-default since forever.

At this point, Inspector is more of a maintenance burden than a feature,
so this commit removes it from the system, along with the mechanism in
Core::EventLoop that enables it.

If we decide we want the feature again in the future, it can be
reimplemented better. :^)
This commit is contained in:
Andreas Kling 2023-04-24 10:31:49 +02:00
parent 203e84c378
commit c756e021a7
39 changed files with 11 additions and 1386 deletions

View file

@ -26,7 +26,6 @@ Note that many applications can be disabled at SerenityOS build time if desired.
- [GML Playground](help://man/1/Applications/GMLPlayground)
- [Hex Editor](help://man/1/Applications/HexEditor)
- [Image Viewer](help://man/1/Applications/ImageViewer)
- [Inspector](help://man/1/Applications/Inspector)
- [Magnifier](help://man/1/Applications/Magnifier)
- [Mail](help://man/1/Applications/Mail)
- [Mouse Settings](help://man/1/Applications/MouseSettings)

View file

@ -1,31 +0,0 @@
## Name
![Icon](/res/icons/16x16/app-inspector.png) Inspector - Serenity process inspector
[Open](file:///bin/Inspector)
## Synopsis
```**sh
$ Inspector [pid]
```
## Arguments
* `pid`: Process ID to inspect
## Description
Inspector facilitates process inspection via RPC.
To inspect a process, it must have `MAKE_INSPECTABLE=1` in its environment,
and it must have previously allowed the
[`accept`(2)](help://man/2/accept) system call with
[`pledge`(2)](help://man/2/pledge) to allow inspection
via UNIX socket.
## Examples
```sh
$ Inspector $(pidof Shell)
```

View file

@ -41,8 +41,6 @@ $ watch -n 1 -- bt 124
## See also
* [`Inspector`(1)](help://man/1/Applications/Inspector)
* [`Profiler`(1)](help://man/1/Applications/Profiler)
* [`watch`(1)](help://man/1/watch)

View file

@ -52,11 +52,6 @@ This is a list of useful tips and tricks to help you make the most out of Sereni
## Development
* Supplying `# profile` with a process identifier (PID) of `-1` as root enables systemwide profiling.
* Make applications inspectable by including `MAKE_INSPECTABLE=1` in their environment. Inspectable processes can be examined with [Inspector](help://man/1/Applications/Inspector) via remote procedure calls (RPCs). For example, to make the Eyes application inspectable, enter the following Shell commands:
```sh
$ export MAKE_INSPECTABLE=1
$ Eyes &
```
## See also
* [Keyboard Shortcuts](help://man/7/KeyboardShortcuts)
* [Keyboard Shortcuts](help://man/7/KeyboardShortcuts)