summaryrefslogtreecommitdiffstats
path: root/kmtrace/ksotrace.cpp
blob: 9f37941432e6a4b434a34f3f9462ef08b4aecbcc (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "ktrace.h"
#include <stdlib.h>

class KTraceActivate 
{
public:
   KTraceActivate() { setenv("LD_PRELOAD","",1); ktrace(); }
   ~KTraceActivate() { kuntrace(); }
} kTraceActivateInstance;