2017-07-29 00:46:05 +02:00
|
|
|
# See docs/devel/tracing.txt for syntax documentation.
|
2016-06-16 10:40:06 +02:00
|
|
|
|
|
|
|
# hw/dma/rc4030.c
|
|
|
|
jazzio_read(uint64_t addr, uint32_t ret) "read reg[0x%"PRIx64"] = 0x%x"
|
|
|
|
jazzio_write(uint64_t addr, uint32_t val) "write reg[0x%"PRIx64"] = 0x%x"
|
|
|
|
rc4030_read(uint64_t addr, uint32_t ret) "read reg[0x%"PRIx64"] = 0x%x"
|
|
|
|
rc4030_write(uint64_t addr, uint32_t val) "write reg[0x%"PRIx64"] = 0x%x"
|
|
|
|
|
|
|
|
# hw/dma/sparc32_dma.c
|
2017-10-14 14:22:22 +02:00
|
|
|
ledma_memory_read(uint64_t addr, int len) "DMA read addr 0x%"PRIx64 " len %d"
|
|
|
|
ledma_memory_write(uint64_t addr, int len) "DMA write addr 0x%"PRIx64 " len %d"
|
2016-06-16 10:40:06 +02:00
|
|
|
sparc32_dma_set_irq_raise(void) "Raise IRQ"
|
|
|
|
sparc32_dma_set_irq_lower(void) "Lower IRQ"
|
2017-10-14 14:22:22 +02:00
|
|
|
espdma_memory_read(uint32_t addr, int len) "DMA read addr 0x%08x len %d"
|
|
|
|
espdma_memory_write(uint32_t addr, int len) "DMA write addr 0x%08x len %d"
|
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 18:01:35 +02:00
|
|
|
sparc32_dma_mem_readl(uint64_t addr, uint32_t ret) "read dmareg 0x%"PRIx64": 0x%08x"
|
|
|
|
sparc32_dma_mem_writel(uint64_t addr, uint32_t old, uint32_t val) "write dmareg 0x%"PRIx64": 0x%08x -> 0x%08x"
|
2016-06-16 10:40:06 +02:00
|
|
|
sparc32_dma_enable_raise(void) "Raise DMA enable"
|
|
|
|
sparc32_dma_enable_lower(void) "Lower DMA enable"
|
|
|
|
|
|
|
|
# hw/dma/i8257.c
|
|
|
|
i8257_unregistered_dma(int nchan, int dma_pos, int dma_len) "unregistered DMA channel used nchan=%d dma_pos=%d dma_len=%d"
|