projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update FSF address
[lttv.git]
/
lttv
/
modules
/
text
/
textDump.c
diff --git
a/lttv/modules/text/textDump.c
b/lttv/modules/text/textDump.c
index a8fadb5d509c805f490258246e1bdbdaa19a8e5c..46f676ff90351875f3d0a4963bbdc420dac7c1c7 100644
(file)
--- a/
lttv/modules/text/textDump.c
+++ b/
lttv/modules/text/textDump.c
@@
-13,8
+13,8
@@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 5
9 Temple Place - Suite 330
, Boston,
- * MA 0211
1-1307
, USA.
+ * Foundation, Inc., 5
1 Franklin Street, Fifth Floor
, Boston,
+ * MA 0211
0-1301
, USA.
*/
/* The text dump facility needs to print headers before the trace set and
*/
/* The text dump facility needs to print headers before the trace set and
@@
-35,10
+35,8
@@
#include <lttv/stats.h>
#include <lttv/filter.h>
#endif
#include <lttv/stats.h>
#include <lttv/filter.h>
#endif
+#include <lttv/traceset.h>
#include <lttv/print.h>
#include <lttv/print.h>
-#include <ltt/ltt.h>
-#include <ltt/event.h>
-#include <ltt/trace.h>
#include <stdio.h>
#include <inttypes.h>
#include <stdio.h>
#include <inttypes.h>
@@
-61,7
+59,7
@@
static LttvHooks
*before_trace,
*event_hook;
*before_trace,
*event_hook;
-
+#ifdef BABEL_CLEANUP
static void
print_path_tree(FILE *fp, GString *indent, LttvAttribute *tree)
{
static void
print_path_tree(FILE *fp, GString *indent, LttvAttribute *tree)
{
@@
-199,6
+197,7
@@
print_tree(FILE *fp, GString *indent, LttvAttribute *tree)
}
}
}
}
}
}
+#endif
#ifdef BABEL_CLEANUP
static void
print_stats(FILE *fp, LttvTracesetStats *tscs)
#ifdef BABEL_CLEANUP
static void
print_stats(FILE *fp, LttvTracesetStats *tscs)
@@
-275,8
+274,9
@@
static gboolean write_traceset_header(void *hook_data, void *call_data)
static gboolean write_traceset_footer(void *hook_data, void *call_data)
{
static gboolean write_traceset_footer(void *hook_data, void *call_data)
{
+#ifdef BABEL_CLEAUP
LttvTraceset *traceset = (LttvTraceset *)call_data;
LttvTraceset *traceset = (LttvTraceset *)call_data;
-
+#endif
g_info("TextDump traceset footer");
fprintf(a_file,"End trace set\n\n");
g_info("TextDump traceset footer");
fprintf(a_file,"End trace set\n\n");
@@
-308,10
+308,11
@@
static gboolean write_trace_header(void *hook_data, void *call_data)
static int write_event_content(void *hook_data, void *call_data)
{
static int write_event_content(void *hook_data, void *call_data)
{
+#ifdef BABEL_CLEANUP
gboolean result;
LttvIAttribute *attributes = LTTV_IATTRIBUTE(lttv_global_attributes());
gboolean result;
LttvIAttribute *attributes = LTTV_IATTRIBUTE(lttv_global_attributes());
-
+#endif
LttvEvent *event = (LttvEvent *)call_data;
#ifdef BABEL_CLEANUP
LttvTracefileContext *tfc = (LttvTracefileContext *)call_data;
LttvEvent *event = (LttvEvent *)call_data;
#ifdef BABEL_CLEANUP
LttvTracefileContext *tfc = (LttvTracefileContext *)call_data;
@@
-351,7
+352,7
@@
static int write_event_content(void *hook_data, void *call_data)
#endif
/* TODO 2012-03-12 Add state info */
#endif
/* TODO 2012-03-12 Add state info */
- lttv_event_to_string(event, a_string, !a_no_field_names);
+ lttv_event_to_string(event, a_string, !a_no_field_names
, TRUE
);
#ifdef BABEL_CLEANUP
if(a_state) {
#ifdef BABEL_CLEANUP
if(a_state) {
This page took
0.0268 seconds
and
4
git commands to generate.