lkml.org 
[lkml]   [2008]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 4/4] Implement semaphore latency tracer
    From
    Date
    On Sun, 2008-10-12 at 16:12 +0300, Török Edwin wrote:
    > Each time a down_read or down_write fails, a unique latency id is generated.
    > Later when someone releases the semaphore, it is blamed for the latency of all
    > tasks on the wait_list of the semaphore.
    > If you would group the output from latency_trace by the latency_id you get all those
    > who were contending on a lock, and the tasks that were holding the lock.
    > An entry in latency_trace has the format:
    > (latency_id) [semaphore_id] read|write
    > stacktrace <= stacktrace

    What can this tracer do that latencytop cannot already do?


    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2008-10-12 21:15    [W:0.021 / U:0.108 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site