Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757042Ab3IZMYy (ORCPT ); Thu, 26 Sep 2013 08:24:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:24655 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756728Ab3IZMYx (ORCPT ); Thu, 26 Sep 2013 08:24:53 -0400 Date: Thu, 26 Sep 2013 14:24:32 +0200 From: Jiri Olsa To: Sukadev Bhattiprolu Cc: linux-kernel@vger.kernel.org, Arnaldo Carvalho de Melo , Corey Ashford , Frederic Weisbecker , Ingo Molnar , Paul Mackerras , Peter Zijlstra Subject: Re: [PATCH 08/21] perf: Add new 'paused' attribute Message-ID: <20130926122432.GC1067@krava.brq.redhat.com> References: <1380113447-17144-1-git-send-email-jolsa@redhat.com> <1380113447-17144-9-git-send-email-jolsa@redhat.com> <20130925224147.GB13425@us.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130925224147.GB13425@us.ibm.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 906 Lines: 23 On Wed, Sep 25, 2013 at 03:41:47PM -0700, Sukadev Bhattiprolu wrote: > Jiri Olsa [jolsa@redhat.com] wrote: > | Adding new 'paused' perf_event_attr attribute bit. It sets > | the initial event state as paused, so it wont get started > | until it's triggered by toggling mechanism. > > There is a attr->disabled field which also leaves the event off by > default. Some comments distinguishing the two states will help ? right, so the 'disabled' says the event is created as disabled the 'paused' says the event is enabled, it get's scheduled in/out but it's does not get started.. toggle event will do that I'll put more info on that into doc thanks, jirka -- 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/