Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp523500ybh; Sun, 12 Jul 2020 14:15:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxOuy9N/NSomZ1bpPuAA2wGuttHktE4Y3b2yDakOx2jb86vXhtNDfg/OicmLAsg6zFNAeW1 X-Received: by 2002:aa7:db53:: with SMTP id n19mr59112572edt.338.1594588521338; Sun, 12 Jul 2020 14:15:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594588521; cv=none; d=google.com; s=arc-20160816; b=ex2N1X1yi9BbtOetmYiI4qNGQbSM3/gFP+YUUFneaWvrRkcXgosfIPqlcsMZP3sdJZ v4D6FG/4MfA3yrJUCxywX4UGIJCGT04ULSMmxN4FbyFQ4NufIhdFFcg/v1ppSQsC9Jl+ Yg0XCVS8Pp/dE42uyCI+n4f8T0EoWfgLAd7Da4dqFjugtz1EkzAmsXY2UerJiEAtDjRS m1zRN7DbaGgYWpqyheeUQKkOTU0c2BLXQh0oJHNI5Ffg1nhncfFlRP57O6ODNDTN3J3E cDqWnWhaUZsgJ79lKknHC+Oeg6cy4S1rKAjAcGfNADEfiKzOZSEuGBatU8VjVpbYcxWU +KrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=SzXcGBnJoMu6yQ1ekMwxkgwaybMWLM4JDF5m7XfzkWs=; b=ud2KD8kr6ImdxLtBrALq5mb/awKEuZ/8KHmMeVEL/9yaq9HCVm2GedIkjdj5OxAWy+ i6aTYRalB6Vi4fG2J3Y/BIPE2u7nP+T1izoxnW4l4wKw90cnI99YQ0JIaVpUhB8Gak8J BMHLferQvaTM3rFLUa0Dvsim/r/92EZkfO7MrtOFnb4W2UbOpuAGNcnLV1aeMDFKiDMB dd8AO8mtC+jXSg8acIwLTR/ut7H2Bx6MuzfB1lzuQpIeFf79/HI8zfT2MkAsIiJuZrPh Fuw4/YDv4ETgiaMZHw61ejFxn8Awh7TWPRHHV12TN7KznnufyWjXpYxEEh4nQWjo4gKf QWig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Ek0pibK7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c9si7797426ejb.631.2020.07.12.14.14.58; Sun, 12 Jul 2020 14:15:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Ek0pibK7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729443AbgGLVMN (ORCPT + 99 others); Sun, 12 Jul 2020 17:12:13 -0400 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:26362 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729020AbgGLVMN (ORCPT ); Sun, 12 Jul 2020 17:12:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594588332; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=SzXcGBnJoMu6yQ1ekMwxkgwaybMWLM4JDF5m7XfzkWs=; b=Ek0pibK7akd2VYJUKbKQpvVT3CDAjkFtvI+VRaeBwkdY4zFyBshuyZQQ1nIhWvRbOoU17/ JSiesXDNch8QaJYYtzwdhwsEbGgxV4ftnWfG+Tz5sCvptgBbTOR/YMx+inDwhhAuGTTDb5 vFeHyi55zYzAwLO7Cz+SEugpwRR/wwE= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-474-UftfbY3ZOO-mm81bYCRcPg-1; Sun, 12 Jul 2020 17:12:08 -0400 X-MC-Unique: UftfbY3ZOO-mm81bYCRcPg-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id D291210059A9; Sun, 12 Jul 2020 21:12:06 +0000 (UTC) Received: from krava (unknown [10.40.192.24]) by smtp.corp.redhat.com (Postfix) with SMTP id 0E8CA1A836; Sun, 12 Jul 2020 21:12:04 +0000 (UTC) Date: Sun, 12 Jul 2020 23:12:04 +0200 From: Jiri Olsa To: Alexey Budankov Cc: Arnaldo Carvalho de Melo , Namhyung Kim , Alexander Shishkin , Peter Zijlstra , Ingo Molnar , Andi Kleen , linux-kernel Subject: Re: [PATCH v10 00/15] perf: support enable and disable commands in stat and record modes Message-ID: <20200712211204.GA156308@krava> References: <4af50c95-36f6-7a61-5a22-2949970fe7a5@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4af50c95-36f6-7a61-5a22-2949970fe7a5@linux.intel.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 08, 2020 at 10:36:30AM +0300, Alexey Budankov wrote: > > Changes in v10: > - reused struct priv, renamed props into flags and used unsigned int type as a storage > - implemented and adopted usage of evlist__ctlfd_initialized() function > - updated while condition with checking !(done || stop) > - implemented compute_tts() to calculate the remainder of timeout to wait in poll() Acked-by: Jiri Olsa thanks, jirka