mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 23:12:24 +00:00
3394f97f86
This patch changes the output format of the trace logger to become better suitable for human consumption. For example, when instrumenting the VFS server in Sculpt using the GENODE_TRACE_TSC utility, the trace logger now generates tabular output as follows. Report 4 PD "init -> runtime -> arch_vbox6 -> vbox -> " ---------------- Thread "vCPU" at (0,0) total:12909024 recent:989229 Thread "vCPU" at (1,0) total:5643234 recent:786437 PD "init -> runtime -> ahci-0.fs" ----------------------------- Thread "ahci-0.fs" at (0,0) total:910497 recent:6335 Thread "ep" at (0,0) total:0 recent:0 71919692932: TSC process_packets: 8005M (4998 calls, last 4932K) 71921558516: TSC process_packets: 8006M (4999 calls, last 1596K) 71922760220: TSC process_packets: 8007M (5000 calls, last 1006K) 71929853586: TSC process_packets: 8009M (5001 calls, last 1840K) 71931315246: TSC process_packets: 8011M (5002 calls, last 1253K) 72127999920: TSC process_packets: 8016M (5003 calls, last 5606K) 72129568198: TSC process_packets: 8018M (5004 calls, last 1345K) 77161908178: TSC process_packets: 8029M (5005 calls, last 11349K) 77643225736: TSC process_packets: 8029M (5006 calls, last 217K) 89422100594: TSC process_packets: 8035M (5007 calls, last 5656K) 89422123632: TSC process_packets: 8035M (5008 calls, last 1342) Thread "signal handler" at (0,0) total:36329 recent:3001 Thread "signal_proxy" at (0,0) total:51838 recent:13099 Thread "pdaemon" at (0,0) total:97184 recent:332 Thread "vdrain" at (0,0) total:1266 recent:286 Thread "vrele" at (0,0) total:1904 recent:516 PD "init -> runtime -> nic_drv" ------------------------------- Thread "nic_drv" at (0,0) total:34044 recent:897 Thread "signal handler" at (0,0) total:369 recent:142 ... Subjects that belong to the same PD are grouped together. The formerly optional affinity and activity options have been removed. Those information are now unconditionally displayed. The trace entries belonging to a thread appear as slightly indented. The patch also updates the coding style, avoiding excessively long lines. Issue #4448 |
||
---|---|---|
.. | ||
black_hole | ||
chroot | ||
clipboard | ||
cpu_balancer | ||
cpu_balancer_config | ||
drivers_interactive-linux | ||
drivers_interactive-pbxa9 | ||
drivers_interactive-pc | ||
drivers_interactive-virt_qemu | ||
drivers_nic-linux | ||
drivers_nic-pbxa9 | ||
drivers_nic-virt_qemu | ||
fs_report | ||
fs_rom | ||
mixer | ||
nic_router-nat | ||
nit_focus | ||
recall_fs | ||
report_rom | ||
rom_filter | ||
rom_reporter | ||
test-black_hole | ||
test-capture | ||
test-clipboard | ||
test-dynamic_config | ||
test-dynamic_config_loader | ||
test-fault_detection | ||
test-fs_packet | ||
test-fs_report | ||
test-fs_rom_update | ||
test-fs_rom_update_fs | ||
test-fs_rom_update_ram | ||
test-init | ||
test-init_loop | ||
test-lx_block | ||
test-nic_loopback | ||
test-part_block_gpt | ||
test-part_block_mbr | ||
test-ram_fs_chunk | ||
test-read_only_rom | ||
test-report_rom | ||
test-resource_request | ||
test-resource_yield | ||
test-rom_filter | ||
test-rtc | ||
test-sandbox | ||
test-signal | ||
test-slab | ||
test-terminal_crosslink | ||
test-trace | ||
test-trace_buffer | ||
test-trace_logger | ||
test-utf8 | ||
test-vfs_block | ||
test-vfs_stress_fs | ||
test-vfs_stress_ram | ||
test-weak_ptr | ||
vfs | ||
vfs_block |