Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752786Ab3GAHMA (ORCPT ); Mon, 1 Jul 2013 03:12:00 -0400 Received: from na3sys009aog134.obsmtp.com ([74.125.149.83]:54773 "EHLO na3sys009aog134.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752457Ab3GAHL7 (ORCPT ); Mon, 1 Jul 2013 03:11:59 -0400 From: Lei Wen To: Paul Turner , Alex Shi , Peter Zijlstra , Ingo Molnar , , , Subject: [PATCH 0/2] sched: add trace event for per-entity tracking Date: Mon, 1 Jul 2013 15:10:31 +0800 Message-ID: <1372662634-12833-1-git-send-email-leiwen@marvell.com> X-Mailer: git-send-email 1.7.10.4 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 899 Lines: 23 Thanks for the per-entity tracking feature, we could know the details of each task by its help. This patch add its trace support, so that we could quickly know the system status in a large time scale, like now we may get each runqueue's usage ratio by: cfs_rq's usage ratio = cfs_rq->runnable_load_avg/cfs_rq->load.weight Lei Wen (2): sched: add trace events for task and rq usage tracking sched: update cfs_rq weight earlier in enqueue_entity include/trace/events/sched.h | 73 ++++++++++++++++++++++++++++++++++++++++++ kernel/sched/fair.c | 31 ++++++++++++++++-- 2 files changed, 101 insertions(+), 3 deletions(-) -- 1.7.10.4 -- 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/