Collecting tracepoint data
AssigneeInternational Business Machines Corporation
InventorsJames E. Carey, John M. Santosuosso
Life of this patent
Estimating the term…
Abstract
Collecting tracepoint data includes: maintaining, by a log handler, a list of a plurality of tracepoints and each tracepoint's parameters, the values of the parameters defining, for a tracepoint, information to be stored when an application encounters the tracepoint; encountering, by an application, a tracepoint; determining, responsive to the encounter by the log handler, whether the tracepoint is linked to a different tracepoint; and if the tracepoint is linked to a different tracepoint, determining, by the log handler, whether to modify values of the parameters for the different tracepoint and executing the different tracepoint.
Claims18
A method of collecting tracepoint data, the method comprising:
- maintaining, by a log handler, a list of a plurality of tracepoints and each tracepoint's parameters, the values of the parameters representing information to be stored by the log handler when an application encounters the tracepoint;
- encountering, by an application, a tracepoint;
- determining, responsive to the encounter by the log handler, whether the tracepoint is linked by express association to a different tracepoint, the express association specified by a data structure in the log handler;
- if the tracepoint is linked to a different tracepoint:
- determining, by the log handler, whether to modify values of the parameters for the different tracepoint;
- and
- accessing, by log handler, a ruleset that specifies conditions for which trace point parameter values are to be modified;
- and
- if the log hander determines to modify the values of the parameters for the different tracepoints in dependence upon the ruleset, modifying, by the log handler, the values of the different tracepoints and, upon encountering the different tracepoint by the application, collecting tracepoint data for the different tracepoint in accordance with the modified parameter values, thereby dynamically modifying the operation of the data collection when encountering tracepoints.
An apparatus for collecting tracepoint data, the apparatus comprising a computer processor, a computer memory operatively coupled to the computer processor, the computer memory having disposed within it computer program instructions that, when executed by the computer processor, cause the apparatus to carry out the steps of:
- maintaining, by a log handler, a list of a plurality of tracepoints and each tracepoint's parameters, the values of the parameters representing information to be stored by the log handler when an application encounters the tracepoint;
- encountering, by an application, a tracepoint;
- determining, responsive to the encounter by the log handler, whether the tracepoint is linked by express association to a different tracepoint, the express association specified by a data structure in the log handler;
- if the tracepoint is linked to a different tracepoint:
- determining, by the log handler, whether to modify values of the parameters for the different tracepoint;
- and
- accessing, by log handler, a ruleset that specifies conditions for which trace point parameter values are to be modified;
- and
- if the log hander determines to modify the values of the parameters for the different tracepoints in dependence upon the ruleset, modifying, by the log handler, the values of the different tracepoints and, upon encountering the different tracepoint by the application, collecting tracepoint data for the different tracepoint in accordance with the modified parameter values, thereby dynamically modifying the operation of the data collection when encountering tracepoints.
A computer program product for collecting tracepoint data, the computer program product disposed upon a computer readable medium wherein the computer program product is not a signal, the computer program product comprising computer program instructions that, when executed, cause a computer to carry out the steps of:
- maintaining, by a log handler, a list of a plurality of tracepoints and each tracepoint's parameters, the values of the parameters representing information to be stored by the log handler when an application encounters the tracepoint;
- encountering, by an application, a tracepoint;
- determining, responsive to the encounter by the log handler, whether the tracepoint is linked by express association to a different tracepoint, the express association specified by a data structure in the log handler;
- if the tracepoint is linked to a different tracepoint:
- determining, by the log handler, whether to modify values of the parameters for the different tracepoint;
- and
- accessing, by log handler, a ruleset that specifies conditions for which trace point parameter values are to be modified;
- and
- if the log hander determines to modify the values of the parameters for the different tracepoints in dependence upon the ruleset, modifying, by the log handler, the values of the different tracepoints and, upon encountering the different tracepoint by the application, collecting tracepoint data for the different tracepoint in accordance with the modified parameter values, thereby dynamically modifying the operation of the data collection when encountering tracepoints.
Dependencies are inferred from the claim text.