]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/execute.c
analyze: extend the dump command to accept patterns
authorFranck Bui <fbui@suse.com>
Tue, 13 Sep 2022 14:13:16 +0000 (16:13 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 12 Oct 2022 22:47:42 +0000 (07:47 +0900)
commitd1d8786c5b4493cc0f9836b1976f2cd41bfb461c
treedf19253c23a7db5a219e03d6abf5cc0501632fbb
parent17f6406bf2f3e3bdaf51fd567871876da237ce20
analyze: extend the dump command to accept patterns

The new function DumpPatterns() can be used to limit (drastically) the size of
the data returned by PID1. Hence the optimization of serializing data into a
file descriptor should be less relevant than having the possibility to limit
the data when communicating with the service manager remotely.

NB: when passing patterns, the dump command omits the version of the manager as
well as the features and the timestamps.
13 files changed:
man/org.freedesktop.systemd1.xml
man/systemd-analyze.xml
shell-completion/bash/systemd-analyze
src/analyze/analyze-dump.c
src/analyze/analyze.c
src/core/dbus-manager.c
src/core/execute.c
src/core/fuzz-unit-file.c
src/core/manager-dump.c
src/core/manager-dump.h
src/core/manager.c
src/core/org.freedesktop.systemd1.conf
src/test/test-engine.c