发明名称 |
Modifying application behaviour |
摘要 |
A data processing system comprising: an operating system providing an application programming interface; an application supported by the operating system and operable to make calls to the application programming interface; an intercept library configured to intercept calls of a predetermined set of call types made by the application to the application programming interface; and a configuration data structure defining at least one action to be performed for each of a plurality of sequences of one or more calls having predefined characteristics, the one or more calls being of the predetermined set of call types; wherein the intercept library is configured to, on intercepting a sequence of one or more calls defined in the configuration data structure, perform the corresponding action(s) defined by the configuration data structure. |
申请公布号 |
US8763018(B2) |
申请公布日期 |
2014.06.24 |
申请号 |
US201113283423 |
申请日期 |
2011.10.27 |
申请人 |
Solarflare Communications, Inc. |
发明人 |
Pope Steven L.;Riddoch David J.;Mansley Kieran |
分类号 |
G06F13/00;G06F9/46;G06F9/45 |
主分类号 |
G06F13/00 |
代理机构 |
Haynes Beffel & Wolfeld LLP |
代理人 |
Haynes Beffel & Wolfeld LLP ;Wolfeld Warren S. |
主权项 |
1. A data processing system comprising:
a computing device having a processor and memory, the computing device configured with:
an operating system providing an application programming interface;an application supported by the operating system and operable to make calls to the application programming interface;an intercept library configured to intercept calls of a predetermined set of call types made by the application to the application programming interface; anda configuration data structure defining at least one action to be performed for each of a plurality of sequences of one or more calls having predefined characteristics, the one or more calls being of the predetermined set of call types; wherein the intercept library is configured to, on intercepting a sequence of one or more calls defined in the configuration data structure, perform the corresponding action(s) defined in the configuration data structure, and wherein the action(s) to be performed for a sequence of one or more calls having predefined characteristics include one or more of: forwarding the last call in the sequence of one or more calls to the application programming interface with unmodified or modified parameters; suppressing the last call in the sequence of one or more calls such that it is not delivered to the application programming interface; making one or more additional calls to the application programming interface or another application programming interface; writing entries to a log; pinning a thread executed in consequence of the sequence of one or more calls to a particular processor core of the data processing system; and enabling spinning for a thread arranged to execute at the data processing system.
|
地址 |
Irvine CA US |