Giter VIP home page Giter VIP logo

libtracefs's Introduction

The official repository is here:

  https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/

This repository requires libtraceevent to be installed:

  https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/


To build:

    make;
    sudo make install;

To build in a specific directory outside of the source directory:

    make O=/path/to/build; sudo make O=/path/to/build

  Note that the path needs to exist before building.

To set the install path (the expected final location):

    make prefix=/usr; sudo make O=/path/to/build

To install in a directory not for the local system (for use to move
to another machine):

    make DESTDIR=/path/to/dest/ install

  Note, if you have write permission to the DESTDIR, then there is
  no reason to use sudo or switch to root.

  Note, DESTDIR must end with '/', otherwise the files will be appended
  to the path, which will most likely have unwanted results.

Contributions:

  For questions about the use of the library, please send email to:

    [email protected]

    Subscribe: http://vger.kernel.org/vger-lists.html#linux-trace-users
    Archives: https://lore.kernel.org/linux-trace-users/

  For contributions to development, please send patches to:

    [email protected]

    Subscribe: http://vger.kernel.org/vger-lists.html#linux-trace-devel
    Archives: https://lore.kernel.org/linux-trace-devel/

  Note, this project follows the style of submitting patches as described
  by the Linux kernel.

     https://www.kernel.org/doc/html/v5.4/process/submitting-patches.html

libtracefs's People

Contributors

alexandrevicenzi avatar beanhuo avatar beni-sandu avatar captain5050 avatar ffontaine avatar giuliobenetti avatar gthelen avatar igaw avatar jengelh avatar jeromemarchand avatar kraj avatar krzk avatar mattst88 avatar mikoxyz avatar patrick-mclean avatar pberginkonsult avatar polynomialdivision avatar rahix avatar rostedt avatar rzwisler avatar sameershaik avatar sudipm-mukherjee avatar tzstoyanov avatar vdonnefort avatar vvaltchev avatar warthog9 avatar yordan-karadzhov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

libtracefs's Issues

Makefile and meson.build install headers in different places

Makefile installs into /usr/include/tracefs/tracefs.h, while meson installs into /usr/include/libtracefs/tracefs.h. Linux's perf includes the header with #include <tracefs/tracefs.h>, so in Gentoo, where the ebuild uses meson to install libtracefs, we need a patch so that perf can find the header in the right place:
https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-util/perf/files/perf-6.4-libtracefs.patch

It would be nice if the Makefile and meson builds installed into the same place, then I could drop the patch for perf:

diff --git a/include/meson.build b/include/meson.build
index 52db432..3a9f140 100644
--- a/include/meson.build
+++ b/include/meson.build
@@ -7,5 +7,5 @@ headers = [
 ]
 
 foreach h : headers
-    install_headers(h, subdir : 'libtracefs')
+    install_headers(h, subdir : 'tracefs')
 endforeach
diff --git a/src/meson.build b/src/meson.build
index 31fd9ed..4853912 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -53,7 +53,7 @@ pkg = import('pkgconfig')
 pkg.generate(
     libtracefs,
     libraries: [libtraceevent_dep],
-    subdirs: 'libtracefs',
+    subdirs: 'tracefs',
     filebase: meson.project_name(),
     name: meson.project_name(),
     version: meson.project_version(),

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.