Commit Graph

8 Commits

Author SHA1 Message Date
d31b4bc178 sysprofd: remove lingering debug code
https://bugzilla.gnome.org/show_bug.cgi?id=793698
2018-02-21 11:51:01 -08:00
911d51d447 kallsyms: make SpKallsyms more testable
This allows us to pass in the file to read from, and adds a quick test
case to view the parsed output. It also fixes a base-10 vs base-16
mistake in parsing addresses.
2018-01-29 01:38:35 -08:00
3162b40702 daemon: add API to get kernel symbols
This is useful because we might not have access to kernel symbols from
user applications which are not root. Various distributions are starting
to censor kernel addresses without root.

This allows the clients to fetch the symbol addresses without having to
be root themselves.
2018-01-28 21:30:19 -08:00
113baca655 build: fix a few warnings from clang 2016-04-28 04:00:27 -07:00
9f8f33b210 perf: use #ifdef, not #if
config.h does not unconditionally define these, they are not defined when
inactive.
2016-04-16 16:56:41 -07:00
06aaff90e5 perf: optionally enable clockid and use_clockid
Some kernels to not have this feature yet, so check for support in
linux/perf_event.h and optionally enable the struct field.
2016-04-16 16:07:11 -07:00
3e1bc8eb4a sysprofd: add sample_id_all field to options
We need this to get the time field from mmap/comm events.
2016-04-15 04:51:23 -07:00
29c4ec495f Land Sysprof 2.x
This is a major redesign a modernization of Sysprof. The core data
structures and design are largely the same, but it has been ported to
Gtk3 and has lots of additions that should make your profiling experience
smoother. Especially for those that are new to profiling.

There are some very simple help docs added, but we really need the
experts to come in and write some documentation here.
2016-04-13 05:24:03 -07:00