Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
{
int i;
- for (i = 0; i < objd_table.allocated_len; i++) {
- struct obj *obj = _objd_get(i);
-
+ for (i = 0; i < objd_table.allocated_len; i++)
(void) objd_unref(i);
- }
free(objd_table.array);
objd_table.array = NULL;
objd_table.len = 0;
static
long lttng_rb_cmd(int objd, unsigned int cmd, unsigned long arg)
{
- struct stream_priv_data *priv = objd_private(objd);
+ //struct stream_priv_data *priv = objd_private(objd);
switch (cmd) {
default:
const char *home_dir;
int ret, wait_shm_fd;
struct sigaction act;
- mode_t old_umask;
+ mode_t old_umask = 0;
const char *outputpath;
const char **event_names;
unsigned int nr_events;
const char *home_dir;
int ret, wait_shm_fd;
struct sigaction act;
- mode_t old_umask;
+ mode_t old_umask = 0;
set_ulimit();