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;
9 * redistributions in binary form must reproduce the above copyright
--- 40 unchanged lines hidden (view full) ---
50
51extern bool enabled;
52bool changeFlag(const char *str, bool value);
53void dumpStatus();
54
55extern ObjectMatch ignore;
56extern const std::string DefaultName;
57
58void dprintf(Tick when, const std::string &name, const char *format,
59 CPRINTF_DECLARATION);
60void dump(Tick when, const std::string &name, const void *data, int len);
61
62} // namespace Trace
63
64// This silly little class allows us to wrap a string in a functor
65// object so that we can give a name() that DPRINTF will like
66struct StringWrap
67{
--- 85 unchanged lines hidden ---
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;
9 * redistributions in binary form must reproduce the above copyright
--- 40 unchanged lines hidden (view full) ---
50
51extern bool enabled;
52bool changeFlag(const char *str, bool value);
53void dumpStatus();
54
55extern ObjectMatch ignore;
56extern const std::string DefaultName;
57
58void dprintf(Tick when, const std::string &name, const char *format,
59 CPRINTF_DECLARATION);
60void dump(Tick when, const std::string &name, const void *data, int len);
61
62} // namespace Trace
63
64// This silly little class allows us to wrap a string in a functor
65// object so that we can give a name() that DPRINTF will like
66struct StringWrap
67{
--- 85 unchanged lines hidden ---