×

Non-invasive trace-driven system and method for computer system profiling

  • US 5,355,487 A
  • Filed: 07/23/1993
  • Issued: 10/11/1994
  • Est. Priority Date: 02/28/1991
  • Status: Expired due to Fees
First Claim
Patent Images

1. In a computer system having an operating system kernel in a program executing multiple processes, a method for use during execution of said multiple processes in profiling said multiple processes, comprising:

  • inserting with said system a trace hook mechanism in a periodic clock routine of said operating system kernel;

    inserting with said system additional trace hook mechanisms in said operating system kernel sufficient to initialize and maintain process identity, name, and current running process correspondences;

    generating with said system trace events in response to said trace hook and additional trace hook mechanisms at predetermined time intervals;

    generating with said system trace events in response to changes in process state at times of occurrence of said changes in process state;

    creating and maintaining with said system during said profiling a trace buffer as a function of said trace events comprised of;

    a plurality of fields of program counter hook data, each corresponding to a different <

    current executing process identity, program counter value>

    tuple and a count of the number of repetitions of each said instance; and

    a plurality of fields maintaining correspondences between process names,identities, and said fields of program counter hook data.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×