File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -277,6 +277,27 @@ traces point to places in code that interacted with the object but that are not
277
277
directly present in the bad access stack trace. Currently, this includes
278
278
call_rcu() and workqueue queuing.
279
279
280
+ CONFIG_KASAN_EXTRA_INFO
281
+ ~~~~~~~~~~~~~~~~~~~~~~~
282
+
283
+ Enabling CONFIG_KASAN_EXTRA_INFO allows KASAN to record and report more
284
+ information. The extra information currently supported is the CPU number and
285
+ timestamp at allocation and free. More information can help find the cause of
286
+ the bug and correlate the error with other system events, at the cost of using
287
+ extra memory to record more information (more cost details in the help text of
288
+ CONFIG_KASAN_EXTRA_INFO).
289
+
290
+ Here is the report with CONFIG_KASAN_EXTRA_INFO enabled (only the
291
+ different parts are shown)::
292
+
293
+ ==================================================================
294
+ ...
295
+ Allocated by task 134 on cpu 5 at 229.133855s:
296
+ ...
297
+ Freed by task 136 on cpu 3 at 230.199335s:
298
+ ...
299
+ ==================================================================
300
+
280
301
Implementation details
281
302
----------------------
282
303
You can’t perform that action at this time.
0 commit comments