From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752802AbcFFVEA (ORCPT ); Mon, 6 Jun 2016 17:04:00 -0400 Received: from merlin.infradead.org ([205.233.59.134]:55281 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750933AbcFFVD6 (ORCPT ); Mon, 6 Jun 2016 17:03:58 -0400 Date: Mon, 6 Jun 2016 23:03:53 +0200 From: Peter Zijlstra To: Mathieu Desnoyers Cc: Julien Desfossez , Ingo Molnar , Thomas Gleixner , rostedt , linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 2/2] tracing: add sched_set_prio tracepoint Message-ID: <20160606210353.GF30154@twins.programming.kicks-ass.net> References: <1464362168-17064-1-git-send-email-jdesfossez@efficios.com> <1464362168-17064-2-git-send-email-jdesfossez@efficios.com> <1176128471.22690.1464614300448.JavaMail.zimbra@efficios.com> <1276244634.29549.1465242720729.JavaMail.zimbra@efficios.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1276244634.29549.1465242720729.JavaMail.zimbra@efficios.com> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 06, 2016 at 07:52:00PM +0000, Mathieu Desnoyers wrote: > ----- On May 30, 2016, at 9:18 AM, Mathieu Desnoyers mathieu.desnoyers@efficios.com wrote: > Adding Ingo and Peter in CC, considering that it touches to tracing and > the scheduler. > >> +/* > >> + * Tracepoint for showing priority inheritance modifying a tasks > >> + * priority. > >> + */ > >> +DEFINE_EVENT(sched_prio_template, sched_pi_setprio, > >> + TP_PROTO(struct task_struct *tsk, int newprio), > >> + TP_ARGS(tsk, newprio)); > >> + > >> +/* > >> + * Tracepoint for priority changes of a task. > >> + */ > >> +DEFINE_EVENT(sched_prio_template, sched_set_prio, > >> + TP_PROTO(struct task_struct *tsk, int newprio), > >> + TP_ARGS(tsk, newprio)); > >> + Nak on anything that cannot fundamentally deal with SCHED_DEADLINE.