Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp789725pxj; Thu, 10 Jun 2021 12:50:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzjJjszhLdoTT47tPLcCjiYBos2sYbD6ZDniHsJWEZWRkwhmEJOA48B9iE4vMPXOLcYvGjO X-Received: by 2002:aa7:dd1a:: with SMTP id i26mr142629edv.358.1623354641972; Thu, 10 Jun 2021 12:50:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623354641; cv=none; d=google.com; s=arc-20160816; b=B6xb2oKc5AknNJQ1HN3YHxCXmaWqggzdpuVAT2DgZIeexmVywHqOwtIK7guCmcigej Ne0XqKMNvEGHoocG+o2/vCyom3KoVxrXVVSs7he7QUZARuBCkmAf95bg2J4UqpWrdl5j ZPK1YwBDYq2rQp2p3PcGYnEn4oC67uizoErLE4O3644/SVDFpyErZY1wdYIq5HBlTN0Y 7Y+o0FlIQhFtTvZsoXRRdh39+rwZ/Tnadv3b5cNu2Bcm7tutiqfCzi9REPko0Lb/1vJd SdNTHykmZzR+dKzWapRkJaHTPeQjIkKOBTiSUo/NRznMItzzuDwGneivUdYvLKkod0/O svnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=SJgKAGNvOIf3TVVDex+D58auZlHFujlkCmPSST5FO14=; b=Py7m8lXtzs6sgw2nz1mZQoPstEZ4j/W38Nc8vcKMY5+2Y7cZLTVpcOU3boFhMgFVd9 5FDdNWQ54ana0S1TgnavQuCQr6nLh5HgeWh+7RlPFcjavN3ksZPlpsgAwFXc6tkZZoa7 xXQVthhu5ULRgJrfG5Dlacz77CK6bA4O/YglFc8za9s2qKdqdLdiJVjzDiiYL6aAjYKV TjXy7vjpl406NeFGwZICJ3AvEn6dTsjQgCxzZzfTsEQUUdI0Q8p07ndFfmVgzsa2v3MW S5SbmDPMAK3SVTVxqDZwx39c9La37ZTcXAL2srmiEK3B8q/D92BSistu4I7X/8ybumbH Dqxw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z11si2972292edx.62.2021.06.10.12.50.09; Thu, 10 Jun 2021 12:50:41 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230297AbhFJTt7 (ORCPT + 99 others); Thu, 10 Jun 2021 15:49:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:51534 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229823AbhFJTt6 (ORCPT ); Thu, 10 Jun 2021 15:49:58 -0400 Received: from oasis.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.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 CD9AE613FF; Thu, 10 Jun 2021 19:48:00 +0000 (UTC) Date: Thu, 10 Jun 2021 15:47:59 -0400 From: Steven Rostedt To: Jiri Olsa Cc: Ian Rogers , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Namhyung Kim , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, linux-trace-users@vger.kernel.org, Tzvetomir Stoyanov , eranian@google.com, Michael Petlan Subject: Re: [RFC PATCH] libtraceevent: Increase libtraceevent logging when verbose Message-ID: <20210610154759.1ef958f0@oasis.local.home> In-Reply-To: References: <20210610060643.595673-1-irogers@google.com> <20210610103927.44462e35@oasis.local.home> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 10 Jun 2021 21:08:32 +0200 Jiri Olsa wrote: > Michael did the libtraceevent detection and dynamic linking support: > https://lore.kernel.org/linux-perf-users/20210428092023.4009-1-mpetlan@redhat.com/ Oh cool! I missed this. > > I think we should have that in Fedora/RHEL rpms already, or it's on the way. > > The detection code could be change to contain things we need. Sounds great! But the next thing we should use is libtracefs, to simplify some of the other logic, like finding the event files, and even reading the error_log file when a kprobe_event fails. -- Steve