From: david.goulet@polymtl.ca (David Goulet)
Subject: [ltt-dev] [UST PATCH 3/3] Remove unused code
Date: Fri, 17 Sep 2010 15:41:12 -0400 [thread overview]
Message-ID: <1284752472-350-3-git-send-email-david.goulet@polymtl.ca> (raw)
In-Reply-To: <1284752472-350-1-git-send-email-david.goulet@polymtl.ca>
Signed-off-by: David Goulet <david.goulet at polymtl.ca>
---
include/ust/marker.h | 22 ----------------------
1 files changed, 0 insertions(+), 22 deletions(-)
diff --git a/include/ust/marker.h b/include/ust/marker.h
index 7670648..6103629 100644
--- a/include/ust/marker.h
+++ b/include/ust/marker.h
@@ -77,9 +77,6 @@ struct marker {
void *location; /* Address of marker in code */
} __attribute__((aligned(8)));
-#define CONFIG_MARKERS
-#ifdef CONFIG_MARKERS
-
#define GET_MARKER(channel, name) (__mark_##channel##_##name)
#define _DEFINE_MARKER(channel, name, tp_name_str, tp_cb, format, unique, m) \
@@ -200,25 +197,6 @@ struct marker {
extern void marker_update_probe_range(struct marker *begin,
struct marker *end);
-#else /* !CONFIG_MARKERS */
-#define DEFINE_MARKER(channel, name, tp_name, tp_cb, format, m)
-#define __trace_mark(generic, channel, name, call_private, format, args...) \
- __mark_check_format(format, ## args)
-#define __trace_mark_tp(channel, name, call_private, tp_name, tp_cb, \
- format, args...) \
- do { \
- void __check_tp_type(void) \
- { \
- register_trace_##tp_name(tp_cb, call_private); \
- } \
- __mark_check_format(format, ## args); \
- } while (0)
-static inline void marker_update_probe_range(struct marker *begin,
- struct marker *end)
-{ }
-#define GET_MARKER(channel, name)
-#endif /* CONFIG_MARKERS */
-
/**
* trace_mark - Marker using code patching
* @channel: marker channel (where to send the data), not quoted.
--
1.7.2.3
next prev parent reply other threads:[~2010-09-17 19:41 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-17 19:41 [ltt-dev] [UST PATCH 1/3] Change code for consistency David Goulet
2010-09-17 19:41 ` [ltt-dev] [UST PATCH 2/3] Syntax cleanup David Goulet
2010-09-21 12:14 ` Nils Carlson
2010-09-17 19:41 ` David Goulet [this message]
2010-09-21 12:14 ` [ltt-dev] [UST PATCH 3/3] Remove unused code Nils Carlson
2010-09-26 5:13 ` Pierre-Marc Fournier
2010-09-26 16:37 ` David Goulet
2010-09-17 20:18 ` [ltt-dev] [UST PATCH 1/3] Change code for consistency Nils Carlson
2010-09-17 21:04 ` David Goulet
2010-09-17 21:07 ` Mathieu Desnoyers
2010-09-17 21:40 ` David Goulet
2010-09-21 12:13 ` Nils Carlson
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=1284752472-350-3-git-send-email-david.goulet@polymtl.ca \
--to=david.goulet@polymtl.ca \
/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