Commit Graph

1970 Commits

Author SHA1 Message Date
96ac1ae586 examples: Clarify that envvar isn’t unset after being used
Perhaps that was how sysprof used to behave, but it doesn’t seem to
behave like that now.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
2020-06-25 14:58:01 +01:00
2be8cf7b2f Merge branch 'misc-fixes' into 'master'
Small fixes to the examples

See merge request GNOME/sysprof!27
2020-06-23 16:50:38 +00:00
2c216fcff9 examples: Fix a typo in a string
Signed-off-by: Philip Withnall <withnall@endlessm.com>
2020-06-23 12:41:25 +01:00
af6308971d examples: Drop sysprof_clock_init() call from example
It’s implicitly called when setting up the `SysprofCaptureWriter`.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
2020-06-23 12:41:25 +01:00
7e103342be Merge branch 'wip/nielsdg/update-readme-for-mailing-list' into 'master'
README: Add links to GitLab and Discourse

See merge request GNOME/sysprof!26
2020-06-22 18:14:46 +00:00
e0cbb1c539 Add Ukrainian translation
(cherry picked from commit 5148ffbb9f25f5b65b42cca9ead630c73f963f5b)
2020-06-20 16:50:37 +00:00
7dc7f5d405 README: Add links to GitLab and Discourse 2020-06-14 09:44:17 +02:00
32185d873d Update Indonesian translation 2020-04-06 13:30:02 +00:00
cc6087db00 Updated Spanish translation 2020-04-06 08:31:31 +02:00
f0cc56f762 Update Ukrainian translation 2020-03-29 15:05:52 +00:00
6b7db886db Add Ukrainian translation
(cherry picked from commit 51ea8f355293d30c56265187258baa97f3652b6d)
2020-03-29 15:00:49 +00:00
187a6b0a0c Update Polish translation 2020-03-29 13:10:21 +02:00
f0207c159e Update Brazilian Portuguese translation 2020-03-28 11:24:02 +00:00
ee4926e0fd Updated Spanish translation 2020-03-26 15:52:26 +01:00
03906a84c6 tools: add --no-throttle sysprof-cli option
This allows disabling the CPU governer by switching to "performance".
2020-03-18 11:16:00 -07:00
01d196abe4 libsysprof-collector: avoid formatting unless recording
We can avoid the process of creating the log message altogether if we are
not actively recording messages.
2020-03-16 12:28:04 -07:00
3d546eb6d1 libsysprof-capture: add sysprof_collector_log_printf()
This is a convenience function to call sysprof_collector_log() while also
formatting the message.

Ideally we'd be able to avoid the string format if we are not currently
collecting data, but that can be left for a future commit. We don't have
recursive locks so we need to duplicate the structure setup.
2020-03-16 12:28:04 -07:00
014b696dc0 Merge branch 'wip/jojnar/litsuf' into 'master'
Fix -Werror=literal-suffix

See merge request GNOME/sysprof!25
2020-03-16 03:33:18 +00:00
89f656013a tools: add --speedtrack command line option 2020-03-15 16:00:22 -07:00
9de1dd3ab5 libsysprof-ui: remove control source
This is already part of the local profiler.
2020-03-15 15:57:26 -07:00
9393078d7b Fix -Werror=literal-suffix
When trying to build gjs with --werror, I get the following error:

	In file included from /nix/store/snc19nr462570ssx03v455p164vyz15s-sysprof-3.36.0-dev/include/sysprof-3/sysprof-capture-condition.h:59,
	                 from /nix/store/snc19nr462570ssx03v455p164vyz15s-sysprof-3.36.0-dev/include/sysprof-3/sysprof-capture.h:66,
	                 from ../gjs/profiler.cpp:53:
	/nix/store/snc19nr462570ssx03v455p164vyz15s-sysprof-3.36.0-dev/include/sysprof-3/sysprof-capture-types.h:76:40: error: invalid suffix on literal; C++11 requires a space between literal and string macro [-Werror=literal-suffix]
	   76 | #define SYSPROF_CAPTURE_ADDRESS_FORMAT "0x%016"G_GINT64_MODIFIER"x"
	      |                                        ^
	cc1plus: all warnings being treated as errors
2020-03-15 22:07:49 +01:00
edd82233b9 Update Swedish translation
(cherry picked from commit 856bbd298f102c86d0835b24d7650643003000e1)
2020-03-15 20:23:22 +00:00
eb883e5c81 Update Polish translation 2020-03-15 14:46:33 +01:00
259aa9ba93 libsysprof-ui: allow double click to select mark range 2020-03-13 17:00:17 -07:00
eb0d58dcc4 speedtrack: track g_main_context_iteration()
We can't get all the symbols here because of -Bsymbolic on the glib
library, but we can get the higher level bit. And if we're blocking for
a period of time, it can help track things down to know we block for
longer time periods.
2020-03-13 16:49:38 -07:00
55f8f313b7 speedtrack: add sync and syncfs wrappers 2020-03-13 16:10:14 -07:00
37afd71370 speedtrack: start on simple port of iobt as "speedtrack"
The long term goal here is to help people find issues with their main
loop performance because of mixed workloads getting in the way of
interactivity.
2020-03-13 15:51:33 -07:00
a70907be0e libsysprof: add simple preload source
This source is useful to quickly add an LD_PRELOAD to a profiler.
2020-03-13 15:50:46 -07:00
b022906b9e collector: fix mark name in collection 2020-03-13 15:31:51 -07:00
f3d6bd3ed3 memprof: fix joining of LD_PRELOAD 2020-03-13 15:19:18 -07:00
390c5cde18 libsysprof-ui: add access to control source from .ui 2020-03-13 15:19:06 -07:00
e0de0a94df build: add macros for 3.38 2020-03-13 15:18:01 -07:00
f7a53ca8f9 preload: move backtrace helper into helper
This is useful so that we can have more of these LD_PRELOAD tools without
having to duplicate this code.
2020-03-13 12:06:39 -07:00
4a2aaf7ebd bump version for development 2020-03-13 10:18:51 -07:00
6f167d771a Merge branch 'gsize-format' into 'master'
tests: use G_GSIZE_FORMAT instead of G_GUINT64_FORMAT for gsize

Closes #32

See merge request GNOME/sysprof!24
2020-03-08 02:11:57 +00:00
5dea152c77 tests: use G_GSIZE_FORMAT instead of G_GUINT64_FORMAT for gsize
This fixes the build on 32-bit platforms with -Werror-format

fixes #32
2020-03-07 10:45:17 +01:00
dcaeba54ee release 3.36.0 2020-03-06 14:03:33 -08:00
82c2ee5a73 build: fix building in jhbuild
Not sure why we are hitting this, but we are so just force it to work.
2020-03-06 13:43:15 -08:00
a6c39af553 preload: move to libdir from libexecdir
This isn't an executable, it just belongs in libdir.
2020-03-05 15:46:03 -08:00
745eb981d1 libsysprof-capture: add mark and log variants 2020-03-05 15:43:33 -08:00
2725565eb9 libsysprof-capture: remove fallback code
We don't support the fallback writer interface currently, so this can go
until we decide what to do going forward.
2020-03-05 15:30:02 -08:00
de492d11e5 libsysprof-capture: set padding to 0 2020-03-05 15:26:41 -08:00
43f31fb8b7 libsysprof-capture: add collector interface for samples 2020-03-05 15:26:31 -08:00
b33c3e8af9 libsysprof-capture: add more assertions around alignment 2020-03-05 15:24:47 -08:00
6d8841267a preload: add assertion for performance hack
We steal two pointers temporarily, so ensure that we have the space to
overwrite a couple of addresses.
2020-03-05 15:22:17 -08:00
4af293a364 libsysprof: apply whole-system during capture replay
Fixes #31
2020-03-04 11:05:13 -08:00
d6fef722a0 build: add meson subproject with libdazzle.wrap
When building on older systems such as RHEL 7, it can be convenient
to have access to libdazzle directly.

This also has to work around a problem that RHEL 7 does not support
the version of git that Meson requires for [wrap-git] by using a
specific release.
2020-03-02 11:35:14 -08:00
c61756b9b7 Update Hungarian translation 2020-03-01 13:48:06 +00:00
0add5eb035 release 3.35.92 2020-02-28 09:27:40 -08:00
351a2089ff libsysprof-capture: remove unused API
We want this alter, but for now, we can skip it until there is a chance
to fully implement it.
2020-02-28 09:27:32 -08:00