rename lttngtop/ to src/
[lttngtop.git] / lttngtop / common.h
diff --git a/lttngtop/common.h b/lttngtop/common.h
deleted file mode 100644 (file)
index e81256c..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Copyright (C) 2011 Julien Desfossez
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License Version 2 as
- * published by the Free Software Foundation;
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * 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., 59 Temple Place - Suite 330, Boston,
- * MA 02111-1307, USA.
- */
-
-#ifndef _COMMON_H
-#define _COMMON_H
-
-#include <semaphore.h>
-#include <babeltrace/ctf/events.h>
-#include "lttngtoptypes.h"
-#include "cputop.h"
-
-#define NSEC_PER_USEC 1000
-#define NSEC_PER_SEC 1000000000L
-
-sem_t goodtodisplay, goodtoupdate, timer, pause_sem, end_trace_sem, bootstrap;
-
-GPtrArray *copies; /* struct lttngtop */
-pthread_mutex_t perf_list_mutex;
-
-struct lttngtop *data;
-
-struct processtop *find_process_tid(struct lttngtop *ctx, int pid, char *comm);
-struct processtop* add_proc(struct lttngtop *ctx, int pid, char *comm,
-               unsigned long timestamp);
-struct processtop* update_proc(struct processtop* proc, int pid, int tid,
-               int ppid, char *comm);
-void add_thread(struct processtop *parent, struct processtop *thread);
-struct processtop* get_proc(struct lttngtop *ctx, int tid, char *comm,
-               unsigned long timestamp);
-void death_proc(struct lttngtop *ctx, int tid, char *comm,
-               unsigned long timestamp);
-struct cputime* add_cpu(int cpu);
-struct cputime* get_cpu(int cpu);
-struct lttngtop* get_copy_lttngtop(unsigned long start, unsigned long end);
-struct perfcounter *add_perf_counter(GPtrArray *perf, GQuark quark,
-               unsigned long count);
-struct perfcounter *get_perf_counter(const char *name, struct processtop *proc,
-               struct cputime *cpu);
-
-#endif /* _COMMON_H */
This page took 0.022526 seconds and 4 git commands to generate.