Add dump_systemstate-service
The service registers with the name org.tizen.systemstate and provides
the output of defined commands via dumpsys interface. The registration
of commands is done by adding dumpsyscmd parameter to the extra program
configuration file. For example, the following configuration in
/etc/dump_systemstate.conf.d/programs/crash-worker-programs.conf:
...
[buxton system]
order=141
cmdflag=b
title=System configuration
path=/usr/bin/buxton2ctl
args=dump system
dumpsyscmd=buxton_system
allowdumpsysargs=yes
...
allows to get the output of the command:
/usr/bin/buxton2ctl dump system
by calling:
dumpsys org.tizen.systemstate buxton_system
The allowdumpsysargs parameter is responsible for the possibility to
provide custom parameters via dumpsys (disallowed by default).
Change-Id: Iff9569d4975ab97addfcf32ea6c22d7237275b35