From: Szymon Janc <szymon.janc@tieto.com>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: "linux-bluetooth@vger.kernel.org"
<linux-bluetooth@vger.kernel.org>,
"par-gunnar.p.hjalmdahl@stericsson.com"
<par-gunnar.p.hjalmdahl@stericsson.com>,
"ulrik.lauren@stericsson.com" <ulrik.lauren@stericsson.com>
Subject: Re: [PATCH] Fix debug messages logging from non-built-in plugins
Date: Mon, 25 Jul 2011 16:01:32 +0200 [thread overview]
Message-ID: <201107251601.32653.szymon.janc@tieto.com> (raw)
In-Reply-To: <1311600655.8920.0.camel@aeonflux>
Hi Marcel,
> > audio/main.c | 2 +-
> > health/hdp_main.c | 1 +
> > input/main.c | 2 +-
> > network/main.c | 1 +
> > plugins/adaptername.c | 2 +-
> > plugins/formfactor.c | 2 +-
> > plugins/gatt-example.c | 2 +-
> > plugins/hciops.c | 2 +-
> > plugins/mgmtops.c | 2 +-
> > plugins/service.c | 2 +-
> > plugins/storage.c | 2 +-
> > sap/main.c | 1 +
> > serial/main.c | 1 +
> > src/log.c | 25 +++++++++++++++++++++++++
> > src/log.h | 8 ++++++++
> > src/plugin.c | 10 +++++++---
> > src/plugin.h | 8 ++++++--
> > 17 files changed, 59 insertions(+), 14 deletions(-)
>
> before you do such a massive change, please explain what you are trying
> to do. This change effects multiple projects (obexd, ConnMan, oFono
> etc.) that are essentially using the same infrastructure.
Currently we are not able to see any debug messages from external plugins.
This regression was introduced with dynamic debug support and mostly (probably)
hits android platform which does build some plugins as external so files.
I can declare 'struct btd_debug_section' in plugin.h instead if you prefer.
That way log.h will not have to be included before plugin.h and will make this
patch smaller, yet having it declared in log.h seems better for me..
--
BR
Szymon Janc
next prev parent reply other threads:[~2011-07-25 14:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-25 11:09 [PATCH] Fix debug messages logging from non-built-in plugins Szymon Janc
2011-07-25 13:30 ` Marcel Holtmann
2011-07-25 14:01 ` Szymon Janc [this message]
2011-07-25 14:18 ` Marcel Holtmann
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=201107251601.32653.szymon.janc@tieto.com \
--to=szymon.janc@tieto.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=marcel@holtmann.org \
--cc=par-gunnar.p.hjalmdahl@stericsson.com \
--cc=ulrik.lauren@stericsson.com \
/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