Masami Hiramatsu
1e032f7cfa
perf-probe: Add user memory access attribute support
...
Add user memory access attribute for kprobe event arguments.
If a given 'local variable' is in user-space, User can
specify memory access method by '@user' suffix. This is
not only for string but also for data structure.
If we access a field of data structure in user memory from
kernel on some arch, it will fail. e.g.
perf probe -a "sched_setscheduler param->sched_priority"
This will fail to access the "param->sched_priority" because
the param is __user pointer. Instead, we can now specify
@user suffix for such argument.
perf probe -a "sched_setscheduler param->sched_priority@user"
Note that kernel memory access with "@user" must always fail
on any arch.
Link: http://lkml.kernel.org/r/155789874562.26965.10836126971405890891.stgit@devnote2
Acked-by: Ingo Molnar <mingo@kernel.org >
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org >
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org >
2019-05-25 23:04:42 -04:00
..
2019-03-06 09:47:48 -03:00
2019-03-28 14:31:55 -03:00
2019-01-03 18:57:57 -08:00
2019-05-16 14:17:24 -03:00
2017-11-02 11:10:55 +01:00
2019-04-01 15:18:10 -03:00
2019-05-15 16:36:46 -03:00
2019-03-20 16:43:15 -03:00
2019-03-11 11:56:02 -03:00
2018-01-17 10:23:31 -03:00
2018-01-17 10:23:31 -03:00
2018-01-17 10:23:31 -03:00
2018-01-17 10:23:31 -03:00
2019-03-01 14:47:06 -03:00
2019-02-06 11:20:32 -03:00
2019-01-25 15:12:09 +01:00
2019-01-25 15:12:09 +01:00
2019-02-19 16:11:56 -03:00
2019-02-19 16:11:56 -03:00
2019-03-21 11:27:04 -03:00
2019-03-21 11:27:04 -03:00
2019-03-06 07:59:36 -08:00
2019-02-06 10:00:39 -03:00
2018-06-15 18:10:01 -03:00
2017-11-02 11:10:55 +01:00
2017-07-18 23:14:40 -03:00
2019-01-25 15:12:08 +01:00
2019-05-15 16:36:49 -03:00
2019-03-19 16:52:04 -03:00
2019-01-25 15:12:09 +01:00
2017-11-02 11:10:55 +01:00
2019-02-06 10:00:38 -03:00
2019-02-06 10:00:38 -03:00
2018-06-04 10:28:50 -03:00
2018-03-07 10:22:26 -03:00
2019-05-02 16:00:20 -04:00
2017-11-02 11:10:55 +01:00
2019-01-21 17:38:56 -03:00
2019-01-21 17:38:56 -03:00
2019-01-25 15:12:08 +01:00
2019-01-25 15:12:09 +01:00
2019-01-25 15:12:09 +01:00
2019-05-15 16:36:49 -03:00
2019-03-19 16:52:04 -03:00
2018-05-16 16:11:09 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-02-06 10:00:39 -03:00
2019-02-20 17:08:39 -03:00
2019-02-06 10:00:39 -03:00
2019-02-19 12:21:10 -03:00
2019-02-19 12:21:06 -03:00
2019-05-02 16:00:20 -04:00
2019-02-14 15:18:06 -03:00
2017-11-02 11:10:55 +01:00
2019-04-01 15:18:10 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-03-19 11:56:20 -03:00
2019-03-19 11:56:20 -03:00
2019-03-01 14:50:47 -03:00
2019-03-01 14:50:47 -03:00
2018-03-16 16:39:02 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-03-19 16:52:07 -03:00
2019-03-19 16:52:07 -03:00
2018-12-28 16:33:02 -03:00
2018-12-28 16:33:02 -03:00
2018-04-02 13:50:24 -03:00
2016-09-29 11:17:08 -03:00
2017-11-02 11:10:55 +01:00
2019-05-02 16:00:19 -04:00
2019-05-15 16:36:49 -03:00
2019-05-15 16:36:49 -03:00
2019-05-15 16:36:49 -03:00
2019-05-15 16:36:49 -03:00
2019-05-15 16:36:49 -03:00
2018-12-17 14:57:07 -03:00
2019-05-16 14:17:24 -03:00
2019-05-16 14:17:24 -03:00
2017-11-02 11:10:55 +01:00
2017-08-22 12:19:08 -03:00
2019-01-08 13:28:13 -03:00
2017-06-19 15:27:07 -03:00
2018-04-30 12:02:03 -03:00
2018-10-18 11:16:38 -03:00
2018-04-12 10:33:31 -03:00
2018-11-19 12:12:17 -08:00
2017-11-02 11:10:55 +01:00
2019-05-15 16:36:49 -03:00
2019-05-15 16:36:49 -03:00
2017-11-02 11:10:55 +01:00
2019-03-19 16:52:04 -03:00
2019-03-11 16:33:19 -03:00
2019-03-06 17:55:35 -03:00
2019-03-01 14:48:30 -03:00
2016-09-29 11:17:05 -03:00
2019-01-25 15:12:10 +01:00
2017-11-07 10:30:18 +01:00
2019-01-25 15:12:09 +01:00
2016-10-24 11:07:39 -03:00
2019-02-06 10:00:39 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-08-30 15:52:20 -03:00
2018-08-20 08:54:58 -03:00
2018-08-20 08:54:59 -03:00
2019-05-15 16:36:47 -03:00
2019-02-06 10:00:38 -03:00
2019-02-06 10:00:38 -03:00
2019-02-06 10:00:38 -03:00
2019-04-17 14:30:11 -03:00
2019-04-17 14:30:11 -03:00
2018-03-16 13:52:37 -03:00
2018-03-16 13:52:37 -03:00
2019-02-04 11:32:14 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-02-14 15:18:09 -03:00
2019-02-14 15:18:09 -03:00
2019-05-15 16:36:49 -03:00
2019-05-15 16:36:49 -03:00
2018-11-19 12:12:26 -08:00
2018-11-19 12:12:26 -08:00
2019-03-19 16:52:05 -03:00
2018-12-17 15:02:17 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-05-16 14:17:24 -03:00
2019-05-16 14:17:24 -03:00
2019-05-16 14:17:24 -03:00
2019-04-01 14:49:24 -03:00
2019-05-16 14:17:12 -03:00
2019-05-15 16:36:49 -03:00
2017-12-27 12:15:48 -03:00
2017-12-27 12:15:48 -03:00
2019-05-16 14:17:12 -03:00
2019-05-16 14:17:12 -03:00
2016-11-29 12:13:27 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-03-28 15:53:27 -03:00
2019-03-06 18:18:17 -03:00
2017-11-07 10:30:18 +01:00
2017-11-07 10:30:18 +01:00
2019-05-25 23:04:42 -04:00
2019-05-25 23:04:42 -04:00
2019-05-25 23:04:42 -04:00
2019-05-25 23:04:42 -04:00
2019-05-25 23:04:42 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-27 12:15:56 -03:00
2019-04-01 15:18:10 -03:00
2019-01-25 15:12:10 +01:00
2019-01-25 15:12:10 +01:00
2019-01-25 15:12:10 +01:00
2018-03-05 11:52:41 -03:00
2017-09-21 13:28:06 -03:00
2017-09-21 13:28:06 -03:00
2019-01-21 17:00:48 -03:00
2018-08-08 15:26:48 -03:00
2019-02-14 13:31:08 -03:00
2018-08-03 10:34:18 -03:00
2019-01-21 17:00:56 -03:00
2019-01-21 17:00:48 -03:00
2019-01-21 17:00:48 -03:00
2017-11-02 11:10:55 +01:00
2019-05-15 16:36:49 -03:00
2019-05-15 16:36:49 -03:00
2017-07-18 23:14:08 -03:00
2019-02-06 10:00:39 -03:00
2017-08-22 12:09:04 -03:00
2017-08-22 12:09:04 -03:00
2019-03-19 16:15:42 -03:00
2019-03-19 16:15:42 -03:00
2018-12-17 14:57:07 -03:00
2019-02-06 10:00:38 -03:00
2019-02-19 12:30:12 -03:00
2019-01-25 15:12:09 +01:00
2019-05-16 14:17:24 -03:00
2019-01-25 15:12:10 +01:00
2019-05-16 14:17:24 -03:00
2018-09-19 10:25:10 -03:00
2019-01-04 12:54:49 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-27 12:15:55 -03:00
2017-12-27 12:15:55 -03:00
2017-04-24 13:43:33 -03:00
2019-01-25 15:12:10 +01:00
2018-12-17 14:59:20 -03:00
2017-11-02 11:10:55 +01:00
2019-03-11 16:33:19 -03:00
2019-01-25 15:12:10 +01:00
2019-02-09 13:16:01 +01:00
2019-01-25 15:12:09 +01:00
2019-03-19 16:52:07 -03:00
2019-02-06 10:00:38 -03:00
2018-07-24 14:53:01 -03:00
2017-11-02 11:10:55 +01:00
2016-07-29 11:54:35 -03:00
2017-12-27 12:15:47 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-02-27 11:29:21 -03:00
2018-02-27 11:29:21 -03:00
2019-03-01 14:50:47 -03:00
2019-03-01 14:50:47 -03:00
2019-05-15 16:36:46 -03:00
2019-03-06 17:55:35 -03:00
2019-03-11 11:56:02 -03:00
2019-03-11 11:56:02 -03:00
2019-05-15 16:36:49 -03:00
2018-12-17 14:58:47 -03:00
2018-12-17 14:58:33 -03:00
2018-10-08 14:23:45 -03:00
2019-04-01 15:18:10 -03:00
2019-04-01 15:18:09 -03:00
2018-08-10 15:29:35 -03:00
2019-04-01 15:18:09 -03:00
2018-12-17 14:56:02 -03:00
2018-03-06 11:31:14 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-02-06 10:00:38 -03:00
2017-11-02 11:10:55 +01:00
2019-05-15 16:36:46 -03:00
2019-05-15 16:36:46 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-02-25 10:58:28 -03:00
2019-02-25 10:58:28 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-02-06 10:00:38 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-01-21 15:15:57 -03:00
2019-05-15 16:36:49 -03:00