aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/srp.c
Commit message (Collapse)AuthorAge
* Refactor tracing and debugging filenames + CONFIG macrosAndrea Bastoni2011-11-25
| | | | | | | | | | | | | | | | | | | Tracing and Debugging filenames in Litmus were a bit clumsy. Particularly it was not immediate to tell the content of a tracing/debugging file from its name, and it was not intuitive to navigate through the CONFIG macros. This commit refactors tracing/debugging filenames and the corresponging CONFIG macros to more intuitive names. Overhead Tracing (employs Feather Trace): renamed: include/litmus/trace.h -> include/litmus/sched_trace_ohead.h renamed: litmus/trace.c -> litmus/sched_trace_ohead.c Scheduling-related tracing (employs Feather Trace): renamed: include/litmus/sched_trace.h -> include/litmus/sched_trace_task.h renamed: litmus/sched_task_trace.c -> litmus/sched_trace_task.c Debugging (TRACE() macro): renamed: litmus/sched_trace.c -> litmus/debug_trace.c
* SRP: port to new generic locking APIBjoern B. Brandenburg2011-02-01
| | | | | This re-enables SRP support under PSN-EDF and demonstrates how the new locking API should be used.
* Litmus core: replace FMLP & SRP system calls with generic syscallsBjoern B. Brandenburg2011-02-01
| | | | | This renders the FMLP and SRP unfunctional until they are ported to the new locking API.
* fdso: supply object type to constructor and destructor methodsBjoern B. Brandenburg2011-02-01
| | | | Passing the object type explicitly will enable generic lock constructors.
* Split out TRACE() from litmus.h and cleanup some includesBjoern B. Brandenburg2010-11-11
| | | | | | | | | | The TRACE() functionality doesn't need all of litmus.h. Currently, it's impossible to use TRACE() in sched.h due to a circular dependency. This patch moves TRACE() and friends to litmus/sched_debug.h, which can be included in sched.h. While at it, also fix some minor include ugliness that was revealed by this change.
* [ported from 2008.3] Add Stack Resource Policy (SRP) supportAndrea Bastoni2010-05-29