+
+/* Hack to record history
+ * This should really be done by CDEBUG(D_NETTRACE... */
+
+typedef struct {
+ struct list_head he_list;
+ struct timeval he_time;
+ const char *he_fn;
+ const char *he_file;
+ int he_seq;
+ int he_line;
+ char he_msg[80];
+} ptllnd_he_t;
+
+void ptllnd_dump_history();
+void ptllnd_history(const char *fn, const char *file, const int line,
+ const char *fmt, ...);
+#define PTLLND_HISTORY(fmt, a...) \
+ ptllnd_history(__FUNCTION__, __FILE__, __LINE__, fmt, ## a)
+
+