Obtaining historical information in a device core dump
AssigneeJuniper Networks, Inc.
InventorSreekanth Rupavatharam
Life of this patent
Estimating the term…
Abstract
A device may receive information related to an operation of the device during each of multiple time intervals. The device may store, for each time interval of the multiple time intervals, the information in a respective slot of a circular buffer that includes multiple slots. The circular buffer may be used to store a historical record of the information in one or more of the multiple slots. The historical record may be provided from the circular buffer during a dump of the device. The device may provide the historical record during the dump of the device based on storing the historical record of the information in the one or more of the multiple slots.
Claims20
A device, comprising:
- one or more memories, and
- one or more processors, communicatively coupled to the one or more memories, to:
- gather, from a kernel of the device, information related to an operation of the device during each of a plurality of time intervals;
- store, for each time interval of the plurality of time intervals, the information in a respective slot of a circular buffer that includes a plurality of slots,
- the circular buffer being used to store a historical record of the information in at least two slots of the plurality of slots,
- the historical record to be provided from the circular buffer during a dump of the device;
- compare first information stored in a first slot of the at least two slots and second information stored in a second slot of the at least two slots;
- obtain, based on comparing the first information and the second information, result data for diagnosing or debugging the dump of the device;
- and
- provide the result data and the historical record during the dump of the device based on storing the historical record of the information in the at least two slots of the plurality of slots.
A non-transitory computer-readable medium storing instructions, the instructions comprising:
- one or more instructions that, when executed by one or more processors, cause the one or more processors to:
- receive information related to an operation of a device during each of a plurality of time intervals;
- store, for each time interval of the plurality of time intervals, the information in a respective slot of a circular buffer that includes a plurality of slots,
- the circular buffer being used to store a historical record of the information in at least two slots of the plurality of slots,
- the historical record to be provided from the circular buffer during a dump of the device;
- compare first information stored in a first slot of the at least two slots with second information stored in a second slot of the at least two slots;
- obtain, based on comparing the first information and the second information, result data for diagnosing or debugging the dump of the device;
- and
- provide the result data and the historical record during the dump of the device based on storing the historical record of the information in the at least two of the plurality of slots.
A method, comprising:
- receiving, by a device, information related to an operation of the device during each of a plurality of time intervals;
- storing, by the device and for each time interval of the plurality of time intervals, the information in a respective slot of a circular buffer that includes a plurality of slots,
- the circular buffer being used to store a historical record of the information in at least two slots of the plurality of slots,
- the historical record to be provided from the circular buffer during a dump of the device;
- comparing, by the device, first information stored in a first slot of the at least two slots with second information stored in a second slot of the at least two slots;
- obtaining, by the device and based on comparing the first information and the second information, result data for diagnosing or debugging the dump of the device;
- and
- providing, by the device, the result data and the historical record during the dump of the device based on storing the historical record of the information in the at least two slots.
Dependencies are inferred from the claim text.