[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1324337005-31718-1-git-send-email-asharma@fb.com>
Date: Mon, 19 Dec 2011 15:23:23 -0800
From: Arun Sharma <asharma@...com>
To: linux-kernel@...r.kernel.org
Cc: Arun Sharma <asharma@...com>
Subject: [PATCH 0/2] Sleep profiling
When debugging latency, users want to know where their code
is executing on the CPU (cycle profiling) as well as where
it's waiting sleeping or waiting for IO. The following patch set
tries to address the latter.
Normal users can use this tracepoint without root privileges
and on a system with lots of context switches, load can be
reduced by filtering out uninteresting switches.
Sample command lines:
perf record -gPe sched:sched_switch --filter "delay > 10000" -- ./test
perf report --stdio -g graph -G
Arun Sharma (2):
tracing, sched: move the sched_switch tracepoint
tracing, sched: Add delay info to sched_switch
include/trace/events/sched.h | 21 +++++++++++++++++----
kernel/sched.c | 2 +-
kernel/sched_fair.c | 6 ++++--
kernel/trace/trace_sched_switch.c | 2 +-
4 files changed, 23 insertions(+), 8 deletions(-)
--
1.7.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists