~lttng/lttng-modules/trunk

« back to all changes in this revision

Viewing changes to instrumentation/events/lttng-module/btrfs.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:
2331
2331
        TP_FIELDS(
2332
2332
                ctf_integer_hex(const struct extent_state *, state, state)
2333
2333
                ctf_integer(gfp_t, mask, mask)
2334
 
                ctf_integer(unsigned long, ip, IP)
 
2334
                ctf_integer_hex(unsigned long, ip, IP)
2335
2335
        )
2336
2336
)
2337
2337
 
2345
2345
 
2346
2346
        TP_FIELDS(
2347
2347
                ctf_integer_hex(const struct extent_state *, state, state)
2348
 
                ctf_integer(unsigned long, ip, IP)
 
2348
                ctf_integer_hex(unsigned long, ip, IP)
2349
2349
        )
2350
2350
)
2351
2351
#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3,4,0))
2360
2360
        TP_FIELDS(
2361
2361
                ctf_integer_hex(struct extent_state *, state, state)
2362
2362
                ctf_integer(gfp_t, mask, mask)
2363
 
                ctf_integer(unsigned long, ip, IP)
 
2363
                ctf_integer_hex(unsigned long, ip, IP)
2364
2364
        )
2365
2365
)
2366
2366
 
2374
2374
 
2375
2375
        TP_FIELDS(
2376
2376
                ctf_integer_hex(struct extent_state *, state, state)
2377
 
                ctf_integer(unsigned long, ip, IP)
 
2377
                ctf_integer_hex(unsigned long, ip, IP)
2378
2378
        )
2379
2379
)
2380
2380
#endif