From patchwork Tue Nov 20 14:10:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tzvetomir Stoyanov X-Patchwork-Id: 10759821 Return-Path: Received: from mail-eopbgr690070.outbound.protection.outlook.com ([40.107.69.70]:20160 "EHLO NAM04-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725995AbeKUAj2 (ORCPT ); Tue, 20 Nov 2018 19:39:28 -0500 From: Tzvetomir Stoyanov To: "rostedt@goodmis.org" CC: "linux-trace-devel@vger.kernel.org" Subject: [PATCH v2 0/3] libtraceevent: Added support for pkg-config and few other fixes related to transfoming traceevent into a library Date: Tue, 20 Nov 2018 14:10:06 +0000 Message-ID: <20181120140953.30315-1-tstoyanov@vmware.com> Content-Language: en-US MIME-Version: 1.0 Sender: linux-trace-devel-owner@vger.kernel.org List-ID: Added support for pkg-config, which makes possible the library to be detected by autoconfig. Implemented new API tep_ref_get(), used by applications to get the tep handle reference count. Install trace-seq.h header file, which is part of the library API. [v2 of the patch: renamed tep_ref_get -> tep_get_ref, included v2 of the "Added support for pkg-config" patch] Tzvetomir Stoyanov (3): tools/lib/traceevent: Implemented new API tep_get_ref() tools/lib/traceevent: Added support for pkg-config tools/lib/traceevent: Install trace-seq.h API header file tools/lib/traceevent/Makefile | 27 ++++++++++++++++--- tools/lib/traceevent/event-parse.c | 7 +++++ tools/lib/traceevent/event-parse.h | 1 + .../lib/traceevent/libtraceevent.pc.template | 10 +++++++ 4 files changed, 42 insertions(+), 3 deletions(-) create mode 100644 tools/lib/traceevent/libtraceevent.pc.template