System and method for profiling processes in a computing system
    2.
    发明授权
    System and method for profiling processes in a computing system 有权
    用于计算系统中的分析过程的系统和方法

    公开(公告)号:US07725882B1

    公开(公告)日:2010-05-25

    申请号:US11240232

    申请日:2005-09-30

    IPC分类号: G06F9/44

    摘要: A system and method for managing the environment of software processes in a computer system. A computer system comprises a processor and at least one process environment comprising one or more environment variables. The processor executes one or more processes, intercepts the launch of a process, sets at least one environment variable to a first value, and continues the launch of the process. Setting the environment variable may enable a profiler process. The processor may set at least one environment variable for the process to a value which is chosen irrespective of a value of the environment variable of a parent process of the process. Further, the processor may set at least one environment variable for the process to a default value if a data repository does not contain an entry that has an identification which corresponds to the process.

    摘要翻译: 一种用于管理计算机系统中的软件过程的环境的系统和方法。 计算机系统包括处理器和包括一个或多个环境变量的至少一个处理环境。 处理器执行一个或多个进程,拦截进程的启动,将至少一个环境变量设置为第一个值,并继续启动进程。 设置环境变量可能会启用分析器进程。 处理器可以将该过程的至少一个环境变量设置为与进程的父进程的环境变量的值无关的值。 此外,如果数据存储库不包含具有对应于该过程的标识的条目,则处理器可以将该过程的至少一个环境变量设置为默认值。

    Internal monitoring of applications in a distributed management framework
    7.
    发明授权
    Internal monitoring of applications in a distributed management framework 有权
    在分布式管理框架中内部监控应用程序

    公开(公告)号:US07739689B1

    公开(公告)日:2010-06-15

    申请号:US10789902

    申请日:2004-02-27

    摘要: Methods and systems are provided for internal monitoring of applications. A distributed management framework may comprise a plurality of applications and application servers, wherein each of the applications is configured to make function calls to standard programming functions. The function calls to the standard programming functions are intercepted. The function calls are routed to alternative implementations of the standard programming functions, and the alternative implementations are used to collect availability metrics for the plurality of applications. Manager threads may be used for internal monitoring of application execution. Applications may be modified with additional instructions to monitor program execution and automatically generate output comprising an execution history.

    摘要翻译: 提供方法和系统用于内部监控应用程序。 分布式管理框架可以包括多个应用和应用服务器,其中每个应用被配置为对标准编程功能进行功能调用。 标准编程功能的函数被截取。 函数调用被路由到标准编程功能的替代实现,并且替代实现被用于收集多个应用的​​可用性度量。 管理员线程可用于内部监视应用程序执行。 可以通过用于监视程序执行的附加指令来修改应用程序,并自动生成包括执行历史的输出。

    Method for determining the degree to which changed code has been exercised
    9.
    发明授权
    Method for determining the degree to which changed code has been exercised 失效
    确定已更换代码已被执行的程度的方法

    公开(公告)号:US06748584B1

    公开(公告)日:2004-06-08

    申请号:US09474389

    申请日:1999-12-29

    IPC分类号: G06F945

    CPC分类号: G06F8/71

    摘要: A method for determining changed code in a second program binary relative to a first or baseline program binary, where the second program is a different version of the first program, includes translating, responsive to symbol tables and/or control flow representations, machine addresses of both program binaries to symbols. The first and second program binaries are disassembled using the translated symbols. Differences between the two resulting disassemblies are determined, and a list of the differences is created. Differences between the program binaries can be determined by textually comparing the disassemblies, or alternatively, by determining the differences between the control flow representations of the programs. The list of differences can be presented to a user, or alternatively, can be passed to another process for further processing, such as test coverage analysis, code change analysis, or failure analysis, among other analyses. Analyzing changed code coverage includes marking code in the second program which is changed or different from the first program. The second program is then executed in a test environment, and code which is executed is marked as having been executed. Next, the second program is executed in a non-test environment, such as a production environment, and code which is executed in this second environment is marked accordingly. Finally, from the variously marked code, a list of changed code which have not executed in the test environment but have executed in the non-test environment is provided.

    摘要翻译: 一种用于确定相对于第一或基线程序二进制程序的第二程序二进制中的改变的代码的方法,其中第二程序是第一程序的不同版本,包括响应于符号表和/或控制流程表示来转换机器地址 两个程序二进制到符号。 第一个和第二个程序二进制文件使用翻译的符号进行拆分。 确定两个产生的拆卸之间的差异,并创建差异列表。 程序二进制文件之间的差异可以通过文本比较反汇编来确定,或者通过确定程序的控制流表示之间的差异来确定。 差异列表可以呈现给用户,或者替代地,可以传递到另一个进程以进行进一步处理,例如测试覆盖分析,代码变换分析或故障分析以及其他分析。 分析更改的代码覆盖范围包括在第二个程序中标记代码,该代码与第一个程序更改或不同。 然后在测试环境中执行第二程序,并且执行的代码被标记为已被执行。 接下来,第二程序在诸如生产环境的非测试环境中执行,并且在该第二环境中执行的代码被相应地标记。 最后,从各种标记的代码中,提供了在测试环境中未执行但在非测试环境中执行的已更改代码的列表。

    Managing shared resources in an operating system

    公开(公告)号:US10067796B1

    公开(公告)日:2018-09-04

    申请号:US14450476

    申请日:2014-08-04

    IPC分类号: G06F9/46 G06F9/50

    摘要: Managing processes in a computing system comprising one or more cores includes generating an object in an operating system running on at least one core. A reference to the object is distributed to each of at least one and fewer than all of a plurality of processes to be executed on the at least one core. The operating system controls access to a resource such that processes to which the reference to the object was distributed have access to the resource and processes to which the reference to the object was not distributed do not have access to the resource.