Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758865AbbKSPgu (ORCPT ); Thu, 19 Nov 2015 10:36:50 -0500 Received: from mga03.intel.com ([134.134.136.65]:8528 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756521AbbKSPgr (ORCPT ); Thu, 19 Nov 2015 10:36:47 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,318,1444719600"; d="scan'208";a="824159297" Date: Thu, 19 Nov 2015 07:35:23 -0800 From: Jacob Pan To: Javi Merino Cc: Peter Zijlstra , Ingo Molnar , Thomas Gleixner , John Stultz , LKML , Arjan van de Ven , Srinivas Pandruvada , Len Brown , Rafael Wysocki , Eduardo Valentin , Paul Turner , Steven Rostedt , jacob.jun.pan@linux.intel.com Subject: Re: [PATCH 4/4] sched: add trace event for idle injection Message-ID: <20151119073523.656c2fcb@icelake> In-Reply-To: <20151119143934.GB9512@e104805> References: <1447444387-23525-1-git-send-email-jacob.jun.pan@linux.intel.com> <1447444387-23525-5-git-send-email-jacob.jun.pan@linux.intel.com> <20151119143934.GB9512@e104805> Organization: OTC X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.23; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 705 Lines: 21 On Thu, 19 Nov 2015 14:39:35 +0000 Javi Merino wrote: > > + > > One minor nit: can you use key=value (i.e. "throttled=%d") instead for > consistency with the rest of this file? > will do. > Other than that, I know that Peter suggested an enum for the action, > but wouldn't it be better to create an EVENT_CLASS and subclass the > three actions from it? Something like: I agree, it will be more readable in the trace. thanks you -- 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/