Li Huafei
6cfbbb961b
tracing/kprobe: Fix kprobe_on_func_entry() modification
...
The commit 960434acef ("tracing/kprobe: Fix to support kretprobe
events on unloaded modules") backport from v5.11, which modifies the
return value of kprobe_on_func_entry(). However, there is no adaptation
modification in create_trace_kprobe(), resulting in the exact opposite
behavior. Now we need to return an error immediately only if
kprobe_on_func_entry() returns -EINVAL.
Fixes: 960434acef ("tracing/kprobe: Fix to support kretprobe events on unloaded modules")
Signed-off-by: Li Huafei <lihuafei1@huawei.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2021-09-26 13:39:47 +02:00
..
2021-09-22 11:47:59 +02:00
2021-06-16 11:54:59 +02:00
2018-06-15 07:15:28 +09:00
2021-03-04 09:39:31 +01:00
2020-11-18 19:18:51 +01:00
2021-09-22 11:48:11 +02:00
2020-09-17 13:45:31 +02:00
2021-08-26 08:36:40 -04:00
2019-10-07 18:57:10 +02:00
2021-09-22 11:47:48 +02:00
2021-02-03 23:23:24 +01:00
2021-03-04 09:39:57 +01:00
2021-09-26 13:39:46 +02:00
2021-09-22 11:47:49 +02:00
2021-09-22 11:47:49 +02:00
2021-09-26 13:39:47 +02:00
2019-05-31 06:46:05 -07:00
2018-02-06 18:32:44 -08:00
2018-05-18 14:58:22 +02:00
2019-12-13 08:51:11 +01:00
2020-10-01 13:14:33 +02:00
2020-06-22 09:05:13 +02:00
2020-06-22 09:05:13 +02:00
2020-06-22 09:05:13 +02:00
2019-12-01 09:17:17 +01:00
2018-11-13 11:08:47 -08:00
2020-01-23 08:21:29 +01:00
2020-06-22 09:04:58 +02:00
2016-12-24 11:46:01 -08:00
2020-06-22 09:05:28 +02:00
2021-07-20 16:16:04 +02:00
2018-08-22 10:52:47 -07:00
2020-01-09 10:19:00 +01:00
2018-04-27 14:34:51 +02:00
2018-05-16 07:23:35 +02:00
2018-05-16 07:23:35 +02:00
2021-01-30 13:32:11 +01:00
2018-02-21 16:54:06 +01:00
2020-11-24 13:27:23 +01:00
2021-09-22 11:48:09 +02:00
2018-08-06 12:35:20 +02:00
2021-07-11 12:49:30 +02:00
2017-12-14 16:00:49 -08:00
2019-04-20 09:16:02 +02:00
2018-05-15 23:08:33 -07:00
2019-05-31 06:46:19 -07:00
2021-03-04 09:39:30 +01:00
2020-07-16 08:17:26 +02:00
2017-11-02 11:10:55 +01:00
2016-10-25 11:31:51 +02:00
2018-08-02 08:06:54 +09:00
2019-02-12 19:47:20 +01:00
2021-02-03 23:23:23 +01:00
2021-05-22 10:59:44 +02:00
2017-11-02 11:10:55 +01:00
2018-07-16 12:31:57 -07:00
2020-04-17 10:48:52 +02:00
2021-02-13 13:51:13 +01:00
2017-07-12 16:25:59 -07:00
2021-07-11 12:49:31 +02:00
2017-03-02 08:42:39 +01:00
2021-02-10 09:21:06 +01:00
2020-01-29 16:43:27 +01:00
2018-07-02 11:36:17 +02:00
2018-07-02 11:36:17 +02:00
2021-06-30 08:48:28 -04:00
2020-03-25 08:06:13 +01:00
2017-03-13 15:57:41 -03:00
2021-08-08 08:54:30 +02:00
2019-12-01 09:17:10 +01:00
2018-04-11 10:28:37 -07:00
2021-09-22 11:48:09 +02:00
2019-01-13 09:51:06 +01:00
2017-03-02 08:42:39 +01:00
2021-05-26 11:48:32 +02:00
2017-11-02 11:10:55 +01:00
2020-11-18 19:18:52 +01:00
2020-08-26 10:30:59 +02:00
2019-09-16 08:22:20 +02:00
2018-07-10 22:18:52 +02:00
2021-03-04 09:39:54 +01:00
2020-11-10 12:35:53 +01:00
2021-05-22 10:59:39 +02:00
2021-02-07 14:48:38 +01:00
2017-11-02 11:10:55 +01:00
2018-08-03 15:52:10 +02:00
2017-03-08 09:18:02 +01:00
2018-08-13 11:25:07 -07:00
2018-06-10 10:17:09 -07:00
2020-10-01 13:14:29 +02:00
2018-04-16 11:26:49 +02:00
2021-02-07 14:48:37 +01:00
2017-12-17 13:57:15 +01:00
2020-01-09 10:18:59 +01:00
2018-06-21 12:33:05 +02:00
2018-06-25 11:30:10 -07:00
2021-07-20 16:15:42 +02:00
2017-03-02 08:42:39 +01:00
2018-04-05 21:36:27 -07:00
2018-04-02 20:15:59 +02:00
2018-04-02 20:15:30 +02:00
2020-10-14 10:31:21 +02:00
2021-05-22 10:59:39 +02:00
2018-11-13 11:09:00 -08:00
2018-08-22 10:52:47 -07:00
2018-08-11 02:05:53 -05:00
2018-04-11 10:28:35 -07:00
2018-08-30 12:56:40 +02:00
2020-02-24 08:34:49 +01:00
2018-05-18 08:47:13 -07:00
2021-07-31 08:22:37 +02:00