ASCII art diagram of the above:
+-------+ +-------+ +-------+
| | | | | |
| app 1 | | app 2 | | app N | 1: Applications
| | | | | |
--------------------------------- 2: libprofile.h
| |
| libprofile |
| | 3: API library
+-------------+
^ ^ ^
| | |
D-Bus 4: IPC communication
+--------+ | | |
| static | v v v 5: Default values
| config | +----------+
| files |--->| |
+--------+ | profiled | 6:Server Process
| |
+----------+
^ ^
| |
| |
v v
+---------+ +---------+
| dynamic | | current | 7: Modified values
| config | | profile | 8: Active profile
| file | | file |
+---------+ +---------+