US2012317551A1PendingUtilityA1

Post-compile instrumentation of object code for generating execution trace data

46
Assignee: HECHT DANIEL MICHAELPriority: Feb 18, 2005Filed: Aug 20, 2012Published: Dec 13, 2012
Est. expiryFeb 18, 2025(expired)· nominal 20-yr term from priority
G06F 11/3636G06F 11/3644G06F 9/45533G06F 2009/45587G06F 2009/45591
46
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

The invention is directed to instrumenting object code of an application and/or an operating system on a target machine so that execution trace data can be generated, collected, and subsequently analyzed for various purposes, such as debugging and performance. Automatic instrumentation may be performed on an application's object code before, during or after linking. A target machine's operating system's object code can be manually or automatically instrumented. By identifying address space switches and thread switches in the operating system's object code, instrumented code can be inserted at locations that enable the execution trace data to be generated. The instrumentation of the operating system and application can enable visibility of total system behavior by enabling generation of trace information sufficient to reconstruct address space switches and context switches.

Claims

exact text as granted — not AI-modified
1 . A method for generating execution trace data for a program that executes on a target machine, comprising:
 determining each block of object code for the program to be instrumented, wherein at least one block of object code for the program is instrumented for executing on the target machine; and   associating an instrumented object code block with a memory location of the target machine, such that, if the instrumented object code block is executed, a simulated trace probe is arranged to collect trace data that is written to the memory location.

Cited by (0)

No later patents cite this yet.

References (0)

No backward citations on record.