Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset a5facfb in mainline


Ignore:
Timestamp:
2009-07-22T18:46:14Z (12 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master
Children:
1641eb0
Parents:
c8404d4
Message:

Update proto definitions in tracer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/trace/trace.c

    rc8404d4 ra5facfb  
    771771
    772772        p = proto_new("vfs");
     773        o = oper_new("open", 2, arg_def, V_INT_ERRNO, 0, resp_def);
     774        proto_add_oper(p, VFS_IN_OPEN, o);
     775        o = oper_new("open_node", 4, arg_def, V_INT_ERRNO, 0, resp_def);
     776        proto_add_oper(p, VFS_IN_OPEN_NODE, o);
    773777        o = oper_new("read", 1, arg_def, V_ERRNO, 1, resp_def);
    774778        proto_add_oper(p, VFS_IN_READ, o);
    775779        o = oper_new("write", 1, arg_def, V_ERRNO, 1, resp_def);
    776780        proto_add_oper(p, VFS_IN_WRITE, o);
     781        o = oper_new("seek", 3, arg_def, V_ERRNO, 0, resp_def);
     782        proto_add_oper(p, VFS_IN_SEEK, o);
    777783        o = oper_new("truncate", 5, arg_def, V_ERRNO, 0, resp_def);
    778784        proto_add_oper(p, VFS_IN_TRUNCATE, o);
     785        o = oper_new("fstat", 1, arg_def, V_ERRNO, 0, resp_def);
     786        proto_add_oper(p, VFS_IN_FSTAT, o);
     787        o = oper_new("close", 1, arg_def, V_ERRNO, 0, resp_def);
     788        proto_add_oper(p, VFS_IN_CLOSE, o);
    779789        o = oper_new("mount", 2, arg_def, V_ERRNO, 0, resp_def);
    780790        proto_add_oper(p, VFS_IN_MOUNT, o);
    781791/*      o = oper_new("unmount", 0, arg_def);
    782792        proto_add_oper(p, VFS_IN_UNMOUNT, o);*/
    783         o = oper_new("open", 2, arg_def, V_INT_ERRNO, 0, resp_def);
    784         proto_add_oper(p, VFS_IN_OPEN, o);
    785         o = oper_new("close", 1, arg_def, V_ERRNO, 0, resp_def);
    786         proto_add_oper(p, VFS_IN_CLOSE, o);
    787         o = oper_new("seek", 3, arg_def, V_ERRNO, 0, resp_def);
    788         proto_add_oper(p, VFS_IN_SEEK, o);
     793        o = oper_new("sync", 1, arg_def, V_ERRNO, 0, resp_def);
     794        proto_add_oper(p, VFS_IN_SYNC, o);
    789795        o = oper_new("mkdir", 1, arg_def, V_ERRNO, 0, resp_def);
    790796        proto_add_oper(p, VFS_IN_MKDIR, o);
     
    793799        o = oper_new("rename", 0, arg_def, V_ERRNO, 0, resp_def);
    794800        proto_add_oper(p, VFS_IN_RENAME, o);
     801        o = oper_new("stat", 0, arg_def, V_ERRNO, 0, resp_def);
     802        proto_add_oper(p, VFS_IN_STAT, o);
    795803
    796804        proto_register(SERVICE_VFS, p);
    797805
    798806        p = proto_new("console");
     807
     808        o = oper_new("write", 1, arg_def, V_ERRNO, 1, resp_def);
     809        proto_add_oper(p, VFS_IN_WRITE, o);
     810
    799811        resp_def[0] = V_INTEGER; resp_def[1] = V_INTEGER;
    800812        resp_def[2] = V_INTEGER; resp_def[3] = V_CHAR;
Note: See TracChangeset for help on using the changeset viewer.