Coda Distributed File System
datalog.h
Go to the documentation of this file.
1#ifndef _BLURB_
2#define _BLURB_
3/*
4
5 Coda: an Experimental Distributed File System
6 Release 6
7
8 Copyright (c) 1987-2003 Carnegie Mellon University
9 All Rights Reserved
10
11Permission to use, copy, modify and distribute this software and its
12documentation is hereby granted, provided that both the copyright
13notice and this permission notice appear in all copies of the
14software, derivative works or modified versions, and any portions
15thereof, and that both notices appear in supporting documentation, and
16that credit is given to Carnegie Mellon University in all documents
17and publicity pertaining to direct or indirect use of this code or its
18derivatives.
19
20CODA IS AN EXPERIMENTAL SOFTWARE SYSTEM AND IS KNOWN TO HAVE BUGS,
21SOME OF WHICH MAY HAVE SERIOUS CONSEQUENCES. CARNEGIE MELLON ALLOWS
22FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION. CARNEGIE MELLON
23DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER
24RESULTING DIRECTLY OR INDIRECTLY FROM THE USE OF THIS SOFTWARE OR OF
25ANY DERIVATIVE WORK.
26
27Carnegie Mellon encourages users of this software to return any
28improvements or extensions that they make, and to grant Carnegie
29Mellon the rights to redistribute these changes without encumbrance.
30*/
31#endif /*_BLURB_*/
32
33#ifndef _DATALOG_H_
34#define _DATALOG_H_
35
36extern long ScanPastMagicNumber(long *);
37
38extern int ReadSessionRecord(VmonVenusId *, VmonSessionId *, VolumeId *,
39 UserId *, VmonAVSG *, RPC2_Unsigned *,
41 VmonSessionEventArray *, SessionStatistics *,
42 CacheStatistics *);
43extern int ReadCommRecord(VmonVenusId *, RPC2_Unsigned *, RPC2_Integer *,
44 RPC2_Unsigned *, VmonCommEventType *);
45
46extern int ReadClientCall(VmonVenusId *, long *, unsigned long *,
48
49extern int ReadClientMCall(VmonVenusId *, long *, unsigned long *,
51
52extern int ReadClientRVM(VmonVenusId *, long *, RvmStatistics *);
53
54extern int ReadVCB(VmonVenusId *, long *, long *, VolumeId *, VCBStatistics *);
55
56extern int ReadAdviceCall(VmonVenusId *, long *, UserId *, AdviceStatistics *,
57 unsigned long *, AdviceCalls **, unsigned long *,
58 AdviceResults **);
59
60extern int ReadMiniCacheCall(VmonVenusId *, long *, unsigned long *,
61 VmonMiniCacheStat **, unsigned long *,
62 VmonMiniCacheStat **);
63
64extern int ReadOverflow(VmonVenusId *, RPC2_Unsigned *, RPC2_Unsigned *,
67extern int ReadSrvCall(SmonViceId *, unsigned long *, unsigned long *,
68 CallCountEntry **, unsigned long *, CallCountEntry **,
69 unsigned long *, CallCountEntry **, unsigned long *,
70 CallCountEntry **, unsigned long *, MultiCallEntry **,
71 SmonStatistics *);
72extern int ReadResEvent(SmonViceId *, unsigned long *, unsigned long *, long *,
73 long *, long *, unsigned long *, ResOpEntry **);
74
75extern int ReadRvmResEvent(SmonViceId *, unsigned long *, unsigned long *,
76 FileResStats *, DirResStats *, long *, HistoElem **,
77 long *, HistoElem **, ResConflictStats *, long *,
78 HistoElem **, long *, HistoElem **, ResLogStats *,
79 long *, HistoElem **, long *, HistoElem **);
80
81extern int ReadSrvOverflow(SmonViceId *, unsigned long *, unsigned long *,
82 unsigned long *, long *);
83
84extern int ReadIotInfoCall(VmonVenusId *, IOT_INFO *, RPC2_Integer *,
85 RPC2_String *);
86
87extern int ReadIotStatsCall(VmonVenusId *, RPC2_Integer *, IOT_STAT *);
88
89extern int ReadSubtreeCall(VmonVenusId *, RPC2_Integer *, LocalSubtreeStats *);
90
91extern int ReadRepairCall(VmonVenusId *, RPC2_Integer *, RepairSessionStats *);
92
93extern int ReadRwsStatsCall(VmonVenusId *, RPC2_Integer *,
94 ReadWriteSharingStats *);
95
96extern void RemoveCountArray(unsigned long, CallCountEntry *);
97extern void RemoveMultiArray(unsigned long, MultiCallEntry *);
98
99#endif _DATALOG_H_
int ReadIotStatsCall(VmonVenusId *, RPC2_Integer *, IOT_STAT *)
Definition: datalog.c:405
int ReadCommRecord(VmonVenusId *, RPC2_Unsigned *, RPC2_Integer *, RPC2_Unsigned *, VmonCommEventType *)
Definition: datalog.c:141
long ScanPastMagicNumber(long *)
Definition: datalog.c:95
int ReadSessionRecord(VmonVenusId *, VmonSessionId *, VolumeId *, UserId *, VmonAVSG *, RPC2_Unsigned *, RPC2_Unsigned *, RPC2_Unsigned *, VmonSessionEventArray *, SessionStatistics *, CacheStatistics *)
Definition: datalog.c:118
int ReadAdviceCall(VmonVenusId *, long *, UserId *, AdviceStatistics *, unsigned long *, AdviceCalls **, unsigned long *, AdviceResults **)
Definition: datalog.c:204
int ReadSubtreeCall(VmonVenusId *, RPC2_Integer *, LocalSubtreeStats *)
Definition: datalog.c:431
void RemoveMultiArray(unsigned long, MultiCallEntry *)
Definition: datalog.c:708
int ReadVCB(VmonVenusId *, long *, long *, VolumeId *, VCBStatistics *)
Definition: datalog.c:191
int ReadOverflow(VmonVenusId *, RPC2_Unsigned *, RPC2_Unsigned *, RPC2_Unsigned *, RPC2_Unsigned *, RPC2_Unsigned *, RPC2_Unsigned *)
Definition: datalog.c:242
void RemoveCountArray(unsigned long, CallCountEntry *)
Definition: datalog.c:687
int ReadResEvent(SmonViceId *, unsigned long *, unsigned long *, long *, long *, long *, unsigned long *, ResOpEntry **)
Definition: datalog.c:289
int ReadClientCall(VmonVenusId *, long *, unsigned long *, CallCountEntry **)
Definition: datalog.c:155
int ReadMiniCacheCall(VmonVenusId *, long *, unsigned long *, VmonMiniCacheStat **, unsigned long *, VmonMiniCacheStat **)
Definition: datalog.c:225
int ReadIotInfoCall(VmonVenusId *, IOT_INFO *, RPC2_Integer *, RPC2_String *)
Definition: datalog.c:370
int ReadSrvOverflow(SmonViceId *, unsigned long *, unsigned long *, unsigned long *, long *)
Definition: datalog.c:334
int ReadRvmResEvent(SmonViceId *, unsigned long *, unsigned long *, FileResStats *, DirResStats *, long *, HistoElem **, long *, HistoElem **, ResConflictStats *, long *, HistoElem **, long *, HistoElem **, ResLogStats *, long *, HistoElem **, long *, HistoElem **)
Definition: datalog.c:307
int ReadRepairCall(VmonVenusId *, RPC2_Integer *, RepairSessionStats *)
Definition: datalog.c:477
int ReadClientRVM(VmonVenusId *, long *, RvmStatistics *)
Definition: datalog.c:181
int ReadClientMCall(VmonVenusId *, long *, unsigned long *, MultiCallEntry **)
Definition: datalog.c:168
int ReadSrvCall(SmonViceId *, unsigned long *, unsigned long *, CallCountEntry **, unsigned long *, CallCountEntry **, unsigned long *, CallCountEntry **, unsigned long *, CallCountEntry **, unsigned long *, MultiCallEntry **, SmonStatistics *)
Definition: datalog.c:259
int ReadRwsStatsCall(VmonVenusId *, RPC2_Integer *, ReadWriteSharingStats *)
Definition: datalog.c:501
int32_t RPC2_Integer
Definition: rpc2.h:297
uint32_t RPC2_Unsigned
Definition: rpc2.h:300
RPC2_ByteSeq RPC2_String
Definition: rpc2.h:312
Definition: rpc2.h:662
Definition: rpc2.h:671