profiler: extract SpProfiler into an interface

It would be nice to be able to support a remote profiler session in the
future, so add SpLocalProfiler implementation of SpProfiler interface.
This commit is contained in:
Christian Hergert
2016-04-14 02:37:28 -07:00
parent 5d25b8a242
commit 88d3ae3b74
8 changed files with 1148 additions and 923 deletions

View File

@ -56,6 +56,7 @@ headers_DATA = \
sp-jitmap-symbol-resolver.h \
sp-kernel-symbol.h \
sp-kernel-symbol-resolver.h \
sp-local-profiler.h \
sp-map-lookaside.h \
sp-perf-source.h \
sp-proc-source.h \
@ -81,6 +82,7 @@ libsysprof_@API_VERSION@_la_SOURCES = \
sp-kernel-symbol-resolver.c \
sp-line-reader.c \
sp-line-reader.h \
sp-local-profiler.c \
sp-map-lookaside.c \
sp-perf-counter.c \
sp-perf-counter.h \