summaryrefslogtreecommitdiff
path: root/src/analyze/analyze.h
Commit message (Collapse)AuthorAgeFilesLines
* tree-wide: hook up image dissection policy logic everywhereLennart Poettering2023-04-051-0/+1
|
* basic: add RuntimeScope enumLennart Poettering2023-03-101-1/+1
| | | | | | | | | | | | In various tools and services we have a per-system and per-user concept. So far we sometimes used a boolean indicating whether we are in system mode, or a reversed boolean indicating whether we are in user mode, or the LookupScope enum used by the lookup path logic. Let's address that, in introduce a common enum for this, we can use all across the board. This is mostly just search/replace, no actual code changes.
* analyze: add 'malloc' verb to dump malloc_info()Luca Boccassi2023-02-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Gets the memory state of the manager: root@image:~# systemd-analyze malloc <malloc version=1> <heap nr=0> <sizes> <size from=33 to=33 total=396 count=12/> <unsorted from=20385 to=20385 total=20385 count=1/> </sizes> <total type=fast count=0 size=0/> <total type=rest count=14 size=36589/> <system type=current size=1691648/> <system type=max size=1839104/> <aspace type=total size=1691648/> <aspace type=mprotect size=1691648/> </heap> <total type=fast count=0 size=0/> <total type=rest count=14 size=36589/> <total type=mmap count=0 size=0/> <system type=current size=1691648/> <system type=max size=1839104/> <aspace type=total size=1691648/> <aspace type=mprotect size=1691648/> </malloc>
* systemd-analyze: Add table and JSON output implementation to plotJoshua Zivkovic2023-01-181-0/+2
|
* Rename UnitFileScope to LookupScopeZbigniew Jędrzejewski-Szmek2022-03-291-1/+1
| | | | | | | | | As suggested in https://github.com/systemd/systemd/pull/22649/commits/8b3ad3983f5440eef812b34e5ed862ca59fdf7f7#r837345892 The define is generalized and moved to path-lookup.h, where it seems to fit better. This allows a recursive include to be removed and in general makes things simpler.
* analyze: move "condition" verb into analyze-condition.[ch]Lennart Poettering2022-02-211-0/+1
|
* analyze: split out "verify" verb into own .c/.h fileLennart Poettering2022-02-211-0/+2
| | | | | | | This renames the old analyze-verify.[ch] pair → analyze-verify-util.[ch], because it's used by the test logic as well, and by keeping it separate from the verify verb logic we don't have to import the arg_xyz variables.
* analyze: fully move "security" verb to analyze-security.[ch]Lennart Poettering2022-02-211-0/+8
| | | | let's move the verb entropy point too, like for the other verbs now.
* analyze: split out critical chainLennart Poettering2022-02-211-0/+1
|
* analyze: split out cat-config verbLennart Poettering2022-02-211-0/+1
|
* analyze: split out "plot" verbLennart Poettering2022-02-211-0/+1
|
* analyze: split out "blame" verb + time helpersLennart Poettering2022-02-211-0/+2
|
* analyze: split out "dot" verbLennart Poettering2022-02-211-0/+10
|
* analyze: split out "dump" verbLennart Poettering2022-02-211-0/+4
|
* analyze: split out "filesystems" verb into its own .c/.h file pairLennart Poettering2022-02-211-0/+3
|
* analyze: split out calendar verb into own .c/.h fileLennart Poettering2022-02-211-0/+5
|
* analyze: split out "timespan" verb into its own .c/.h fileLennart Poettering2022-02-211-0/+6