1/* 2 * Copyright (c) 2001-2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 178 unchanged lines hidden (view full) --- 187 cprintf("%s\n", flagStrings[i]); 188 } 189} 190 191/* namespace Trace */ } 192 193 194// add a set of functions that can easily be invoked from gdb |
195void 196setTraceFlag(const char *string) 197{ 198 Trace::changeFlag(string, true); 199} |
200 |
201void 202clearTraceFlag(const char *string) 203{ 204 Trace::changeFlag(string, false); 205} |
206 |
207void 208dumpTraceStatus() 209{ 210 Trace::dumpStatus(); 211} |