Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp407621pxb; Sat, 10 Apr 2021 06:44:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXtD1q67Dgm8zh7rWA9okNuBBo+BqatPZhmc1t7+FLo7DqKE5r8o2KjpTqY6vRIe9beef6 X-Received: by 2002:a17:907:7785:: with SMTP id ky5mr19700332ejc.133.1618062258096; Sat, 10 Apr 2021 06:44:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618062258; cv=none; d=google.com; s=arc-20160816; b=RbsyGzb7mrOpTc1yGS8FhXecymBt7wo7CqWWZCPnwhoc0brY500VZGPVeLSuYln+F7 RckxmtHgnMVukCocMATVEN3ZIi8JlN57n5cw/VPaZYYo/nduEzff9eGNQMlVp7EBLtGh 0uihphFsnlnffLksc00MIC3LI6UbSUahQvfl4FMR9+wYLlkdjwkxchbNQjWROKViwz8d SSZIgqd+bGtRcGj938Zy5R8v4U6+2tvtCXiUXzcfKgD0pxYFZ1TfzqKoN+4PGXDZarU6 LeNMWw0vlTLeziozMsT7N3Z5wHwJoLOSbg/y2M38iWkDhwg2X/5+2ntdPMVJ1HNRE+SE oq+g== 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 :message-id:subject:cc:to:from:date; bh=A2vKRZIC8tCyW1+0gJ/0YsckrQSzXPBCkkaXW244S1Y=; b=dLKMmC2sGfv2ZuHC6vO0BG18cSmptX4uhkZtAkn28VHjWKQc3ypAA0evtsy+AFezCf 9WNJaKngYC4u1boV5WItIzYgUPMpKAQj+R4NubOhMBxz5G+lmfPMi74QfZOuVe+u7Gq8 L5O0kBh+EMsPzD0Slf2zejt+MWRrn9Zl2HLgEBBbarlQ3O9CI0IHW+8z2YkAHDGp7WT8 39T1KPFsERq2aXlz/qX3+4zCdsdCNh0O7X204xIk4XNMMQFDxdqLASiQH+h7iQFSZbjj cvtR4vZXnoG4DsqkBXFO3gBkHt9gR5giDk8Cu3psLHRdcz0Qc9TQeEF/hcYPMyJMTRYk Bi/g== 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 b18si3889147ejb.189.2021.04.10.06.43.51; Sat, 10 Apr 2021 06:44:18 -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 S234569AbhDJNlI (ORCPT + 99 others); Sat, 10 Apr 2021 09:41:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:41078 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234180AbhDJNlH (ORCPT ); Sat, 10 Apr 2021 09:41:07 -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 775BC6044F; Sat, 10 Apr 2021 13:40:49 +0000 (UTC) Date: Sat, 10 Apr 2021 09:40:46 -0400 From: Steven Rostedt To: LKML , "linux-trace-devel@vger.kernel.org" , Linux-trace Users Cc: Zamir SUN , Arnaldo Carvalho de Melo , Jiri Olsa , zsun@redhat.com, Vitaly Chikunov , Tzvetomir Stoyanov , Yordan Karadzhov , Ben Hutchings , Sudip Mukherjee , Tony Jones , John Kacur , Clark Williams , Al Stone , Mauro Carvalho Chehab , Jes Sorensen Subject: [ANNOUNCE] libtracefs 1.1.0 Message-ID: <20210410094046.0a23f960@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 I'm pleased to announce the new version of libtracefs library has been released: libtracefs: 1.1.0 https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot/libtracefs-1.1.0.tar.gz https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/ Changes since 1.0.2: - Depends on libtraceevent 1.2.0 or later - New APIs for opening and reading ftrace files tracefs_instance_file_read_number() tracefs_instance_file_open() - New APIs for enable / disable tracing tracefs_trace_is_on() tracefs_trace_on() tracefs_trace_off() tracefs_trace_on_get_fd() tracefs_trace_on_fd() tracefs_trace_off_fd() - New APIs for trace options tracefs_option_set() tracefs_option_clear() tracefs_option_is_set() tracefs_options_get_supported() tracefs_option_is_supported() tracefs_options_get_enabled() tracefs_option_is_enabled() tracefs_option_enable() tracefs_option_diasble() tracefs_option_name() tracefs_option_id() tarcefs_option_mask_is_set() - New APIs for getting existing trace instance tracefs_instance_alloc() tracefs_instance_get_trace_dir() - New APIs to set the filtering of functions tracefs_function_filter() tracefs_function_notrace() - New APIs to writing strings into the tracing buffer tracefs_print_init() tracefs_printf() tracefs_vprintf() tracefs_print_close() - New APIs to writing binary data into the tracing buffer tracefs_binary_init() tracefs_binary_write() tracefs_binary_close() - tracefs_iterate_raw_events() now calls the callbacks in time stamp sorted order (instead of calling all events in a CPU buffer, then the next CPU buffer). Also fixed record->cpu to match the CPU that's also passed to the callback, instead of always being zero. - Loading of events with tracefs_local_events(), tracefs_local_event_system() and tracefs_fill_local_events() now pull in kallsyms, saved_cmdlines, and printk_format mappings into the tep handler. - New API to reload the saved_cmdlines tracefs_load_cmdlines() - Warnings now can be overwritten with tracefs_warning() and no longer the too generic name warning() - All files opened in the library now are done so with O_CLOEXEC - Cleaner building and installation. -- Steve