Backed out changeset b71c8c052463 (bug 1943846) for causing mass failures. CLOSED...
[gecko.git] / mozglue / baseprofiler / lul / platform-linux-lul.h
blobb54e80edcf58579ea5fd144a127f831fda999804
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef MOZ_PLATFORM_LINUX_LUL_H
7 #define MOZ_PLATFORM_LINUX_LUL_H
9 #include "platform.h"
11 #include "BaseProfiler.h"
13 // Find out, in a platform-dependent way, where the code modules got
14 // mapped in the process' virtual address space, and get |aLUL| to
15 // load unwind info for them.
16 void read_procmaps(lul::LUL* aLUL);
18 // LUL needs a callback for its logging sink.
19 void logging_sink_for_LUL(const char* str);
21 #endif /* ndef MOZ_PLATFORM_LINUX_LUL_H */