-
公开(公告)号:US10241895B2
公开(公告)日:2019-03-26
申请号:US15355725
申请日:2016-11-18
Applicant: Apple Inc.
Inventor: Katherine Blake Stone , David Vernon Payne , Daniel Mark Delwood
Abstract: The present technology monitors events that allocate and deallocate virtual memory regions in a device, wherein the events include system calls from user space. The system can generate a log of events, and based on the log of events, track regions of virtual memory allocated and deallocated via the events. The system can also record events with corresponding stack traces. Next, the system can group recorded events having matching stack traces to yield event groupings, and instrument functions in a compiled code associated with the process to determine retain counts of respective events associated with the functions. The system can then automatically pair at least one of a first portion of the events and a second portion of the respective events based on the event groupings and the retain counts of the respective events to yield paired events.
-
公开(公告)号:US20140365834A1
公开(公告)日:2014-12-11
申请号:US14038648
申请日:2013-09-26
Applicant: Apple Inc.
Inventor: Katherine Blake Stone , David Vernon Payne , Daniel Mark Delwood
IPC: G06F11/34
CPC classification number: G06F11/3476 , G06F11/3037 , G06F2201/815 , G06F2201/86 , G06F2201/88
Abstract: The present technology monitors events that allocate and deallocate virtual memory regions in a device, wherein the events include system calls from user space. The system can generate a log of events, and based on the log of events, track regions of virtual memory allocated and deallocated via the events. The system can also record events with corresponding stack traces. Next, the system can group recorded events having matching stack traces to yield event groupings, and instrument functions in a compiled code associated with the process to determine retain counts of respective events associated with the functions. The system can then automatically pair at least one of a first portion of the events and a second portion of the respective events based on the event groupings and the retain counts of the respective events to yield paired events.
Abstract translation: 本技术监视在设备中分配和释放虚拟内存区域的事件,其中事件包括来自用户空间的系统调用。 系统可以生成事件日志,并根据事件的日志,通过事件分配和释放虚拟内存的跟踪区域。 系统还可以使用相应的堆栈跟踪记录事件。 接下来,系统可以对具有匹配堆栈跟踪的记录事件进行分组以产生事件分组,以及与该过程相关联的编译代码中的仪器功能,以确定与功能相关联的各个事件的保留计数。 然后,系统可以基于事件分组和各个事件的保留计数自动地对对事件的第一部分和相应事件的第二部分中的至少一个,以产生配对事件。
-
公开(公告)号:US09529692B2
公开(公告)日:2016-12-27
申请号:US14038648
申请日:2013-09-26
Applicant: Apple Inc.
Inventor: Katherine Blake Stone , David Vernon Payne , Daniel Mark Delwood
CPC classification number: G06F11/3476 , G06F11/3037 , G06F2201/815 , G06F2201/86 , G06F2201/88
Abstract: The present technology monitors events that allocate and deallocate virtual memory regions in a device, wherein the events include system calls from user space. The system can generate a log of events, and based on the log of events, track regions of virtual memory allocated and deallocated via the events. The system can also record events with corresponding stack traces. Next, the system can group recorded events having matching stack traces to yield event groupings, and instrument functions in a compiled code associated with the process to determine retain counts of respective events associated with the functions. The system can then automatically pair at least one of a first portion of the events and a second portion of the respective events based on the event groupings and the retain counts of the respective events to yield paired events.
Abstract translation: 本技术监视在设备中分配和释放虚拟内存区域的事件,其中事件包括来自用户空间的系统调用。 系统可以生成事件日志,并根据事件的日志,通过事件分配和释放虚拟内存的跟踪区域。 系统还可以使用相应的堆栈跟踪记录事件。 接下来,系统可以对具有匹配堆栈跟踪的记录事件进行分组以产生事件分组,以及与该过程相关联的编译代码中的仪器功能,以确定与功能相关联的各个事件的保留计数。 然后,系统可以基于事件分组和各个事件的保留计数自动地对对事件的第一部分和相应事件的第二部分中的至少一个,以产生配对事件。
-
公开(公告)号:US20170083426A1
公开(公告)日:2017-03-23
申请号:US15355725
申请日:2016-11-18
Applicant: Apple Inc.
Inventor: Katherine Blake Stone , David Vernon Payne , Daniel Mark Delwood
CPC classification number: G06F11/364 , G06F11/3024 , G06F11/3037 , G06F11/3476 , G06F11/3495 , G06F11/3668 , G06F2201/815 , G06F2201/86 , G06F2201/88
Abstract: The present technology monitors events that allocate and deallocate virtual memory regions in a device, wherein the events include system calls from user space. The system can generate a log of events, and based on the log of events, track regions of virtual memory allocated and deallocated via the events. The system can also record events with corresponding stack traces. Next, the system can group recorded events having matching stack traces to yield event groupings, and instrument functions in a compiled code associated with the process to determine retain counts of respective events associated with the functions. The system can then automatically pair at least one of a first portion of the events and a second portion of the respective events based on the event groupings and the retain counts of the respective events to yield paired events.
-
-
-