发明名称 PREPROCESSING KERNEL PRINT COMMANDS
摘要 Methods, apparatus and computer program products implement embodiments of the present invention that include replacing, in one or more initial source code files, each reference to a first function configured to convey system messages with a respective reference to a second function configured to convey the system messages, thereby producing respective corresponding preprocessed source code files for the one or more initial source code files. The respective corresponding preprocessed source code files are then compiled, thereby creating an executable file. While executing the executable file, a call to the second function is received, wherein the call includes a text string. A name of one of the respective corresponding preprocessed source code files storing the call to the second function is identified, and based on the identified name and the text string, a computed destination is determined for the text string. Finally, the text string is conveyed to the computed destination.
申请公布号 US2015067657(A1) 申请公布日期 2015.03.05
申请号 US201314010737 申请日期 2013.08.27
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 GIROUARD Janice M.;SHIRAN Yehuda
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项 1. A method, comprising: replacing, in one or more initial source code files, each reference to a first function configured to convey system messages with a respective reference to a second function configured to convey the system messages, thereby producing respective corresponding preprocessed source code files for the one or more initial source code files; compiling the respective corresponding preprocessed source code files, thereby creating an executable file; and while executing the executable file: receiving, by a processor, a call to the second function, the call comprising a text string;identifying a name of one of the respective corresponding preprocessed source code files storing the call to the second function;determining, based on the identified name and the text string, a computed destination for the text string; andconveying the text string to the computed destination.
地址 Armonk NY US