2021-05-17 18:16:58 +03:00
|
|
|
# See docs/devel/tracing.rst for syntax documentation.
|
2016-06-16 11:40:23 +03:00
|
|
|
|
2019-03-14 21:09:26 +03:00
|
|
|
# mmu_helper.c
|
2016-06-16 11:40:23 +03:00
|
|
|
get_skeys_nonzero(int rc) "SKEY: Call to get_skeys unexpectedly returned %d"
|
|
|
|
set_skeys_nonzero(int rc) "SKEY: Call to set_skeys unexpectedly returned %d"
|
|
|
|
|
2019-03-14 21:09:26 +03:00
|
|
|
# ioinst.c
|
2016-06-16 11:40:23 +03:00
|
|
|
ioinst(const char *insn) "IOINST: %s"
|
|
|
|
ioinst_sch_id(const char *insn, int cssid, int ssid, int schid) "IOINST: %s (%x.%x.%04x)"
|
|
|
|
ioinst_chp_id(const char *insn, int cssid, int chpid) "IOINST: %s (%x.%02x)"
|
trace-events: fix code style: print 0x before hex numbers
The only exception are groups of numers separated by symbols
'.', ' ', ':', '/', like 'ab.09.7d'.
This patch is made by the following:
> find . -name trace-events | xargs python script.py
where script.py is the following python script:
=========================
#!/usr/bin/env python
import sys
import re
import fileinput
rhex = '%[-+ *.0-9]*(?:[hljztL]|ll|hh)?(?:x|X|"\s*PRI[xX][^"]*"?)'
rgroup = re.compile('((?:' + rhex + '[.:/ ])+' + rhex + ')')
rbad = re.compile('(?<!0x)' + rhex)
files = sys.argv[1:]
for fname in files:
for line in fileinput.input(fname, inplace=True):
arr = re.split(rgroup, line)
for i in range(0, len(arr), 2):
arr[i] = re.sub(rbad, '0x\g<0>', arr[i])
sys.stdout.write(''.join(arr))
=========================
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Acked-by: Cornelia Huck <cohuck@redhat.com>
Message-id: 20170731160135.12101-5-vsementsov@virtuozzo.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2017-07-31 19:01:35 +03:00
|
|
|
ioinst_chsc_cmd(uint16_t cmd, uint16_t len) "IOINST: chsc command 0x%04x, len 0x%04x"
|
2016-06-16 11:40:23 +03:00
|
|
|
|
2019-03-14 21:09:26 +03:00
|
|
|
# kvm.c
|
2016-06-16 11:40:23 +03:00
|
|
|
kvm_enable_cmma(int rc) "CMMA: enabling with result code %d"
|
|
|
|
kvm_clear_cmma(int rc) "CMMA: clearing with result code %d"
|
|
|
|
kvm_failed_cpu_state_set(int cpu_index, uint8_t state, const char *msg) "Warning: Unable to set cpu %d state %" PRIu8 " to KVM: %s"
|
2019-02-12 17:50:00 +03:00
|
|
|
kvm_assign_subch_ioeventfd(int fd, uint32_t addr, bool assign, int datamatch) "fd: %d sch: @0x%x assign: %d vq: %d"
|
2016-06-16 11:40:23 +03:00
|
|
|
|
2019-03-14 21:09:26 +03:00
|
|
|
# cpu.c
|
2016-06-16 11:40:23 +03:00
|
|
|
cpu_set_state(int cpu_index, uint8_t state) "setting cpu %d state to %" PRIu8
|
|
|
|
cpu_halt(int cpu_index) "halting cpu %d"
|
|
|
|
cpu_unhalt(int cpu_index) "unhalting cpu %d"
|
2017-09-28 23:36:54 +03:00
|
|
|
|
2019-03-14 21:09:26 +03:00
|
|
|
# sigp.c
|
2017-09-28 23:36:54 +03:00
|
|
|
sigp_finished(uint8_t order, int cpu_index, int dst_index, int cc) "SIGP: Finished order %u on cpu %d -> cpu %d with cc=%d"
|