-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathNEWS
514 lines (406 loc) · 18.3 KB
/
NEWS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
Overview of changes in Sysprof 48.beta
======================================
* Ensure local dbus-monitor is reaped after capturing
* Modernization for various GTK deprecations
* Add new symbolizer for debuginfod which is enabled by default
* Many performance improvements for capture loading
* Support for unwinding without frame-pointers on distributions
lacking -fno-omit-frame-pointer at the toolchain level. This
uses a new "sysprof-live-unwinder" elevated helper process
which takes data from perf and unwinds the stack as soon as
it can without capturing the perf data to disk.
Thank you to Red Hat and the tools team for enabling this
work for RHEL.
* The greeter now persists your settings and restores them the
next time you run Sysprof.
* Various graph drawing improvements.
* Fixes for time display in various formats.
* Translation updates.
Overview of changes in Sysprof 47.0
===================================
* Speed up capture loading using gtk_tim_sort().
* Speed up capture loading using a private bump allocator
for callgraph nodes.
* Use AdwAboutDialog.
* Add GIO and Mutter to graphics section.
* Fix use of tracefd on some child processes.
* Fix some use of blocking FDs.
* Collapse some recursive functions in callgraphs.
* Improve styling of waterfall labels.
* Allow polkit to be optional in some situations.
* Translation updates.
Overview of changes in Sysprof 47.beta
======================================
Changes in this release:
* Recording window can now be dragged by clicking
anywhere but the stop button.
* Various coverity warning fixes.
* Translation updates.
Overview of changes in Sysprof 47.alpha
=======================================
Changes in this release:
* Style improvements to match libadwaita 1.6 and libpanel 1.7.
* Various chart drawing fixes.
* Build fixes.
* Translation updates
Overview of changes in Sysprof 46.0
===================================
Changes since 46.rc
* Flamegraph and callgraph colorization improvements
* Fix graphics page for GTK counters
* Fix missing summary icon
* Translation updates
Overview of changes in Sysprof 46.rc
====================================
Changes since 46.beta
* Avoid C99 restrict keyword when using C++
* Add --monitor-bus option to sysprof-cli to record bus address
* Fix compiler warning on integer comparison
Overview of changes in Sysprof 46.beta
======================================
Changes since 45
* Rust and C++ demangler improvements
* Protection against extremely large mark collections
* Various fixes for parsing certain load bearing /proc files
* Improved stack trace categorization
* Fix use of pointer cursor
* Translation updates
Overview of changes in Sysprof 45.0
===================================
Changes since 45.rc:
* Ignore swapper/# scheduler details to better show activity
* Update some subsystem name extraction
* Translation updates
Overview of changes in Sysprof 45.rc
====================================
Changes since 45.beta:
* A Rust demangler is provided which can demangle some newer style
Rust symbols.
* The C++ and Rust legacy demanger has improved to handle some
scenarios where <> and :: should be used.
* The D-Bus section has gained support for search filtering.
* A busy indicator is now show when callgraphs are being generated or
updated to reflect changing view options.
* Improvements to sysprof-cli and sysprof-agent to support recent
capture features.
* sysprof-cli can now specify capture buffer size in number of pages
to help in situations where you want to avoid disk spillage.
* Zoom controls now stay sticky to the left.
* SysprofCollector will now try much harder for the peer to process
the mmap ring buffer before bailing so that the leak collector is
less likely to drop records.
* Sysprof now uses gtktimsort to sort records for a significant speed
improvement when loading large captures.
* Window titles now include documen title.
* Reduction in number of samples to normalize for various charts which
results in faster loading times. You can continue to zoom in to get
better details.
* A new scheduler details instrument is provided, which uses tracepoints
to track when processes were running and on what CPU.
* A new flamegraph is added for viewing profiling results. It is powered
by the same callgraph seen in the callgraph view, which means changes to
the callgraph can influence the flamegraph. Colorization is provided
by stack categorization in callgraphs.
* Categorization of Kernel symbols has been fixed.
* Callgraphs are now sorted incrementally to help keep the UI responsive
while loading the document.
* Accounting of weights for callgraphs has been improved to avoid double
counting summary values when recursion is used.
* A fix for a crash when pivoting to a new root in the callgraph.
* A new option to merge similar processes when generating callgraphs.
* A new option to filter out kernel processes has been added. This feature
is quite rudimentary and involves commandline sniffing. Improvements
are requested by those seeking more comprehensive filtering.
* Improvements to locating and symbolizing Flatpak processes.
* The files section has gained search filter support.
Happy Hacking!
Overview of changes in Sysprof 45.beta
=======================================
Sysprof has largely been redesigned and rewriten from the ground up this cycle
to provide better GTK 4 integration and more advanced features.
libsysprof-capture
------------------
This library is our static library used by many applications and libraries to
augment capture collection. It is still installed as libsysprof-capture-4.a
as a static library for consumers. The ABI is the same, however some new data
types have been added.
libsysprof
----------
This library has been rewritten around a new document model for captures.
Instead of using SysprofCaptureReader (a buffered capture reader) the
SysprofDocument object exposes a GListModel of a mmap()'d capture file.
This has allowed for many new indexing performance improvements as well
as simpler data-binding in the user interface.
You can read more about this at
https://blogs.gnome.org/chergert/2023/07/18/glistmodel-as-a-data-format/
Additionally, a new SysprofProfiler API has been added. It has been much
simplified and allows for easier implementation of instruments in a race
free manner.
The library heavily builds upon libdex for Futures which I created this past
window to simplify features in GNOME Builder.
sysprof-cli and sysprof-agent
-----------------------------
These tools both provide similar features albeit from a different standpoint.
They have both been updated to use the new profiler interface in libsysprof.
sysprofd
--------
Very minimal changes have been made to sysprofd to help ensure that the
application and libraries can still work on systems with an older sysprofd
installed on the host.
sysprof
-------
The application has been completely redesigned and is now window focused
rather than tabs. The constraint of tabs was becoming too cumbersome to
maintain so as the author, I felt this was the right move.
Howto and More
--------------
I wrote a series of blog posts on how to use Sysprof which you might
find useful.
https://blogs.gnome.org/chergert/2023/07/28/how-to-use-sysprof-again/
https://blogs.gnome.org/chergert/2023/08/04/more-sysprofing/
You can see an overview of the new features here:
https://blogs.gnome.org/chergert/2023/07/27/sysprof-45/
Overview of changes in Sysprof 3.48.0
=====================================
* Various a11y improvements
* Some widgets ported to GtkColumnView
* Sysprof-dump can now symbolicate instruction pointers
* Visualizer group fixes for missing rows
* Fixes for inheriting stdin when spawning processes
* Build system fixes to improve use as a meson subproject
* Additional shortcuts added to shortcut overlay
* LD_PRELOAD syntax fixes
* Translation updates
Overview of changes in Sysprof 3.46.0
=====================================
* sysprof-cli is now statically linked
* sysprof-agent now has a --decode option to decode symbols at the end
of a capture, similar to what sysprof-cli can do.
* A crash in the Elf symbol resolver has been fixed.
* Translation updates
Overview of changes in Sysprof 3.45.1
=====================================
This release of Sysprof is a development release and is not intended for
end users.
* Addition of sysprof-agent to aid in cross-container profiling and
instrumentation. (Use -Dagent=(true|false) to control
* Additional porting to libadwaita
* Remove unused settings schemas
* Nightly Flatpak builds now use org.gnome.Sysprof.Devel as the
application-id
* The application now uses org.gnome.Sysprof as the application-id
instead of org.gnome.Sysprof3.
* Icon updates
* Translation updates
Overview of changes in Sysprof 3.45.0
=====================================
This release of Sysprof is a development release and is not intended for
end users.
* Initial port to GTK 4
* A number of build configuration options where simplified and will need
changing by distributions to match the new, more consistent, naming.
* Libadwaita has been added as a dependency
* The profiler assistant has received styling changes
* libsysprof-ui had it's ABI bumped to libsysprof-ui-5 which targets GTK 4.
Overview of changes in Sysprof 3.44.0
=====================================
* Translation updates
Overview of changes in Sysprof 3.43.90
======================================
* Require libunwind unless disabled manually to help ensure
distributions are doing the right thing.
* Add allocation leaks section to memprof.
* Fix preloading of speedtrack
* Fix capture of mapped path names with spaces
* Translation updates
Overview of changes in Sysprof 3.42.1
=====================================
* Build fixes for close()/lseek() usage
* Show recording time in local time instead of UTC
* Improve resolving of symbols in presence of toolbox, flatpak,
and btrfs
* Fix checking of paranoid state in Linux kernel
* Updated translations
Overview of changes in Sysprof 3.42.0
=====================================
* Much work has been done to improve path resolution of maps found within
containers such as podman, toolbox, and flatpak.
Overview of changes in Sysprof 3.40.1
=====================================
* Fix build system issue which caused symbols from libsysprof-capture.a to leak
into the ABI of libraries consuming it. This was due to inheritance of GNU
default symbol visibility. A recompilation of those libraries is necessary.
Overview of changes in Sysprof 3.40.0
=====================================
* Improve symbol resolving on OSTree-based systems
* Translation updates
Overview of changes in Sysprof 3.39.94
======================================
* Fix some licenses in headers.
* Add API to sysprofd/libsysprof to tweak.
/proc/sys/kernel/perf_event_paranoid to improve capture quality.
Tooling will now always try to change this value while profiling
the system and ignore upon failure.
* ftruncate() before overwriting proc files.
* GTK aid has been removed as it is always enabled through the
use of control-fd now.
* Add a new Overlay capture frame type for mapping overlays between
the host and the process filesystem namespace.
* Use overlays to map podman containers to overlay directories
* Use overlays to map flatpak containers to overlay directories for
both /app and /usr.
Overview of changes in Sysprof 3.39.92
======================================
* Use pic when compiling static libsysprof-capture
* Some changes to podman symbol decoding
* Handle NULL readers gracefully from capture cursors
* Use g_memdup2()
* UI tweaks
* Translation updates
Overview of changes in Sysprof 3.39.90
======================================
* Build fixes for macOS
* polkit is optional (again) for sysprof-cli
* Various fixes in kernel symbol resolving
* Fix build when stack-protector is not used
* Support elfparser on some interesting platforms
* Translation updates
Overview of changes in Sysprof 3.38.1
=====================================
* Support for translating paths to binary symbols has been improved when using
Btrfs subvolumes.
* Build system fixes
* Fixes for sysprof_capture_reader_list_files() to match expectations
* Load proper speedtrack library in LD_PRELOAD
* Fixes when generating pkg-config files
* Fixes when using musl libc
* Translation updates
Overview of changes in Sysprof 3.38.0
=====================================
* Translation updates
Overview of changes in Sysprof 3.37.92
======================================
* Build system fixes
* Fix incorrect warnings
* Add various missing capture APIs for GTK
* Be more careful about when polkit is queried
* Translation updates
Overview of changes in Sysprof 3.37.90
======================================
* Various build fixes
* Translation updates
Overview of changes in Sysprof 3.37.2
=====================================
* sysprof-capture no longer requires GLib and therefore the ABI has
been bumped to 4. This allowed Sysprof to be used form GLib without
circular dependencies
* Various UI tweaks
* Support for use as a subproject
Overview of changes in Sysprof 3.36.0
=====================================
* Preload library has been moved to $libdir from $libexecdir
* Build system improvements
* Fix whole-system capture setting when using "Record Again" feature
* New SysprofCollector interfaces for samples, marks, and logs to
sit alongside allocations
* Translation updates
Overview of changes in Sysprof 3.35.92
======================================
* A new profiler for tracking memory allocations within processes
that are spawned by Sysprof. Select "Track Allocations" to use
an LD_PRELOAD module which monitors allocations within the target
process. A callgraph is provided with allocations and their stack
traces. This brings the main features of the venerable "Memprof"
into Sysprof.
* Port Sysprof to work on RHEL 7
* Improvements to marks and counters displays
* A new data frame in libsysprof-capture for memory allocations
with stack traces.
* sysprof-cli --merge can now be used to merge multiple syscap
files together.
* sysprof <program-path> can now be used to open Sysprof directly
to a program to execute.
* Sysprof now builds with additional security protections and
optimization flags such as -Bsymbolic, -Wl,-z,defs, -Wl,-z,now,
and -Wl,-z,relro.
* Fixes for macOS
* The ELF symbol resolver is faster
* sysprof-cli now properly adds supplemental information to the
capture file such as decoded symbols. This makes sharing syscap
files across machines easier and more reliable.
* A new mmap()'d ring buffer can be shared between processes for
faster data transfer to sysprof. We expect more features around
this SysprofCollector interface in future releases.
* A new set if icons has been provided for the collectors
* Translation updates
Overview of changes in Sysprof 3.35.2
=====================================
* Build and test fixes
* Track changes to gdbus-codegen
* Include additional pkg-config variable for access to D-Bus data
* Translation updates
Overview of changes in Sysprof 3.34.1
=====================================
* Process search fixes
Overview of changes in Sysprof 3.34.0
=====================================
* Help fixes
* Build and test fixes
* Translation updates
Overview of changes in Sysprof 3.33.92
======================================
• Check for GLib 2.61.3 or newer for features used when removing deprecated
API usage from GLib.
• Require meson 0.50
• Translation updates
Overview of changes in Sysprof 3.33.90
======================================
• Tweak CSS styling a bit
• Hide RAPL rows if no counters were discovered
• Fix --no-battery in sysprof-cli
• Improve parsing of /proc/mounts and /proc/pid/mountinfo
• Improve support for using libsysprof from Flatpak
• Symbol directories are removed from public ABI and consumers should
now add directories to SysprofElfSymbolResolver directly
Overview of changes in Sysprof 3.33.4
=====================================
• Build system fixes and improved backports
• New network, disk, battery, and energy sources
• Additional options for sysprof-cli including "syprof-cli -- command"
support.
• i18n is now properly initialized at startup
• Improved styling
• A new "duplex" graph type for read/write type visuals
Overview of changes in Sysprof 3.33.3
=====================================
This release of Sysprof contains the largest amount of work since we revived
the project a few years ago. We have revamped and minimized the ABI of
libsysprof-ui considerably. As port of the ABI update, symbols have been
changed from Sp to Sysprof to reduce chances of collisions.
With these changes comes a soname bump and upgrade of the D-Bus API provided
by the package. Some work has been taken to implement older versions of the
sysprofd API so that older clients may continue to work.
• Various build system improvements
• A new libsysprof-capture-3.a capture library has been provided to allow
application developers to capture data and merge into the profiler stream.
• The recording and viewing API has been redesigned and improved.
• Sysprof has been backported to support GTK 3.22 and GLib 2.50.
• Support for passing file-descriptors has been added to allow profiling
integration with GNOME Shell, GJS, and GTK profilers.
• New API to allow integration with external tooling that spawns applications
is provided so that environment and arguments may be modified.
• A new re-record feature has been added.
• The capture format can now store log messages, metadata, and file content.
• A new org.gnome.Sysprof3 daemon has been added, which is written using
GDBus instead of libsystemd. This may improve portability to some
distributions.
• The portability of Sysprof to non-Linux systems has been improved, however
many recording features are still not available on non-Linux platforms.
• A new org.gnome.Sysprof3.Profiler XML D-Bus interface is provided for
tooling that wants to export Sysprof content via D-Bus.
• Various new capture sources have been provided.
• sysprofd also implements a compat org.gnome.Sysprof2 D-Bus end-point
for older clients.
• Translation updates
Happy Profiling,
-- Christian