Diff of /daemon/liblegacy/init.c [9871f0] .. [0d0e60]  Maximize  Restore

Switch to unified view

a/daemon/liblegacy/init.c b/daemon/liblegacy/init.c
...
...
333
    int opd_buf_size = OP_DEFAULT_BUF_SIZE;
333
    int opd_buf_size = OP_DEFAULT_BUF_SIZE;
334
    int opd_note_buf_size = OP_DEFAULT_NOTE_SIZE;
334
    int opd_note_buf_size = OP_DEFAULT_NOTE_SIZE;
335
335
336
    if (!no_vmlinux)
336
    if (!no_vmlinux)
337
        opd_parse_kernel_range(kernel_range);
337
        opd_parse_kernel_range(kernel_range);
338
    opd_buf_size = opd_read_fs_int(OP_MOUNT, "bufsize");
338
    opd_buf_size = opd_read_fs_int(OP_MOUNT, "bufsize", 1);
339
    opd_note_buf_size = opd_read_fs_int(OP_MOUNT, "notesize");
339
    opd_note_buf_size = opd_read_fs_int(OP_MOUNT, "notesize", 1);
340
340
341
    s_buf_bytesize = sizeof(struct op_buffer_head) + opd_buf_size * sizeof(struct op_sample);
341
    s_buf_bytesize = sizeof(struct op_buffer_head) + opd_buf_size * sizeof(struct op_sample);
342
342
343
    sbuf = xmalloc(s_buf_bytesize);
343
    sbuf = xmalloc(s_buf_bytesize);
344
344