framework to enable logging of kernel/posix timing

Logging of time spent in each POSIX call will be enabled using the
"enable_trace_logs" file. Simply echo a ":1" after the PID.
For example, to log all processes and include timing info:
    echo "0:1" > /data/enable_trace_logs
OR
    echo "-1:1" > /data/enable_trace_logs

To log a specific PID and include timing:
    echo "1296:1" > /data/enable_trace_logs

Timing info is disabled by default.

Signed-off-by: Jeremy C. Andrus <jeremya@cs.columbia.edu>
Log posix time for wrapped functions

non-wrapped functions are a bit trickier...

Signed-off-by: Jeremy C. Andrus <jeremya@cs.columbia.edu>
bugfixes to get/set TLS assembly routines

also renamed them to something more appropriate

Signed-off-by: Jeremy C. Andrus <jeremya@cs.columbia.edu>
Add the ability to time _all_ wrapped library functions

To enable timing of wrapped library functions, append a ":1" to the content of
the /data/enable_trace_logs file. Log lines will be formatted as:
    [Timestamp]:LOG:I:[wrapped-function]:[seconds].[microseconds]
e.g.
    1394715808.38744:LOG:I:stat:posixtime:0.39

Signed-off-by: Jeremy C. Andrus <jeremya@cs.columbia.edu>