Taeung Song
026842d148
tracing/syscalls: Rename "/format" tracepoint field name "nr" to "__syscall_nr:
Some tracepoint have multiple fields with the same name, "nr", the first
one is a unique syscall ID, the other is a syscall argument:
# cat /sys/kernel/debug/tracing/events/syscalls/sys_enter_io_getevents/format
name: sys_enter_io_getevents
ID: 747
format:
field:unsigned short common_type; offset:0; size:2; signed:0;
field:unsigned char common_flags; offset:2; size:1; signed:0;
field:unsigned char common_preempt_count; offset:3; size:1; signed:0;
field:int common_pid; offset:4; size:4; signed:1;
field:int nr; offset:8; size:4; signed:1;
field:aio_context_t ctx_id; offset:16; size:8; signed:0;
field:long min_nr; offset:24; size:8; signed:0;
field:long nr; offset:32; size:8; signed:0;
field:struct io_event * events; offset:40; size:8; signed:0;
field:struct timespec * timeout; offset:48; size:8; signed:0;
print fmt: "ctx_id: 0x%08lx, min_nr: 0x%08lx, nr: 0x%08lx, events: 0x%08lx, timeout: 0x%08lx", ((unsigned long)(REC->ctx_id)), ((unsigned long)(REC->min_nr)), ((unsigned long)(REC->nr)), ((unsigned long)(REC->events)), ((unsigned long)(REC->timeout))
#
Fix it by renaming the "/format" common tracepoint field "nr" to "__syscall_nr".
Signed-off-by: Taeung Song <[email protected]>
[ Do not rename the struct member, just the '/format' field name ]
Signed-off-by: Steven Rostedt <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Lai Jiangshan <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
2016-02-29 11:34:53 -03:00
..
2016-02-10 16:56:47 -05:00
2015-12-04 22:46:25 +01:00
2016-02-29 09:35:27 +01:00
2015-12-04 22:46:25 +01:00
2016-01-31 14:48:58 -08:00
2015-12-04 22:51:07 +01:00
2016-02-14 12:02:05 -08:00
2016-01-27 23:20:14 +01:00
2016-01-20 17:09:18 -08:00
2015-12-07 17:02:54 -08:00
2016-02-17 10:02:00 +01:00
2016-01-31 15:49:06 -08:00
2016-02-29 11:34:53 -03:00
2015-10-21 15:18:35 +01:00
2015-11-19 17:51:48 +01:00
2016-01-22 18:04:28 -05:00
2015-11-04 08:23:51 -05:00
2016-01-22 18:04:28 -05:00
2016-01-17 19:13:15 -08:00
2015-12-24 11:09:39 -05:00
2015-11-04 08:23:51 -05:00
2015-12-24 11:09:39 -05:00
2015-12-03 10:24:08 -05:00
2015-12-14 14:54:37 -05:00
2016-01-22 10:42:58 -05:00
2015-11-24 09:56:43 +01:00
2015-09-03 02:42:20 +02:00
2016-01-20 17:09:18 -08:00
2016-01-22 10:22:46 -05:00
2016-01-14 16:00:49 -08:00
2016-01-14 16:00:49 -08:00
2016-01-20 17:09:18 -08:00
2015-09-10 13:29:01 -07:00
2016-01-14 16:00:49 -08:00
2016-01-20 17:09:18 -08:00
2016-01-26 11:08:35 +01:00
2015-11-23 09:44:58 +01:00
2015-11-23 09:44:58 +01:00
2016-01-20 17:09:18 -08:00
2016-01-20 17:09:18 -08:00
2016-01-20 17:09:18 -08:00
2016-01-20 17:09:18 -08:00
2016-01-20 17:09:18 -08:00
2015-10-23 17:55:10 +09:00
2015-08-04 10:16:54 +02:00
2015-12-07 16:59:37 -08:00
2015-09-04 16:54:41 -07:00
2015-09-11 15:21:34 -07:00
2015-09-11 15:21:34 -07:00
2016-02-25 18:54:53 -08:00
2015-10-21 15:18:36 +01:00
2016-02-18 16:34:15 -08:00
2015-09-01 08:40:25 -07:00
2016-01-16 11:17:25 -08:00
2015-11-09 15:53:39 -08:00
2016-01-31 15:44:04 -08:00
2015-09-08 15:35:28 -07:00
2016-01-20 17:09:18 -08:00
2015-09-10 13:29:01 -07:00
2016-01-22 18:04:28 -05:00
2016-02-20 08:57:52 -08:00
2016-01-27 07:38:25 -08:00
2016-02-05 18:10:40 -08:00
2015-11-06 17:50:42 -08:00
2015-10-20 10:23:55 +02:00
2016-01-16 11:17:24 -08:00
2015-12-01 14:00:53 -05:00
2016-01-20 17:09:18 -08:00
2016-01-22 10:24:03 -08:00
2015-09-05 13:46:58 -07:00
2015-10-06 11:25:01 -07:00
2015-10-25 21:33:54 -04:00
2016-01-04 10:27:55 -05:00
2016-01-11 18:53:13 -08:00
2016-02-10 12:13:05 -05:00