POSIX Trace Based Behavioural Reflection

  • Filipe Valpereiro
  • Luís Miguel Pinho
Part of the Lecture Notes in Computer Science book series (LNCS, volume 4006)


Traditional Real-Time Operating Systems (RTOS) are not designed to accommodate application specific requirements. They address a general case and the application must co-exist with any limitations imposed by such design. For modern real-time applications this limits the quality of services offered to the end-user. Research in this field has shown that it is possible to develop dynamic systems where adaptation is the key for success. However, adaptation requires full knowledge of the system state. To overcome this we propose a framework to gather data, and interact with the operating system, extending the traditional POSIX trace model with a partial reflective model. Such combi-nation still preserves the trace mechanism semantics while creating a powerful platform to develop new dynamic systems, with little impact in the system and avoiding complex changes in the kernel source code.


Trace Event Observer Level Functional Semantic Trace Functionality Monolithic Component 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Maes, P.: Concepts and Experiments in Computational Reflection. In: Proceedings of the 2nd Conference on Object-Oriented Programming Systems, Languages and Applications (OOPSLA 1987), Orlando USA, pp. 147–155 (1987)Google Scholar
  2. 2.
    IEEE Std. 1003.1, Information technology – Portable Operating System Interface (POSIX), Section 4.17 – Tracing (2003)Google Scholar
  3. 3.
    Yokote, Y.: The ApertOS Reflective Operating System: The concept and its implementation. In: Proceedings of the 7th Conference on Object-Oriented Programming Systems, Languages and Applications (OOPSLA 1992), pp. 414–434. ACM Press, New York (1992)CrossRefGoogle Scholar
  4. 4.
    Stankovic, J.A.: Reflective Real-Time Systems, University of Massachusetts, Technical Report 93-56, June 28 (1993)Google Scholar
  5. 5.
    Patil, A., Audsley, N.: Implementing Application Specific RTOS Policies using Reflection. In: Proceedings of the 11th IEEE Real-Time and Embedded Technology and Applications Symposium, San Francisco, USA, pp. 438–447 (2005)Google Scholar
  6. 6.
    Tanter, E., Noye, J., Caromel, D., Cointe, P.: Partial behavioural reflection: Spatial and temporal selection of reification. In: Proceedings of the 18th Conference on Object-Oriented Programming Systems, Languages and Applications (OOPSLA 2003), Anaheim, USA, October 26-30, pp. 27–46 (2003)Google Scholar
  7. 7.
    Pinho, L.M., Nogueira, L., Barbosa, R.: An Ada Framework for QoS-Aware Applications. In: Vardanega, T., Wellings, A.J. (eds.) Ada-Europe 2005. LNCS, vol. 3555, pp. 25–38. Springer, Heidelberg (2005)CrossRefGoogle Scholar
  8. 8.
    Aldea, M., González, M.: MaRTE OS: An Ada Kernel for Real-Time Embedded Applications. In: Strohmeier, A., Craeynest, D. (eds.) Ada-Europe 2001. LNCS, vol. 2043, pp. 305–316. Springer, Heidelberg (2001)Google Scholar
  9. 9.
    Mitchell, S., Wellings, A., Burns, A.: Developing a Real-Time Metaobject Protocol. In: Proc. of the 3rd IEEE Workshop on Object-Oriented Real-Time Dependable Systems, Newport Beach, USA, pp. 323–330 (February 1997)Google Scholar
  10. 10.
    IEEE Std. 1003.13, Standardized Application Environment Profile – POSIX Realtime and Embedded Application Support (2003)Google Scholar
  11. 11.
    Aldea, M., González, M.: Evaluation of New POSIX Real-Time Operating Systems Services for Small Embedded Platforms. In: Proc. of the 15th Euromicro Conference on Real-Time Systems, ECRTS 2003, Porto, Portugal, pp. 161–168 (July 2003)Google Scholar
  12. 12.
    Aldea, M., Miranda, J., González, M.: Integrating Application-Defined Scheduling with the New Dispatching Policies. In: Vardanega, T., Wellings, A.J. (eds.) Ada-Europe 2005. LNCS, vol. 3555, pp. 220–235. Springer, Heidelberg (2005)CrossRefGoogle Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2006

Authors and Affiliations

  • Filipe Valpereiro
    • 1
  • Luís Miguel Pinho
    • 1
  1. 1.Polytechnic Institute of PortoPortoPortugal

Personalised recommendations