blob: 292a7e3ecbd1e7b08fc9e9fe285cd5bbc2adaf0f [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <lib/async-loop/cpp/loop.h>
#include <lib/async-loop/default.h>
#include "src/developer/memory/monitor/monitor.h"
#include "src/lib/fxl/command_line.h"
int main(int argc, const char** argv) {
async::Loop loop(&kAsyncLoopConfigAttachToCurrentThread);
monitor::Monitor app(sys::ComponentContext::CreateAndServeOutgoingDirectory(), fxl::CommandLine{},
loop.dispatcher(), false, false, false);
loop.Run();
return 0;
}