mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-capture: remove unused code
This commit is contained in:
@ -88,12 +88,6 @@ typedef struct
|
|||||||
int pid;
|
int pid;
|
||||||
} SysprofCollector;
|
} SysprofCollector;
|
||||||
|
|
||||||
#ifdef __linux__
|
|
||||||
# define sysprof_current_cpu (sched_getcpu())
|
|
||||||
#else
|
|
||||||
# define sysprof_current_cpu (-1)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define COLLECTOR_MAGIC_CREATING ((gpointer)&creating)
|
#define COLLECTOR_MAGIC_CREATING ((gpointer)&creating)
|
||||||
|
|
||||||
static MappedRingBuffer *request_writer (void);
|
static MappedRingBuffer *request_writer (void);
|
||||||
|
|||||||
Reference in New Issue
Block a user