VIRTUTECH CONFIDENTIAL Previous - Up - Next
log_object
- Implemented By
-
ADM1031, AM29F016, AM79C960, AM79C960-dml, AM79C973, AT24C164, AT24CS256, BCM5703C, BCM5704C, CL-PD6729, CS8900A, CY82C693_0, CY82C693_1, CY82C693_2, DEC21041, DEC21140A, DEC21140A-dml, DEC21143, DS12887, DS12887-dml, DS1621, DS1743P, DS17485, FAS366U, GT64120, GT64120-pci, ICS951601, ISA, ISP1040, ISP2200, LX164-IRQ-PLD, LX164-NVRAM, M5823, MD1535D-acpi, MD1535D-cfg, MD1535D-ide, MD1535D-isa, MD1535D-power, MD1535D-smb, MD1535D-unknown, MK48T08, NS16450, NS16550, PCF8582C, PCF8584, PCF8587, PCI0646, SA1110-device, SIO82378ZB, SYM53C810, SYM53C875, Z8530, agp-voodoo3, alpha-ev5, alpha-lx164-system, apic, apic-bus, apm, arm-sa1110-system, armv5te, artesyn-pm-ppc, bitmask-translator, cassini, cassini_sub, central-client, central-server, cheerio-e2bus, cheerio-hme, cheetah-mmu, cheetah-plus-mmu, clock, component, consistency-controller, context-switcher, cpc700-gpt, cpc700-iic, cpc700-mc, cpc700-pci, cpc700-pi, cpc700-uic, cpu-group, cpu-mode-tracker, data-profiler, ddr-memory-module, ddr2-memory-module, dummy-component, ebony-board, ebony-fpga, empty-device, enchilada-system, etg, eth-transceiver, ethernet-link, fc-disk, fiesta-system, fiesta-tomatillo, file-cdrom, flash-memory, fourport, ftp-alg, g-cache, g-cache-ooo, gdb-remote, generic-flash-memory, gfx-console, host-cdrom, hostfs, i21150, i21152, i21554-prim, i21554-scnd, i21555-prim, i21555-scnd, i2c-bus, i386-cpu, i486dx2-cpu, i486sx-cpu, i8042, i82077, i8237x2, i82443bx, i82443bx_agp, i82461GX, i82468GX_0, i8254, i8259x2, ia64-460gx-system, ia64-itanium, ia64-itanium2, ide, ide-cdrom, ide-disk, image, io-apic, isa-lance, isa-vga, itanium-cpu, jaguar-mmu, jalapeno-mmu, legacy-pc-devices, leon2, leon2-simple, leon2_cfg, leon2_ioport, leon2_irq, leon2_timer, leon2_uart, linux-process-tracker, local-space-mapper, log-object, logical-memory-translator, malta, malta-system, memory-space, microwire-eeprom, mii-management-bus, mii-transceiver, mips-4kc, mips-5kc, msp430, niagara-core-mmu, niagara-dram-ctl, niagara-iob, niagara-l2c, niagara-simple-system, niagara-strand-mmu, north-bridge-443bx, north-bridge-443bx-agp, north-bridge-875p, north-bridge-e7520, north-bridge-k8, ooo_micro_arch, open-pic, opencores_eth, opteron-cpu, panther-mmu, pc-config, pc-dual-serial-ports, pc-floppy-controller, pc-quad-serial-ports, pc-shadow, pc-single-parallel-port, pci-am79c973, pci-backplane, pci-bcm5703c, pci-bcm5704c, pci-bus, pci-dec21041, pci-dec21140a, pci-dec21140a-dml, pci-dec21143, pci-i21152, pci-i82543gc, pci-i82546bg, pci-isp1040, pci-isp2200, pci-pd6729, pci-pmc1553-bc, pci-rage-pm-mobility-pci, pci-ragexl, pci-sil680a, pci-sym53c810, pci-sym53c875, pci-sym53c876, pci-vga, pci-voodoo3, pcie-pex8524, pcie-pex8524-nt, pcie-switch, pentium-4-cpu, pentium-4e-2ht-cpu, pentium-4e-4ht-cpu, pentium-4e-cpu, pentium-cpu, pentium-ii-cpu, pentium-iii-cpu, pentium-m-cpu, pentium-mmx-cpu, pentium-pro-cpu, perfanalyze, persistent-ram, phy-mii-transceiver, piix4_ide, piix4_isa, piix4_power, piix4_usb, piix4_usb_dummy, pmppc-board, port-forward-incoming-server, port-forward-outgoing-server, port-space, ppc-broadcast-bus, ppc-of, ppc-simple, ppc32-linux-process-tracker, ppc405gp, ppc405gp-cpc, ppc405gp-ebc, ppc405gp-emac, ppc405gp-gpio, ppc405gp-iic, ppc405gp-mal, ppc405gp-mc, ppc405gp-pci, ppc405gp-uic, ppc440gp, ppc440gp-cpc, ppc440gp-dma, ppc440gp-ebc, ppc440gp-emac, ppc440gp-gpio, ppc440gp-iic, ppc440gp-mal, ppc440gp-mc, ppc440gp-pci, ppc440gp-plb, ppc440gp-sram, ppc440gp-uic, ppc440gp-zmii, ppc440gx, ppc440gx-cpc, ppc440gx-cpr, ppc440gx-dma, ppc440gx-ebc, ppc440gx-emac, ppc440gx-gpio, ppc440gx-iic, ppc440gx-l2c, ppc440gx-mal, ppc440gx-opb, ppc440gx-pci, ppc440gx-plb, ppc440gx-rgmii, ppc440gx-sdr, ppc440gx-sdram, ppc440gx-sram, ppc440gx-uic, ppc440gx-zmii, ppc603e, ppc64-linux-process-tracker, ppc7400, ppc7447, ppc7450, ppc7457, ppc750, ppc750fx, ppc750gx, ppc970-simple, ppc970fx, ps2-keyboard-mouse, pyxis, ragexl, ram, recorder, rev-execution, rn-eth-bridge-raw, rn-eth-bridge-tap, rn-eth-proxy-raw, rn-eth-proxy-tap, rn-ip-router-raw, rn-ip-tunnel-tun, rom, rom-device, sample-device, sample-device-python, sample-gcache, sample-i2c-device, sample-ma-model, sample-ooo-model, sample-pci-device, sample-x86-ma-model, sample_micro_arch, sample_micro_arch_x86, sapic-bus, sb16, sbbc-pci, sbus-hme, scsi-bus, scsi-cdrom, scsi-disk, sdram-memory-module, serengeti-3800-chassis, serengeti-4800-chassis, serengeti-4810-chassis, serengeti-6800-chassis, serengeti-cluster-chassis, serengeti-console, serengeti-console-old, serengeti-cpci4-board, serengeti-pci8-board, serengeti-schizo, serengeti-sp-cpci6-board, serengeti-system, serengeti-us-iii-cpu-board, serengeti-us-iii-plus-cpu-board, serengeti-us-iv-cpu-board, serengeti-us-iv-plus-cpu-board, serial-link, server-console, service-node, service-node-device, set-memory, signal-bus, sim, simple-byte-dump, simple-fc-disk, sio-lpc47m172, sio-w83627hf, south-bridge-6300esb, south-bridge-amd8111, south-bridge-md1535d, south-bridge-piix4, south-bridge-saturn, south-bridge-sun-md1535d, sparc-irq-bus, spitfire-mmu, state-assertion, std-etg, std-ethernet-link, std-graphics-console, std-host-serial-console, std-ide-cdrom, std-ide-disk, std-ms1553-link, std-pcmcia-flash-disk, std-scsi-bus, std-scsi-cdrom, std-scsi-disk, std-serial-link, std-server-console, std-service-node, std-super-io, std-text-console, std-text-graphics-console, store_queue, strata-flash, sun-cpci-hme-isp, sun-cpci-isp-isp, sun-cpci-qlc-qlc, sun-keyboard, sun-mouse, sun-pci-ce, sun-pci-hme, sun-pci-hme-isp, sun-pci-pgx64, sun-pci-qlc, sun-pci-qlc-qlc, sun-sbus-fas-hme, sun-type5-keyboard, sun-type5-mouse, sun4u-ac, sun4u-clockregs, sun4u-counter, sun4u-fasdma, sun4u-fhc, sun4u-sbus-speed, sun4u-simm-status, sun4u-systemregs, sun4u-temperature, sun4u-trans2, sun4v-rtc, sunfire-3500-backplane, sunfire-4500-backplane, sunfire-6500-backplane, sunfire-cpu-board, sunfire-pci-board, sunfire-psycho, sunfire-sbus-board, sunfire-sysio, sunfire-system, symtable, taco-system, telos-basic-clock, telos-button, telos-environment, telos-io-ports, telos-mote, telos-sfr, telos-timer, telos-usart, top-component, trans-sorter, trans-splitter, trans-splitter-ooo, trans-staller, uPD66566S1016, ultrasparc-ii, ultrasparc-iii, ultrasparc-iii-i, ultrasparc-iii-plus, ultrasparc-iv, ultrasparc-iv-plus, ultrasparc-t1, v9-sol9-idle-opt, vga, vga_pci, voodoo3, voodoo3-agp, wire, x86-486sx, x86-apic-bus-system, x86-apic-system, x86-e7520-system, x86-hammer, x86-hammer-cpu, x86-linux-process-tracker, x86-p2, x86-p4, x86-reset-bus, x86-separate-mem-io-system, x86-system, x86-tlb, x87_exception
- Description
-
- Command List
-
Command Descriptions
-
<log_object>.log
- Synopsis
-
<log_object>.log [count]
log [count]
- Description
-
Display entries in log buffers. The namespace version displays the entries
for a specific object, while the global command lists the entries of all
object's log buffers but sorted by time. The optional argument is the number
of entries to list. Only the last 10 entries are listed by default.
- See Also
-
<log_object>.log-group, log-level, log-size, log-type
-
<log_object>.log-group
- Synopsis
-
<log_object>.log-group [-add] [-sub] ["log-group"]
- Description
-
A log object in Simics can specify a number of groups, and each log message
is associated with one group. Groups are typically used to separate log
messages belonging to different aspects of an object such as a device. For
example, a network device can have different group for the receive and transmit
engine, one groups for the host protocol and another for PCI accesses. Having
multiple groups simplifies debugging when only messages of the selected groups
are logged and displayed. By default all groups are active, but a single group
can be set with this command, or groups can be added and removed using the
flags -add and -sub for the command. All groups can be enabled by
setting log-group to all.
- See Also
-
log, log-level, log-size, log-type
-
<log_object>.log-level
- Synopsis
-
<log_object>.log-level [level]
log-level [level]
- Description
-
Objects in Simics can generate log messages on different log levels.
These messages will be show in the Simics command line window if the log level
for the object has been set high enough.
The default level is 1, and this is the lowest level that objects can report
messages on. Setting it to 0 will inhibit output of all messages.
Messages are also added to an access log that can be viewed by the log
command in Simics.
There are four log levels defined:
1 - important messages printed by default.
2 - "high-level" informative messages.
3 - standard debug messages.
4 - detailed information, such as register accesses.
Not all classes are converted to use this log level scheme.
- See Also
-
log, <log_object>.log-group, log-size, log-type
-
<log_object>.log-size
- Synopsis
-
<log_object>.log-size [size]
log-size [size]
- Description
-
The namespace version of this command changes the buffer size (number of
entries) for log messages and I/O trace entries for an objects. The global
command applies to all log objects. When called with no arguments, the size
of the log buffers are listed.
- See Also
-
log, <log_object>.log-group, log-level, log-type
-
<log_object>.log-type
- Synopsis
-
<log_object>.log-type [-add] [-sub] ["log-type"]
log-type [-add] [-sub] ["log-type"]
- Description
-
Log messages are categorised into one of the several log types. By default,
messages of all types are handled in the same way. This command can be used
to select one or several types. Only messages of the selected types will be
logged and displayed, as defined by the log-level command. The
flags -add and -sub can be used to add and remove a single log
type. The log types are documented with the log_type_t data type,
and are Info, Error, Undefined, Spec_Violation, Target_Error, Unimplemented.
All types can be enabled by setting log-type to all.
- See Also
-
log, <log_object>.log-group, log-level, log-size
VIRTUTECH CONFIDENTIAL Previous - Up - Next