Kan Liang
930e6fcd2b
perf tools: Add time out to force stop proc map processing
...
System wide sampling like 'perf top' or 'perf record -a' read all
threads /proc/xxx/maps before sampling. If there are any threads which
generating a keeping growing huge maps, perf will do infinite loop
during synthesizing. Nothing will be sampled.
This patch fixes this issue by adding per-thread timeout to force stop
this kind of endless proc map processing.
PERF_RECORD_MISC_PROC_MAP_PARSE_TIME_OUT is introduced to indicate that
the mmap record are truncated by time out. User will get warning
notification when truncated mmap records are detected.
Reported-by: Ying Huang <ying.huang@intel.com>
Signed-off-by: Kan Liang <kan.liang@intel.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ying Huang <ying.huang@intel.com>
Link: http://lkml.kernel.org/r/1434549071-25611-1-git-send-email-kan.liang@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2015-06-19 18:20:15 -03:00
..
2015-06-02 19:07:29 -03:00
2015-04-02 13:18:43 -03:00
2013-12-27 15:17:00 -03:00
2015-06-19 16:39:21 -03:00
2015-06-19 16:39:21 -03:00
2015-05-05 18:13:00 -03:00
2015-05-05 18:13:01 -03:00
2015-06-08 10:30:31 -03:00
2015-05-29 12:43:43 -03:00
2015-02-27 15:52:33 -03:00
2015-05-14 10:05:22 -03:00
2015-02-18 17:16:17 +01:00
2015-05-05 18:13:24 -03:00
2015-05-15 16:12:20 -03:00
2015-05-15 16:12:20 -03:00
2015-03-24 12:08:07 -03:00
2015-03-24 12:08:07 -03:00
2015-01-21 13:24:32 -03:00
2015-01-21 13:24:32 -03:00
2015-05-27 12:21:43 -03:00
2014-10-29 10:32:49 -02:00
2014-12-09 09:14:35 -03:00
2014-04-22 17:39:16 +02:00
2014-04-22 17:39:12 +02:00
2015-04-29 10:37:49 -03:00
2015-04-02 13:18:52 -03:00
2014-08-15 10:58:35 -03:00
2013-12-02 09:22:46 -03:00
2015-05-29 12:43:39 -03:00
2015-04-02 13:18:43 -03:00
2015-02-25 16:13:12 -03:00
2015-02-25 16:13:12 -03:00
2015-06-08 10:31:40 -03:00
2015-06-08 10:31:40 -03:00
2015-05-15 16:59:43 -03:00
2015-05-14 10:05:09 -03:00
2015-05-14 10:05:22 -03:00
2015-06-19 18:20:15 -03:00
2015-06-19 18:20:15 -03:00
2015-06-17 16:40:26 -03:00
2015-06-17 16:40:26 -03:00
2015-06-16 10:34:40 -03:00
2015-06-16 10:34:40 -03:00
2014-10-29 10:32:48 -02:00
2013-10-09 08:48:28 +02:00
2015-06-08 10:31:40 -03:00
2015-04-29 10:37:49 -03:00
2013-12-27 17:08:19 -03:00
2015-06-16 10:34:38 -03:00
2015-05-27 12:21:43 -03:00
2013-10-14 10:28:48 -03:00
2013-10-14 10:28:48 -03:00
2015-04-02 13:18:47 -03:00
2015-03-21 14:53:40 -03:00
2015-06-19 16:03:33 -03:00
2015-06-19 16:03:33 -03:00
2015-06-16 10:34:38 -03:00
2015-06-16 10:34:38 -03:00
2015-03-31 17:52:32 -03:00
2015-03-31 17:52:32 -03:00
2015-05-14 10:05:22 -03:00
2015-06-07 16:08:31 +02:00
2015-05-27 21:02:17 -03:00
2015-05-27 12:21:43 -03:00
2015-05-27 12:21:43 -03:00
2015-04-29 10:38:01 -03:00
2015-05-27 12:21:43 -03:00
2015-03-19 13:53:28 -03:00
2015-05-05 18:13:01 -03:00
2013-10-09 08:48:49 +02:00
2014-06-12 16:53:19 +02:00
2014-06-12 16:53:19 +02:00
2013-11-07 10:40:47 -03:00
2015-06-01 10:26:19 -03:00
2015-04-29 10:38:01 -03:00
2013-02-14 16:12:34 -03:00
2015-06-17 16:37:53 -03:00
2015-05-27 12:21:45 -03:00
2015-06-08 10:31:40 -03:00
2015-05-08 16:26:26 -03:00
2015-05-05 18:13:22 -03:00
2015-05-05 18:13:22 -03:00
2015-06-16 10:34:40 -03:00
2015-01-21 13:24:31 -03:00
2013-10-14 10:28:48 -03:00
2013-10-14 10:28:48 -03:00
2015-04-29 10:37:58 -03:00
2014-08-15 10:58:35 -03:00
2015-06-19 18:20:15 -03:00
2015-05-04 19:48:47 -03:00
2015-02-12 17:55:18 -03:00
2015-06-19 18:14:05 -03:00
2015-05-05 18:13:24 -03:00
2014-12-19 13:09:43 +01:00
2015-06-08 10:30:31 -03:00
2015-06-16 10:34:41 -03:00
2015-06-16 10:34:41 -03:00
2013-12-27 17:08:19 -03:00
2015-05-04 12:43:54 -03:00
2015-05-04 12:43:54 -03:00
2014-10-15 16:04:33 -03:00
2014-01-15 15:10:04 -03:00
2014-07-10 00:22:54 +02:00
2014-07-10 00:22:54 +02:00
2015-06-08 10:31:40 -03:00
2015-03-24 12:08:43 -03:00
2015-06-08 10:31:40 -03:00
2015-05-05 18:13:24 -03:00
2015-03-24 12:08:30 -03:00
2013-12-04 13:46:37 -03:00
2015-06-16 10:34:40 -03:00
2014-10-14 17:32:52 -03:00
2015-06-19 16:03:33 -03:00
2015-06-19 16:03:33 -03:00
2015-05-27 12:21:44 -03:00
2015-05-18 10:17:33 -03:00
2015-06-07 16:09:06 +02:00
2013-12-19 14:43:45 -03:00
2014-05-01 21:22:39 +02:00
2014-07-17 12:58:39 -03:00
2015-05-27 12:21:45 -03:00
2014-07-17 12:59:00 -03:00
2015-04-02 13:18:41 -03:00
2014-01-15 15:10:40 -03:00
2015-04-02 13:18:41 -03:00
2014-07-23 11:48:11 -03:00
2014-07-23 11:48:11 -03:00
2014-10-29 10:32:46 -02:00
2014-02-24 09:29:36 -03:00
2015-06-16 10:40:03 -03:00
2014-10-29 10:32:46 -02:00
2015-06-10 11:51:24 -03:00
2015-05-18 10:17:35 -03:00
2013-12-27 17:08:19 -03:00
2014-05-01 21:22:39 +02:00
2015-06-08 10:31:40 -03:00
2015-05-29 12:43:44 -03:00
2015-06-16 10:34:39 -03:00
2015-06-16 10:34:39 -03:00
2014-11-05 10:11:26 -03:00