[Orca-checkins] rev 140 - trunk/orca/orcallator

blair at orcaware.com blair at orcaware.com
Sun Jul 14 13:12:02 PDT 2002


Author: blair
Date: Sun, 14 Jul 2002 13:11:30 -0700
New Revision: 140

Modified:
   trunk/orca/orcallator/orcallator.se
Log:
* orcallator/orcallator.se:
  Upgrade to version 1.34.
    Support for SE version 3.3.  Break compatibility with SE version
      3.0 which was released a long time ago in December 1997.
    Because there is no way at C preprocessing time of an SE script to
      determine which version of SE is being used, in orcallator.se,
      regardless of SE version, on Solaris 8 or later, do not record
      the pagesio data.  In the Yahoo!/GeoCities data, this value has
      always been zero.
    SE 3.3 finally removed the compatibility #define from prpsinfo_t
      to psinfo_t, so now use psinfo_t.  This breaks compatibility
      with SE 3.0.


Modified: trunk/orca/orcallator/orcallator.se
==============================================================================
--- trunk/orca/orcallator/orcallator.se	(original)
+++ trunk/orca/orcallator/orcallator.se	Sun Jul 14 13:11:30 2002
@@ -8,6 +8,19 @@
 //
 // Portions copied from percollator.se written by Adrian Cockroft.
 //
+// Version 1.34:   Jul 14, 2002	Support for SE version 3.3.  Break
+//				compatibility with SE version 3.0, which was
+//				released a long time ago in December 1997.
+//				Because there is no way at C preprocessing time
+//				of an SE script to determine which version of
+//				SE is being used, in orcallator.se, regardless
+//				of SE version, on Solaris 8 or later, do not
+//				record the pagesio data.  In the Yahoo!
+//				GeoCities data, this value has always been
+//				zero.  SE 3.3 finally removed the compatibility
+//				#define from prpsinfo_t to psinfo_t, so now use
+//				psinfo_t.  This breaks compatibility with SE
+//				3.0.
 // Version 1.33:   Jul 10, 2002	In check_output_log_filename(), stat() was
 //				was being passed a stat_t by value, instead of
 //				a pointer to a stat_t.  Only the return value
@@ -1772,7 +1785,9 @@
   put_output("pp_kernel", sprintf("%9lu", tmp_kstat_pages.pp_kernel));
   put_output("pagesfree", sprintf("%9lu", tmp_kstat_pages.pagesfree));
   put_output("pageslock", sprintf("%9lu", tmp_kstat_pages.pageslocked));
+#if MINOR_VERSION < 80
   put_output("pagesio",   sprintf("%7lu", tmp_kstat_pages.pagesio));
+#endif
   put_output("pagestotl", sprintf("%9lu", tmp_kstat_pages.pagestotal));
 }
 #endif
@@ -2251,8 +2266,8 @@
 
 int count_proc(string name)
 {
-  int        count;
-  prpsinfo_t p;
+  int      count;
+  psinfo_t p;
 
   count = 0;
   for (p=first_proc(); p.pr_pid != -1; p=next_proc()) {




More information about the Orca-checkins mailing list