genode/repos/os/recipes/pkg
Norman Feske 3394f97f86 trace_logger: make output format more concise
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
2022-04-13 08:07:58 +02:00
..
black_hole depot: update recipe hashes 2022-02-28 11:46:35 +01:00
chroot depot: update recipe hashes 2022-02-28 11:46:35 +01:00
clipboard depot: update recipe hashes 2022-02-28 11:46:35 +01:00
cpu_balancer depot: update recipe hashes 2022-02-28 11:46:35 +01:00
cpu_balancer_config depot: update recipe hashes 2022-02-28 11:46:35 +01:00
drivers_interactive-linux depot: update recipe hashes 2022-02-28 11:46:35 +01:00
drivers_interactive-pbxa9 depot: update recipe hashes 2022-02-28 11:46:35 +01:00
drivers_interactive-pc depot: update recipe hashes 2022-02-28 11:46:35 +01:00
drivers_interactive-virt_qemu depot: update recipe hashes 2022-02-28 11:46:35 +01:00
drivers_nic-linux depot: update recipe hashes 2022-02-28 11:46:35 +01:00
drivers_nic-pbxa9 depot: update recipe hashes 2022-02-28 11:46:35 +01:00
drivers_nic-virt_qemu depot: update recipe hashes 2022-02-28 11:46:35 +01:00
fs_report depot: update recipe hashes 2022-02-28 11:46:35 +01:00
fs_rom depot: update recipe hashes 2022-02-28 11:46:35 +01:00
mixer depot: update recipe hashes 2022-02-28 11:46:35 +01:00
nic_router-nat depot: update recipe hashes 2022-02-28 11:46:35 +01:00
nit_focus depot: update recipe hashes 2022-02-28 11:46:35 +01:00
recall_fs depot: update recipe hashes 2022-02-28 11:46:35 +01:00
report_rom depot: update recipe hashes 2022-02-28 11:46:35 +01:00
rom_filter depot: update recipe hashes 2022-02-28 11:46:35 +01:00
rom_reporter depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-black_hole depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-capture depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-clipboard depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-dynamic_config depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-dynamic_config_loader depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-fault_detection depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-fs_packet depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-fs_report depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-fs_rom_update depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-fs_rom_update_fs depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-fs_rom_update_ram depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-init depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-init_loop depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-lx_block depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-nic_loopback depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-part_block_gpt depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-part_block_mbr depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-ram_fs_chunk depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-read_only_rom depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-report_rom depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-resource_request depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-resource_yield depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-rom_filter depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-rtc depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-sandbox depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-signal depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-slab depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-terminal_crosslink depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-trace depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-trace_buffer depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-trace_logger trace_logger: make output format more concise 2022-04-13 08:07:58 +02:00
test-utf8 depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-vfs_block depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-vfs_stress_fs depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-vfs_stress_ram depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-weak_ptr depot: update recipe hashes 2022-02-28 11:46:35 +01:00
vfs depot: update recipe hashes 2022-02-28 11:46:35 +01:00
vfs_block depot: update recipe hashes 2022-02-28 11:46:35 +01:00