~lttng/lttng-modules/trunk

« back to all changes in this revision

Viewing changes to instrumentation/events/lttng-module/arch/x86/kvm/trace.h

  • Committer: Mathieu Desnoyers
  • Author(s): Francis Deslauriers
  • Date: 2020-02-26 15:53:37 UTC
  • Revision ID: git-v1:2c054599f20c4abba83e11221d71056dc15448cf
Change integer base to hex for fields representing addresses

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

Show diffs side-by-side

added added

removed removed

Lines of Context:
173
173
        TP_ARGS(fault_address, error_code),
174
174
 
175
175
        TP_FIELDS(
176
 
                ctf_integer(unsigned long, fault_address, fault_address)
 
176
                ctf_integer_hex(unsigned long, fault_address, fault_address)
177
177
                ctf_integer(unsigned int, error_code, error_code)
178
178
        )
179
179
)
363
363
        TP_FIELDS(
364
364
                ctf_integer(__u64, rip, rip)
365
365
                ctf_integer(int, asid, asid)
366
 
                ctf_integer(__u64, address, address)
 
366
                ctf_integer_hex(__u64, address, address)
367
367
        )
368
368
)
369
369