Commit Graph

956 Commits

Author SHA1 Message Date
dfe3a10ea5 build: Use LINGUAS file for help
The old method is deprecated.

https://bugzilla.gnome.org/show_bug.cgi?id=794457
2018-03-18 22:45:59 +01:00
a11c1e1e57 Add Italian translation
(cherry picked from commit 4673fff975b80e9c0fd559802f5d7de0f3dce0b5)
2018-03-18 13:38:17 +00:00
bb9d639fd1 Update Indonesian translation
(cherry picked from commit 164e5e1d3ad4889866f745af8e27c7cbf03b4ba9)
2018-03-15 13:40:00 +00:00
5b5a79e3e0 Release 3.28 2018-03-13 17:46:55 -07:00
c3d1fd0ff8 sp-capture-writer: Initialize write buffer
Valgrind notes that the buffer is not fully initialized when we pass it
to write(). This could potentially write sensitive data, if we are not
careful with the buffer length.

See https://gitlab.gnome.org/GNOME/gjs/issues/120

https://bugzilla.gnome.org/show_bug.cgi?id=794272
2018-03-12 16:50:51 -07:00
0b23643cbe Update Swedish translation 2018-03-11 18:16:51 +00:00
1ec14b637e release 3.27.92 2018-03-04 21:06:01 -08:00
65e9dca2c4 Update Finnish translation 2018-03-03 17:05:50 +00:00
489b8864bd Update German translation 2018-03-01 10:16:06 +00:00
a43b752186 Update Hungarian translation 2018-02-26 22:31:26 +00:00
3e1770fd5b Updated Serbian translation 2018-02-23 00:42:32 +01:00
10b00317bc Updated Spanish translation 2018-02-22 14:08:52 +01:00
d31b4bc178 sysprofd: remove lingering debug code
https://bugzilla.gnome.org/show_bug.cgi?id=793698
2018-02-21 11:51:01 -08:00
1045422355 Remove po/Makevars
Meson doesn’t use it, and Damned Lies learned to read po/meson.build.
2018-02-20 23:19:15 +01:00
6fde0be959 release 3.27.91 2018-02-20 13:53:59 -08:00
4d8c1b2a46 tests: use G_GUINT64_FORMAT 2018-02-19 14:33:13 -08:00
88b8c20e79 Update Brazilian Portuguese translation 2018-02-19 20:56:07 +00:00
cd7ff7f258 tests: fix warning in model filter test 2018-02-13 20:35:24 -08:00
0ee8a38fca build: add more GCC warnings
Adds the set we use in various other GNOME projects.
2018-02-13 20:35:02 -08:00
0219ee5205 capture-cursor: specify const for condition
We don't modify this, so it can be const.
2018-02-13 17:18:28 -08:00
951213ddb6 capture-reader: cleanup some space checks
Add a few more assertions to make sure we have what we think we have. Also
we can drop self->pos from our while loop checks as it will always be zero.
2018-02-13 17:10:02 -08:00
0ec2c127ea capture-reader: fix byte swap of frame info
If we are swapping between endianness, we were miss swapping various fields
and they'd all end up with the swapped len value.
2018-02-13 16:34:41 -08:00
44b3f6ba36 Update Polish translation 2018-02-04 17:12:23 +01:00
0ddab3db6e callgraph: add information about expectations 2018-01-29 02:11:03 -08:00
3b3252e050 kernel-symbol: delay symbol filtering until lookup
We don't want to avoid adding the symbols to the index table, or we will
get the wrong addresses.

So instead, add them, and then ignore the symbols upon lookup.
2018-01-29 02:09:31 -08:00
8a47f72749 callgraph: use last valid context 2018-01-29 01:38:35 -08:00
c05d5a5d66 callgraph: code style cleanup 2018-01-29 01:38:35 -08:00
2f6b01781f elf: ignore address context that is not user
We should be betting a context change as part of the stack, so ignore it
if we didn't get a user context.
2018-01-29 01:38:35 -08:00
deecb04963 kernel-symbol: code style cleanup 2018-01-29 01:38:35 -08:00
1bc52902eb kernel-symbols: avoid symbols not in text (code) section
Those are defind as t or T type.
2018-01-29 01:38:35 -08:00
8fb46f3e7f kernel-symbol: fix result parsing from sysprofd
We need to add an additional () around our result type from sysprofd.
2018-01-29 01:38:35 -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
af4eac025a Updated Czech translation 2018-01-29 09:41:44 +01:00
acab78da72 callgraph: use sp_symbol_resolver_resolve_with_context()
We want to ensure that we give the resolve the address context so that it
can filter whether or not the address range applies.
2018-01-28 22:16:59 -08:00
bb78a1c165 elf: only resolve addresses in none/user address context
This ensures that we only try to resolve addresses for ELFs when we know
we're inside of the userspace address context.
2018-01-28 22:14:32 -08:00
aa0506e26f symbol-resolver: check for kernel address context
We only want to resolve a symbol if we're inside the kernel context.
Otherwise, it wont be accurate.
2018-01-28 22:13:49 -08:00
df07f6d915 resolver: extend interface to include address context
We might need access to the address context when resolving symbols so that
we know if the address range applies to us.
2018-01-28 22:12:27 -08:00
128aa18a00 lib: query /proc/kallsyms and/or daemon for symbols
If we have a system where we can read kallsyms without elevated
privilledges do that. Otherwise, query the sysprod daemon to get the
available kernel symbols.
2018-01-28 21:34:44 -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
cf756c65aa kernel-symbol-resolver: code style cleanup 2018-01-28 21:26:47 -08:00
26343e3d2a kallsyms: add API to extract kallsyms with strtok_r()
This will allow us to simplify some code, and provide an API in both
the lib and daemon to get symbols while sharing code.
2018-01-28 21:26:17 -08:00
d1f0cfb1ce policy: be more complete in dbus policy definition 2018-01-28 21:23:49 -08:00
df71ef27d9 desktop: add GTK to categories
To quiet the desktop-file-validate program.
2018-01-28 19:40:47 -08:00
0e8b51c6ab kernel: only try to load kernel symbol map once
If we fail, log a message to the console and bail. This seems to happen
with recent kernel changes.
2018-01-27 01:10:00 -08:00
51fadf1a5e build: add sysprof-capture-2 pkgconfig file 2018-01-20 01:43:22 -08:00
469d54df5b build: add libsysprof-capture-2 static library
This allows external tooling to write capture files that Sysprof can open.
Ideally, this will get used by GJS in the near future to implement profiler
output for Sysprof.
2018-01-20 01:30:39 -08:00
6fa95dfb6f lgpl: relicense some useful files as LGPLv2.1+ 2018-01-20 01:26:17 -08:00
9596834b4c Update German translation 2017-12-27 00:00:27 +00:00
f426bc061e build: Install appstream metadata to non-deprecated location
https://bugzilla.gnome.org/show_bug.cgi?id=790878
2017-11-26 23:01:19 -08:00
ed1cba7097 Update Polish translation 2017-11-26 18:29:18 +01:00