blob: 0b6c682d1d62489ca71f805a6621269473f87cfc [file] [log] [blame]
Sean Kaub4cb26a2017-03-16 14:07:27 -07001# Copyright 2017 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import dbus
6
7
8def iface():
9 """Returns the interface object for debugd."""
10 bus = dbus.SystemBus()
11 proxy = bus.get_object('org.chromium.debugd', '/org/chromium/debugd')
12 return dbus.Interface(proxy, dbus_interface='org.chromium.debugd')