A Source-level Kernel Profiler based on Dynamic Aspect-Orientation

نویسندگان

  • Yoshisato YANAGISAWA
  • Shigeru CHIBA
  • Kenichi KOURAI
چکیده

We present a source-level kernel profiler named KLAS. Since this profiler is based on dynamic aspect-orientation, it allows the users to describe any code fragment in the C language. That code fragment is automatically executed for collecting detailed performance data at execution points specified by the users. Enabling dynamic aspect-orientation is crucial since otherwise the users would have to reboot an operating system kernel whenever they change aspects. Although KLAS dynamically transforms the binary of a running operating system kernel for weaving an aspect at runtime, unlike other similar tools, the KLAS users can specify those execution points, that is, joinpoints through a source-level view. For example, the users can describe a pointcut that picks up accesses to a member of a structure; they do not have to explicitly specify the addresses of the machine instructions corresponding to the member accesses. We have implemented this feature by extending a C compiler to produce augmented symbol information. KLAS has been implemented for the FreeBSD operating system with the GNU C compiler.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Optimization of form, aspect ratio and orientation of building based on solar radiation and wind direction (Case studies: Tabriz, Yazd and Bandar Abbas cities)

The renewable energies (such as solar energy), could be provided through designing architectural and urban spaces compatible with the climate and the ecosystem of the region, taking into consideration the architectural features of the building such as its form, dimensions and orientation. The purpose of this research was to determine the most suitable form, aspect ratio and orientation of the b...

متن کامل

MEMTRACE: a memory, performance and energy profiler targeting RISC-based embedded systems for data intensive applications

The design of embedded hardware/software systems is often subject to strict requirements concerning various aspects, including real time performance, energy consumption and die area. Especially for data-intensive applications, such as multimedia systems, the number of memory accesses is a dominant factor for these aspects. In order to meet the requirements and design a well-adapted system, it i...

متن کامل

ePRO: A Tool for Energy and Performance Profiler for Embedded Applications

1 This work was supported by Electronics and Telecommunications Research Institute under contract # 1010-2004-0098 Abstract – Energy and performance are two of the most important parameters in designing embedded systems. In this paper, we describe the architecture and implementation of ePRO, a tool for energy and performance profiler for embedded applications. Energy profiling is mainly based o...

متن کامل

Micro-Profiler : A Fine-grained Application Profiler for ASIP Design

Current Application Specific Instruction set Processor (ASIP) design methodologies are mostly based on iterative architecture exploration that uses Architecture Description Languages (ADLs) and retargetable software development tools. However, for improved design efficiency, additional pre-architecture exploration tools are required to help narrow-down the huge design space and making coarsegra...

متن کامل

On Adaptable Aspect-Oriented Operating Systems

Operating systems for small embedded devices have to cope with a broad variety of requirements as well as strict resource constraints. Family-based operating system development, based on aspect-oriented techniques, is a promising approach to implement operating system product lines that are highly configurable and tailorable. However, static applicationspecific tailoring of operating systems is...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2005