This file is more about tracing than debugging, Rename it to match
more what it really is about.
Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
LD=ld
CFLAGS=-Wall -O2 -g -fPIC
LD=ld
CFLAGS=-Wall -O2 -g -fPIC
-LOG-PLOTTER_OBJS = baud.o main.o options.o debug.o data.o
+LOG-PLOTTER_OBJS = baud.o main.o options.o trace.o data.o
ALL_OBJS = $(LOG-PLOTTER_OBJS)
ALL_DEBS = $(patsubst %.o,.%.o.d,$(ALL_OBJS))
ALL_OBJS = $(LOG-PLOTTER_OBJS)
ALL_DEBS = $(patsubst %.o,.%.o.d,$(ALL_OBJS))
#include <string.h>
#include <linux/termios.h>
#include <unistd.h>
#include <string.h>
#include <linux/termios.h>
#include <unistd.h>
/*
* HACK: declare the ioctl function by hand...
/*
* HACK: declare the ioctl function by hand...
#include <math.h>
#include "data.h"
#include <math.h>
#include "data.h"
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
#include "options.h"
#include "baud.h"
#include "options.h"
#include "baud.h"
#include "data.h"
int main(int argc, char *argv[])
#include "data.h"
int main(int argc, char *argv[])
#include <string.h>
#include "options.h"
#include <string.h>
#include "options.h"
void print_help_and_die(const char *exec_name)
{
void print_help_and_die(const char *exec_name)
{
#include <stdio.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdarg.h>
int trace_level = TRACE_INFO;
int trace_level = TRACE_INFO;