linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Wagner <dwagner@suse.de>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: linux-trace-devel@vger.kernel.org
Subject: Re: [PATCH v5] libtracefs: Add initial support for meson
Date: Thu, 5 Jan 2023 15:41:22 +0100	[thread overview]
Message-ID: <20230105144122.gus5jxbqcbyfaq3x@carbon.lan> (raw)
In-Reply-To: <20230105085102.0a9c464b@gandalf.local.home>

> > Meson doesn't force you here how you prefer you workflow. If you want to
> > stick with your development steps all should be fine. I just recommend to give
> > those subproject a try. IMO it makes things simpler, e.g. building all code in
> > debug mode and being able to single step through is nice. And if you find a bug
> > or want to change a line in the libraries, just change the line recompile the
> > main project and that's all. No installing or fiddling with some $PATHs. All works
> > out of the box.
> 
> I get that now with my current setup. I only install with debug options,
> and use gdb in emacs. It walks through the library code, and will go into
> different paths automatically. I only need to install the code I change
> (sure, I need to go into that path to do so). But as I've been using
> libtracefs and libtraceevent for other tooling, I really don't want it part
> of the trace-cmd repo, or in the build path.

Right, in this case I should avoid breaking your working setup :) Anyway, let's
get first the initial setup working before doing fancy stuff.

> > > For the environment that we require a static build, that isn't really
> > > needed. It would only make the initial setup easier, but that's a one time
> > > deal. After that, everything is automated.  
> > 
> > Before you spend too much time in writing scripts aroudn Meson, you should
> > really have a look at subproject. You get the dependencies management for little
> > costs.
> 
> The above mentioned static environment build is done via portage.

I've build the openSUSE packages using with Meson (just exchanged the build
instruction) and the tools didn't complain. So I think most of the problems
should be resolved. But experience tells me, there is always one bug more.

Daniel

      reply	other threads:[~2023-01-05 14:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-28  8:29 [PATCH v5] libtracefs: Add initial support for meson Daniel Wagner
2023-01-04 16:09 ` Steven Rostedt
2023-01-04 17:19   ` Daniel Wagner
2023-01-04 17:44     ` Steven Rostedt
2023-01-05  7:18       ` Daniel Wagner
2023-01-05 13:51         ` Steven Rostedt
2023-01-05 14:41           ` Daniel Wagner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230105144122.gus5jxbqcbyfaq3x@carbon.lan \
    --to=dwagner@suse.de \
    --cc=linux-trace-devel@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).