发明名称 |
SELECTING OUTPUT DESTINATIONS FOR KERNEL MESSAGES |
摘要 |
Methods, apparatus and computer program products implement embodiments of the present invention to, within a distributed computing environment, identify, in a given kernel source code file for the operating system kernel, a given PRINTK function call having a corresponding message text, the given kernel source code file having a kernel source code file name, calculate a configuration checksum, to assign, add, and store the respective destination and a key comprising the configuration checksum, to load, receive, and identify the name of a given source code file, and to determine, based on the identified name and the text string, a computed destination for the system message by calculating, using the identified name and the text string, a message checksum, and identifying, in the configuration table, an entry having a key equal to the message checksum, and wherein the determined destination comprises the respective destination in the identified entry. |
申请公布号 |
US2015269010(A1) |
申请公布日期 |
2015.09.24 |
申请号 |
US201514730031 |
申请日期 |
2015.06.03 |
申请人 |
INTERNATIONAL BUSINESS MACHINES CORPORATION |
发明人 |
GIROUARD Janice M.;SHIRAN Yehuda |
分类号 |
G06F9/54 |
主分类号 |
G06F9/54 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method, comprising:
identifying, by a processor operating in a distributed computing environment, in a given kernel source code file for the operating system kernel, a given PRINTK function call having a corresponding message text, the given kernel source code file having a kernel source code file name; calculating, using the kernel source code file name and the corresponding message text, a configuration checksum; assigning a respective destination to the configuration checksum; adding a record to a configuration file stored on a distributed storage device coupled to the processor; storing, to the added record, the respective destination and a key comprising the configuration checksum; loading the record to an entry in a configuration table stored in a memory coupled to the processor; receiving, by the processor, a request to generate a system message comprising a text string; identifying a name of a source code file storing a function call that conveyed the request; and determining, based on the identified name and the text string, a computed destination for the system message by calculating, using the identified name and the text string, a message checksum, and identifying, in the configuration table, an entry having a key equal to the message checksum, and wherein the determined destination comprises the respective destination in the identified entry. |
地址 |
Armonk NY US |