Add a stub .Debug.Stats interface if --enable-stats
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 8 Feb 2011 15:33:35 +0000 (15:33 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 24 Jun 2011 15:00:49 +0000 (16:00 +0100)
commit206fff7ee60706a803cc8da23bdaf9caa9f2fda1
treee54de1d2e05458ff4c810a8193682e50fc1ecb40
parentbc212b72b29caea8d73b4c9a5d3884257c700250
Add a stub .Debug.Stats interface if --enable-stats

There are no actual statistics yet, just a count of how many times the
method has been called, and (for the per-connection stats) the unique name.

Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34040
bus/Makefile.am
bus/driver.c
bus/stats.c [new file with mode: 0644]
bus/stats.h [new file with mode: 0644]