e1085cb737
Add Catalan help translation
2021-10-20 18:22:54 +02:00
2d1a789628
Merge branch 'resolver-fixes' into 'master'
...
Add Flatpak debug symbol dirs
See merge request GNOME/sysprof!45
2021-10-15 17:32:30 +00:00
32a7436837
binfile: Use correct prefix for debug files
2021-10-15 07:17:14 +03:00
46e7e31f45
elf-symbol-resolver: Add Flatpak Debug paths
...
Add paths for com.example.App.Debug and com.example.Sdk.Debug where most
of the debug symbols should lie.
2021-10-15 07:17:14 +03:00
01eafe951e
elf-symbol-resolver: Use custom debug dirs
...
They were set up, but not actually used for resolving. Fix that.
2021-10-08 23:37:12 +03:00
3429249715
binfile: Fix debug message format strings
2021-10-08 23:37:12 +03:00
56b4520603
Merge branch 'fix-flatpak-filesystem-host' into 'master'
...
elfparser: Try original filename too
See merge request GNOME/sysprof!44
2021-10-08 17:47:30 +00:00
3b180b313b
elfparser: Try original filename too
...
Fixes Sysprof running under Flatpak (e.g. from Builder) being unable to
resolve any paths on Silverblue.
2021-10-08 11:27:37 +03:00
b113c89af1
symbol-resolver: fix includes for close/lseek
2021-09-21 16:52:16 -07:00
f49681cb23
Release 3.42.0 (GNOME 41.0)
2021-09-21 16:41:52 -07:00
5a7d79f0b4
sysprof: cleanup version naming
2021-09-21 16:41:37 -07:00
3eca1ff409
symbol-resolver: remove unused function
2021-09-21 16:37:46 -07:00
551d3c31bf
Merge branch 'wip/chergert/path-resolver'
2021-09-21 16:26:12 -07:00
d641856317
proc: ignore inode from podman processes
...
They never appear to be right anyway, so they just get in the way of
decoding anything (for which we might get right with a CRC check later).
2021-09-21 16:16:30 -07:00
468b45b086
tests: fix inode check
...
We care about the event, not what we read.
2021-09-21 16:05:00 -07:00
a0de244f7e
elf: add note about zero inodes
2021-09-21 16:03:58 -07:00
f09e378ca0
tests: ignore zero inode
2021-09-21 16:03:48 -07:00
b0812681b2
tests: style cleanup
2021-09-21 15:40:42 -07:00
5b6377ee78
tests: make resolving path match elf resolver
...
Just use the ev->filename if we didn't translate the path (so we can avoid
extra string copies).
2021-09-21 15:39:47 -07:00
e62d6a07a2
podman: include image layers in overlay
...
We want the image layers so we can find the files in the base image
correctly.
2021-09-21 15:36:18 -07:00
5caebd29f4
podman: fix typo
2021-09-21 15:35:45 -07:00
bf8a851a57
elf: fix pid usage
...
We want the pid from the event.
2021-09-21 15:35:37 -07:00
11ae2fa395
build: fix write length
2021-09-21 13:12:02 -07:00
0fd7ea3f80
tests: cleanup addr decode output
2021-09-21 11:50:34 -07:00
09360c5cb9
tests: add test to dump translated maps
2021-09-21 11:50:22 -07:00
4c6912e804
elf: add helpers for test utilities to verify decoding
2021-09-21 11:50:03 -07:00
f88e2ee041
Update Serbian translation
2021-09-18 07:08:30 +00:00
fb33d382cc
extract instance data from .flatpak-info
2021-09-17 17:16:44 -07:00
728c5081d1
more work on resolver kinds
2021-09-17 17:11:06 -07:00
5f43a57ab0
tests: add util to extract build-id
...
Easier to remember than readelf stuff and tests the same code paths.
2021-09-16 22:59:28 -07:00
4d12f9eea7
build: use static library for tests
2021-09-16 22:58:51 -07:00
5f352abc86
do delayed path resolving of files containing symbols
...
we still need to teach this to locate debug dirs relative to the
process paths.
2021-09-15 17:52:58 -07:00
3e7e677419
start cleaning up proc source for delayed maps
2021-09-14 22:20:03 -07:00
e02785ba23
start on new resolver for paths
2021-09-14 19:53:46 -07:00
1d2c00b120
tests: make test tool system independent
...
We don't want to rely on host /proc/mounts or we cannot really test this
on machines other than the target failure.
2021-08-30 15:25:24 -07:00
5f255403aa
libsysprof: remove /sysroot/ workaround
...
This isnt really need anymore now that we have other ways of resolving this.
It fixes an issue with resolving some symbols on systems like GNOME OS.
2021-08-26 17:12:37 -07:00
bcda9694c6
profiler: fix typo in mutable calculation
...
Fixes #65
2021-06-03 13:57:38 -07:00
ef17d80673
Updated Spanish translation
2021-05-05 10:43:58 +02:00
38af7af6c4
Add Chinese (China) translation
2021-04-16 08:32:34 +00:00
b939cdb0fd
Update Romanian translation
2021-04-13 09:15:21 +00:00
c6840d48d1
Release 3.40.1
...
This release fixes an issue created during GNOME 40 development where the
libsysprof-capture-4.a library could leak symbols into a shared library
that consumed it (such as Pango, GTK 4, and GLib).
This fixes that by removing symbol visibility from libsysprof-capture.a.
Distributions are encouraged to rebuild their libraries that consume
Sysprof's libsysprof-capture-4.a.
2021-03-23 10:58:57 -07:00
6f11fcf510
sysprofd: fix warning
2021-03-22 14:55:04 -07:00
3f2b486741
build: remove symbol visibility from capture static library
...
The visibility of symbols was getting extracted from the .a into the
libraries that link_whole the archive. We can simply disable the visibility
from the .a with a custom config.h.meson which avoids it for the capture
library. Since we already double-compile those sources for the shared
library, the shared library visibility is not affected.
This was tested by compiling a simple library which calls
sysprof_clock_init() and ensuring that no extra symbols were found with
`nm libfoo.so | grep ' T '`.
Fixes #60
2021-03-22 14:49:00 -07:00
7353f8d950
Update Basque translation
...
(cherry picked from commit 3d6b074cbdb146a6544a5cbf0cf7dcc3357ef108)
2021-03-20 08:45:11 +00:00
5463c965b1
Release 3.40.0
2021-03-19 17:17:46 -07:00
2c86b4b803
Update Hungarian translation
2021-03-18 00:47:15 +00:00
2c0ea406fd
elf: use strncmp for comparison
...
We expect strncmp available on systems we build ELF parsers.
2021-03-17 13:01:02 -07:00
605cdfc3f1
elf: skip past /sysroot/ when symbol resolving
...
The /sysroot/ convention is something we see on OSTree-based systems
such as Silverblue or CoreOS which contains the running image. We can
skip that part of the path so that symbol resolving continues as normal.
We are starting to come into a situation where we need more advanced
path translations because we keep having to do things like this. Until
Linux figures out file-system namespaces at a higher level at least.
2021-03-17 12:56:38 -07:00
66c6e8b862
Update Polish translation
2021-03-14 14:27:17 +01:00
2d9682ca7e
Update Indonesian translation
2021-03-14 12:22:45 +00:00