Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6581206yba; Tue, 14 May 2019 09:53:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqyiQPUGwsTB+wtr9+eeAcYRuMrUyP0hG/aLCy4H/PyDzuEVnJmxFD756/zqY9Hlt2C867Vx X-Received: by 2002:a17:902:b094:: with SMTP id p20mr16495942plr.164.1557852783364; Tue, 14 May 2019 09:53:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557852783; cv=none; d=google.com; s=arc-20160816; b=c1+jbY7cF7tccuVwBAjw8ooTXUCGqQSykf1A3jYfd9QdHrpcVw8ngPcmCvc1/y1XUY 9+tQXZrAUX5gehLy6O5oM8cpNmD/GCUX687vzHZ+1vRn03xYy57QF/7kipctj9bqXmPJ I9QA3ZV2VGJkgfmIVA/1B++OAlbF42J3dJd/j3bp8Y+SXEkx5j6jZDqij/VjBUKI+KP9 4tRlNWl0o1iFCZnQQaqaRrRoRtTqYs8uhjaHqxKcGH6I9L/SjXQlL2dEpi6Io2mgPzow 5TkMXLPDuwuDanikkSvPA2MEMZwP+MAAj+ii4oNe263W0ggiQqyvwwZG7zGXHKiJtGeK hDEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=iqHuJ+/IQvxI/p1Ll2rGKduPD0lM2hbl7zkCSbExVMo=; b=JRDyGuc+qc4xRdUIyiUMLh681a8Xa2jEpnI3bGj76Su2kwPWAcmg0ZnGIcf97bcsUL SP6OPClljXG+zsmkQAvkNaA9TyLNO2SmQuQHgOTa9D3fOt+xBPzDAWCP8m0PihMB7yLb 6zCTx/E3x5TaBcPXituK7H4HK1tVexw3OnZ6n53z/tujKoDPx8G+t8B7vgaOs2nV2HM3 rwlQi9MET7FYjd7ZYa1Qa8pzyH2q69XJ5tVGgAUPeZc8P43Hg3KxqrvPRKK+FeFvURWE JxS2HkBQ/ZbMw4JXbeLNSQKVZr8L1AssDYP5kHf2XXaehIaE9ZRwXVyPFZl/EG2G1NA9 ID+w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u1si20566599pgr.347.2019.05.14.09.52.48; Tue, 14 May 2019 09:53:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726510AbfENQvG (ORCPT + 99 others); Tue, 14 May 2019 12:51:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:58932 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726036AbfENQvF (ORCPT ); Tue, 14 May 2019 12:51:05 -0400 Received: from oasis.local.home (50-204-120-225-static.hfc.comcastbusiness.net [50.204.120.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1C46220675; Tue, 14 May 2019 16:51:05 +0000 (UTC) Date: Tue, 14 May 2019 12:51:03 -0400 From: Steven Rostedt To: Viktor Rosendahl Cc: Ingo Molnar , linux-kernel@vger.kernel.org, Joel Fernandes Subject: Re: [PATCH v3 0/4] Some new features for the latency tracers Message-ID: <20190514125103.64d778d6@oasis.local.home> In-Reply-To: <20190513215008.11256-1-viktor.rosendahl@gmail.com> References: <20190513215008.11256-1-viktor.rosendahl@gmail.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 13 May 2019 23:50:04 +0200 Viktor Rosendahl wrote: > Hello all, Hi Viktor, Note, as the merge window is open and I'm also currently at a conference, it may be a while before I can take a look at this. If you don't hear something from me in 10 days, feel free to send me a ping. -- Steve > > Changes in v3: > - [PATCH 1/4]: > * I have generalized this to send the fsnotify() notifications for all > tracers that use tracing_max_latency. > > * There are large additions of code to prevent queue_work() from being > called while we are in __schedule() or do_idle(). This was a bug also > in the previous version but had gone unnoticed. It became very visible > when I tried to make it work with the wakeup tracers because they are > always invoked from the sched_switch tracepoint. > > * The fsnotify notification is issued for tracing_max_latency, not trace. > > * I got rid of the kernel config option. The facility is always compiled > when CONFIG_FSNOTIFY is enabled and any of the latency tracers are > enabled. > > - [PATCH 2/4]: > * No significant changes. > > - [PATCH 3/4]: > * The latency-collector help messages have been tuned to the fact that it > can be used also with wakeup and hwlat tracers. > > * I increased the size of the buffer for reading from > /sys/kernel/debug/tracing/trace. > > * Adapted it to monitor tracing_max_latency instead of trace > > - [PATCH 4/4]: > * I converted this from a kernel config option to a trace config option > that can be changed at runtime. > >