发明名称 |
Selecting output destinations for kernel messages |
摘要 |
Methods, apparatus and computer program products implement embodiments of the present invention that include 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; adding, storing, and loading a record entry in a configuration file; assigning a respective destination to the configuration checksum; 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. |
申请公布号 |
US9594575(B2) |
申请公布日期 |
2017.03.14 |
申请号 |
US201514730039 |
申请日期 |
2015.06.03 |
申请人 |
INTERNATIONAL BUSINESS MACHINES CORPORATION |
发明人 |
Girouard Janice M.;Shiran Yehuda |
分类号 |
G06F9/54;G06F9/44;G06F9/445 |
主分类号 |
G06F9/54 |
代理机构 |
Griffiths & Seaton PLLC |
代理人 |
Griffiths & Seaton PLLC |
主权项 |
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. |
地址 |
Armonk NY US |