eprintid: 463 rev_number: 4 eprint_status: archive userid: 5 dir: disk0/00/00/04/63 datestamp: 2010-04-06 lastmod: 2013-07-01 09:23:37 status_changed: 2013-07-01 09:23:37 type: techreport metadata_visibility: show item_issues_count: 0 creators_name: Rallo, Paolo creators_name: Manica, Nicola creators_name: Abeni, Luca title: Inferring Temporal Behaviours Through Kernel Tracing ispublished: unpub subjects: TU full_text_status: public abstract: In order to provide reliable system support for real-time applications, it is often important to be able to collect statistics about the tasks temporal behaviours (in terms of execution times and inter-arrival times). Such statistics can, for example, be used to provide a-priori schedulability guarantees, or to perform some kind of on-line adaptation of the scheduling parameters (adaptive scheduling, or feedback scheduling). This work shows how the Linux kernel allows to collect such statistics by using an internal function tracer called Ftrace. Based on this feature, tools can be developed to evaluate the real-time performance of a system or an application, to debug real-time applications, and/or to infer the temporal properties (for example, periodicity) of tasks running in the system. date: 2010-03 date_type: published institution: University of Trento department: informaticat refereed: FALSE referencetext: [BMR93] Sanjoy K. Baruah, Aloysius K. Mok, and Louis E. Rosier. Preemptively scheduling hard-real-time sporadic tasks on one processor. pages 182–190, 1993. [CAPC09] Tommaso Cucinotta, Luca Abeni, Luigi Palopoli, and Fabio Checconi. The wizard of os: a heartbeat for legacy multimedia applications. In Proceedings of the 7th IEEE Workshop on Embedded Systems for Real-Time Multimedia (ESTIMedia 2009), Grenoble, France, October 2009. [MAP10] Nicola Manica, Luca Abeni, and Luigi Palopoli. Reservation-based interrupt scheduling. In Proceedings of the 16th IEEE Real-Time and Embedded Technology and Applications Symposium, (RTAS 2010), Stockholm, Sweden, April 2010. [Ros07] Steven Rostedt. Internals of the rt patch. In Proceedings of the Linux Symposium, Ottawa, Canada, June 2007. [Ros09] Steven Rostedt. Finding origins of latencies using ftrace. In Proceedings of the Eleventh Real-Time Linux Workshop, Dresden, Germany, September 2009. citation: Rallo, Paolo and Manica, Nicola and Abeni, Luca (2010) Inferring Temporal Behaviours Through Kernel Tracing. [Technical Report] (Unpublished) document_url: http://www.eledia.org/students-reports/463/1/tracer.pdf