debug.cc (11988:665cd5f8b52b) | debug.cc (13804:f53a9c35b287) |
---|---|
1/* 2 * Copyright (c) 2017 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 61 unchanged lines hidden (view full) --- 70 Trace::setDebugLogger(new Trace::OstreamLogger(*file_stream->stream())); 71} 72 73static void 74ignore(const char *expr) 75{ 76 ObjectMatch ignore(expr); 77 | 1/* 2 * Copyright (c) 2017 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 61 unchanged lines hidden (view full) --- 70 Trace::setDebugLogger(new Trace::OstreamLogger(*file_stream->stream())); 71} 72 73static void 74ignore(const char *expr) 75{ 76 ObjectMatch ignore(expr); 77 |
78 Trace::getDebugLogger()->setIgnore(ignore); | 78 Trace::getDebugLogger()->addIgnore(ignore); |
79} 80 81void 82pybind_init_debug(py::module &m_native) 83{ 84 py::module m_debug = m_native.def_submodule("debug"); 85 86 m_debug --- 33 unchanged lines hidden --- | 79} 80 81void 82pybind_init_debug(py::module &m_native) 83{ 84 py::module m_debug = m_native.def_submodule("debug"); 85 86 m_debug --- 33 unchanged lines hidden --- |