2017-07-29 01:46:05 +03:00
|
|
|
# See docs/devel/tracing.txt for syntax documentation.
|
2016-06-16 11:40:06 +03:00
|
|
|
|
2019-03-14 21:09:26 +03:00
|
|
|
# rc4030.c
|
2016-06-16 11:40:06 +03:00
|
|
|
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"
|
|
|
|
|
2019-03-14 21:09:26 +03:00
|
|
|
# sparc32_dma.c
|
2017-10-14 15:22:22 +03: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 11:40:06 +03:00
|
|
|
sparc32_dma_set_irq_raise(void) "Raise IRQ"
|
|
|
|
sparc32_dma_set_irq_lower(void) "Lower IRQ"
|
2017-10-14 15:22:22 +03: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 19:01:35 +03: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 11:40:06 +03:00
|
|
|
sparc32_dma_enable_raise(void) "Raise DMA enable"
|
|
|
|
sparc32_dma_enable_lower(void) "Lower DMA enable"
|
|
|
|
|
2019-03-14 21:09:26 +03:00
|
|
|
# i8257.c
|
2016-06-16 11:40:06 +03:00
|
|
|
i8257_unregistered_dma(int nchan, int dma_pos, int dma_len) "unregistered DMA channel used nchan=%d dma_pos=%d dma_len=%d"
|
2020-01-23 18:22:41 +03:00
|
|
|
|
|
|
|
# pl330.c
|
|
|
|
pl330_fault(void *ptr, uint32_t flags) "ch: %p, flags: 0x%"PRIx32
|
|
|
|
pl330_fault_abort(void) "abort interrupt raised"
|
|
|
|
pl330_dmaend(void) "DMA ending"
|
|
|
|
pl330_dmago(void) "DMA run"
|
|
|
|
pl330_dmald(uint8_t chan, uint32_t addr, uint32_t size, uint32_t num, char ch) "channel:%"PRId8" address:0x%08"PRIx32" size:0x%"PRIx32" num:%"PRId32"%c"
|
|
|
|
pl330_dmakill(void) "abort interrupt lowered"
|
|
|
|
pl330_dmalpend(uint8_t nf, uint8_t bs, uint8_t lc, uint8_t ch, uint8_t flag) "nf=0x%02x bs=0x%02x lc=0x%02x ch=0x%02x flag=0x%02x"
|
|
|
|
pl330_dmalpiter(void) "loop reiteration"
|
|
|
|
pl330_dmalpfallthrough(void) "loop fallthrough"
|
|
|
|
pl330_dmasev_evirq(uint8_t ev_id) "event interrupt raised %"PRId8
|
|
|
|
pl330_dmasev_event(uint8_t ev_id) "event raised %"PRId8
|
|
|
|
pl330_dmast(uint8_t chan, uint32_t addr, uint32_t sz, uint32_t num, char ch) "channel:%"PRId8" address:0x%08"PRIx32" size:0x%"PRIx32" num:%"PRId32" %c"
|
|
|
|
pl330_dmawfe(uint8_t ev_id) "event lowered 0x%"PRIx8
|
|
|
|
pl330_chan_exec_undef(void) "undefined instruction"
|
|
|
|
pl330_exec_cycle(uint32_t addr, uint32_t size) "PL330 read from memory @0x%08"PRIx32" (size = 0x%08"PRIx32")"
|
|
|
|
pl330_hexdump(uint32_t offset, char *str) " 0x%04"PRIx32":%s"
|
|
|
|
pl330_exec(void) "pl330_exec"
|
|
|
|
pl330_debug_exec(uint8_t ch) "chan id: 0x%"PRIx8
|
|
|
|
pl330_debug_exec_stall(void) "stall of debug instruction not implemented"
|
|
|
|
pl330_iomem_write(uint32_t offset, uint32_t value) "addr: 0x%08"PRIx32" data: 0x%08"PRIx32
|
|
|
|
pl330_iomem_write_clr(int i) "event interrupt lowered %d"
|
|
|
|
pl330_iomem_read(uint32_t addr, uint32_t data) "addr: 0x%08"PRIx32" data: 0x%08"PRIx32
|