Hello,
I'm trying to decide whether to use static or dynamic tracepoint probe
linkage. What are the factors that I should consider?
Are there any licensing related issues? For example, is closed-source
software allowed to use static linking?
Is it purely an organisational feature, i.e.,
On 05/12/12 20:49, Mathieu Desnoyers wrote:
* David Bryant (david.bry...@quantum.com) wrote:
So, building on your example:
#define tracepoint_cond(provider, name, pre, post, ...) \
do { \
if (caa_unlikely(__tracepoint_##provider##___##name.state)) { \
pre
On 05/12/12 00:32, Mathieu Desnoyers wrote:
Hrm. So what you would like is something like:
int tracepoint_get_state(provider, name);
So you could use it for your setup and cleanup. However, let's see the
possible use of this construct:
1 - this construct would be OK:
if
On 04/12/12 01:04, Mathieu Desnoyers wrote:
* David Bryant (david.bry...@quantum.com) wrote:
Hi all,
Is it feasible to have an officially supported way of determining if a
tracepoint is currently enabled?
In my code I would like to test if the tracepoint is enabled, and if it
isn't, avoid
Hi all,
Is it feasible to have an officially supported way of determining if a
tracepoint is currently enabled?
In my code I would like to test if the tracepoint is enabled, and if it
isn't, avoid doing expensive setup work.
I've been doing the following:
if
: pointer to string, not string, should be on stack
Fixes #329
Reported-by: David Bryant david.bry...@quantum.com
Signed-off-by: Mathieu Desnoyers mathieu.desnoy...@efficios.com
Please let me know if it helps,
Thanks,
Mathieu
Hello,
What are the pros and cons of static versus dynamic linking of the
tracepoint provider? I can't find much information looking around.
Are their any licensing related issues? For example, is closed-source
software not allowed to use static linking?
Is it just an optimisation -
Hi,
I'm trying to understand the following changeset:
commit 27f4b6094f399f2fe231b58801dce98cbd21baa9
Author: Mathieu Desnoyers mathieu.desnoy...@efficios.com
Date: Tue Sep 4 12:17:07 2012 -0400
Fix filter: pointer to string, not string, should be on stack
Fixes #329
Signed-off-by: Mathieu