It seems more expected to show addresses in hexadecimal.
I applied this to all fields named "ip" or "addr".
I haven't change the `addr` fields in the i2c.h file as I am not aware
of what is the convention when displaying I2C addresses.
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I6ed00b31e319e1d966ab138471248dcf3d2c7315
TP_ARGS(addr, pferr),
TP_FIELDS(
- ctf_integer(__u64, addr, addr)
+ ctf_integer_hex(__u64, addr, addr)
ctf_integer(__u32, pferr, pferr)
)
)
TP_ARGS(addr, write_fault, user_fault, fetch_fault),
TP_FIELDS(
- ctf_integer(__u64, addr, addr)
+ ctf_integer_hex(__u64, addr, addr)
ctf_integer(__u32, pferr,
(!!write_fault << 1) | (!!user_fault << 2)
| (!!fetch_fault << 4))
TP_ARGS(addr, gfn, access),
TP_FIELDS(
- ctf_integer(u64, addr, addr)
+ ctf_integer_hex(u64, addr, addr)
ctf_integer(gfn_t, gfn, gfn)
ctf_integer(unsigned, access, access)
)
TP_ARGS(fault_address, error_code),
TP_FIELDS(
- ctf_integer(unsigned long, fault_address, fault_address)
+ ctf_integer_hex(unsigned long, fault_address, fault_address)
ctf_integer(unsigned int, error_code, error_code)
)
)
TP_FIELDS(
ctf_integer(__u64, rip, rip)
ctf_integer(int, asid, asid)
- ctf_integer(__u64, address, address)
+ ctf_integer_hex(__u64, address, address)
)
)
TP_FIELDS(
ctf_integer_hex(const struct extent_state *, state, state)
ctf_integer(gfp_t, mask, mask)
- ctf_integer(unsigned long, ip, IP)
+ ctf_integer_hex(unsigned long, ip, IP)
)
)
TP_FIELDS(
ctf_integer_hex(const struct extent_state *, state, state)
- ctf_integer(unsigned long, ip, IP)
+ ctf_integer_hex(unsigned long, ip, IP)
)
)
#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3,4,0))
TP_FIELDS(
ctf_integer_hex(struct extent_state *, state, state)
ctf_integer(gfp_t, mask, mask)
- ctf_integer(unsigned long, ip, IP)
+ ctf_integer_hex(unsigned long, ip, IP)
)
)
TP_FIELDS(
ctf_integer_hex(struct extent_state *, state, state)
- ctf_integer(unsigned long, ip, IP)
+ ctf_integer_hex(unsigned long, ip, IP)
)
)
#endif
TP_FIELDS(
ctf_integer(dev_t, dev, inode->i_sb->s_dev)
ctf_integer(ino_t, ino, inode->i_ino)
- ctf_integer(unsigned long, ip, IP)
+ ctf_integer_hex(unsigned long, ip, IP)
)
)
TP_FIELDS(
ctf_integer(dev_t, dev, inode->i_sb->s_dev)
ctf_integer(ino_t, ino, inode->i_ino)
- ctf_integer(unsigned long, ip, IP)
+ ctf_integer_hex(unsigned long, ip, IP)
)
)
TP_FIELDS(
ctf_integer(dev_t, dev, sb->s_dev)
- ctf_integer(unsigned long, ip, IP)
+ ctf_integer_hex(unsigned long, ip, IP)
ctf_integer(int, blocks, blocks)
ctf_integer(int, rsv_blocks, rsv_blocks)
ctf_integer(int, revoke_creds, revoke_creds)
TP_FIELDS(
ctf_integer(dev_t, dev, sb->s_dev)
- ctf_integer(unsigned long, ip, IP)
+ ctf_integer_hex(unsigned long, ip, IP)
ctf_integer(int, blocks, blocks)
)
)
TP_FIELDS(
ctf_integer(dev_t, dev, sb->s_dev)
- ctf_integer(unsigned long, ip, IP)
+ ctf_integer_hex(unsigned long, ip, IP)
ctf_integer(int, blocks, blocks)
ctf_integer(int, rsv_blocks, rsv_blocks)
)
TP_FIELDS(
ctf_integer(dev_t, dev, sb->s_dev)
- ctf_integer(unsigned long, ip, IP)
+ ctf_integer_hex(unsigned long, ip, IP)
ctf_integer(int, blocks, blocks)
)
)
TP_FIELDS(
ctf_integer(dev_t, dev, sb->s_dev)
- ctf_integer(unsigned long, ip, IP)
+ ctf_integer_hex(unsigned long, ip, IP)
ctf_integer(int, nblocks, nblocks)
)
)
TP_ARGS(address, data),
TP_FIELDS(
- ctf_integer(__u64, address, address)
+ ctf_integer_hex(__u64, address, address)
ctf_integer(__u64, data, data)
)
)
TP_ARGS(address, gva),
TP_FIELDS(
- ctf_integer(unsigned long, address, address)
+ ctf_integer_hex(unsigned long, address, address)
ctf_integer(u64, gva, gva)
)
)
TP_ARGS(address, page, gva),
TP_FIELDS(
- ctf_integer(unsigned long, address, address)
+ ctf_integer_hex(unsigned long, address, address)
ctf_integer(pfn_t, pfn, page ? page_to_pfn(page) : 0)
ctf_integer(u64, gva, gva)
)
TP_ARGS(mod, ip),
TP_FIELDS(
- ctf_integer(unsigned long, ip, ip)
+ ctf_integer_hex(unsigned long, ip, ip)
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0))
ctf_integer(int, refcnt, atomic_read(&mod->refcnt))
#else
TP_ARGS(name, wait, ip),
TP_FIELDS(
- ctf_integer(unsigned long, ip, ip)
+ ctf_integer_hex(unsigned long, ip, ip)
ctf_integer(bool, wait, wait)
ctf_string(name, name)
)
TP_FIELDS(
ctf_string(pool_name, pool_name)
ctf_integer(int, bytes, bytes)
- ctf_integer(unsigned long, IP, IP)
+ ctf_integer_hex(unsigned long, IP, IP)
)
)
ctf_string(pool_name, pool_name)
ctf_integer(int, bits, bits)
ctf_integer(int, entropy_count, entropy_count)
- ctf_integer(unsigned long, IP, IP)
+ ctf_integer_hex(unsigned long, IP, IP)
)
)
#else
ctf_integer(int, bits, bits)
ctf_integer(int, entropy_count, entropy_count)
ctf_integer(int, entropy_total, entropy_total)
- ctf_integer(unsigned long, IP, IP)
+ ctf_integer_hex(unsigned long, IP, IP)
)
)
#endif
TP_FIELDS(
ctf_integer(int, nbytes, nbytes)
- ctf_integer(unsigned long, IP, IP)
+ ctf_integer_hex(unsigned long, IP, IP)
)
)
ctf_string(pool_name, pool_name)
ctf_integer(int, nbytes, nbytes)
ctf_integer(int, entropy_count, entropy_count)
- ctf_integer(unsigned long, IP, IP)
+ ctf_integer_hex(unsigned long, IP, IP)
)
)
TP_FIELDS(
ctf_string(name, dev_name(dev))
- ctf_integer(unsigned long, ip, ip)
+ ctf_integer_hex(unsigned long, ip, ip)
ctf_integer(int, ret, ret)
)
)