Commit Graph

1596 Commits

Author SHA1 Message Date
d25975cf89 examples: only use sched_getcpu() on Linux 2019-06-03 17:29:47 -07:00
c3915a72f2 build: always install capture headers 2019-06-03 12:52:35 -07:00
9ccc35b9e4 po: ignore po if only building capture library 2019-06-03 12:44:05 -07:00
3179658daa build: check ftruncate result 2019-06-03 12:41:48 -07:00
7df9221f8b tools: check result of write
and also use the platform helpers
2019-06-03 12:40:48 -07:00
690bf90a14 build: disable some tests w/o libsysprof 2019-06-03 12:32:13 -07:00
ac1d9e4694 build: disable cli tool when no libsysprof is present 2019-06-03 12:29:48 -07:00
047442aa1b build: make some dependencies optional based on config options 2019-06-03 12:28:37 -07:00
5630e1680f build: add -Dlibsysprof option
This gets us closer to being able to only build the capture static library
2019-06-03 12:26:25 -07:00
0d86933ed1 build: only build libsysprof-ui if -Denable_gtk=true 2019-06-03 12:19:45 -07:00
dbb6b9143f examples: add example app for marks 2019-06-03 11:39:56 -07:00
3a98938aa4 Updated Spanish translation 2019-06-03 14:49:04 +02:00
e646da135e Update Polish translation 2019-06-02 14:35:53 +02:00
bf059cb109 Update POTFILES.in 2019-05-31 21:00:44 +02:00
090d1766e3 libsysprof-ui: stop translating 00 2019-05-31 20:57:43 +02:00
fea076a2c8 whitespace 2019-05-29 22:58:26 -07:00
f37b7b168b libsysprof-ui: allow setting notebook tabs always visible 2019-05-29 22:58:21 -07:00
5fd04d9fcb libsysprof-ui: be more flexible in creating displays
This allows us to create a display for a profiler, which is needed in
embedding cases like Builder.
2019-05-29 18:09:57 -07:00
cb4aed73bc build: don't install sysprof-cat and sysprof-dump
At least for now
2019-05-29 16:56:57 -07:00
0a81d1a93d libsysprof: lower dazzle requirement 2019-05-29 16:47:34 -07:00
7c75210748 build: bump version number for new features
This will let us more strictly check things from Builder.
2019-05-29 15:18:59 -07:00
4bfcef7d82 src: add Capabilities property to profiler 2019-05-29 15:13:01 -07:00
a74e6daa3b libsysprof: use a{sv} for future profiler specific options
We may need this in the future to send backend-specific options to the
profiler peer.
2019-05-29 15:13:01 -07:00
62c9057089 src: use double quotes for XML 2019-05-29 15:13:01 -07:00
b6685b7e5f libsysprof-ui: allow selecting labels on details page 2019-05-29 15:13:01 -07:00
3556309e86 libsysprof-ui: add cpu info to details page 2019-05-29 15:13:01 -07:00
4cfbb9a857 libsysprof: add file frame with path condition 2019-05-29 15:13:01 -07:00
30524ab3d0 sysprof-cli: exit main loop on failure 2019-05-29 15:13:01 -07:00
c670cdd82a sysprof-cli: add symbol rollup unless --no-decode 2019-05-29 15:13:01 -07:00
f57bc57461 sysprof-cli: remove -g option
We might want to save this for gtk
2019-05-29 15:13:01 -07:00
0dc39cf007 libsysprof-ui: fix initial rendering of zeros 2019-05-29 15:13:01 -07:00
82f8872c1d libsysprof: add libc/libstdc++ 2019-05-29 15:13:01 -07:00
1ee1a7cc3a libsysprof: ignore kernel symbols if embedded resolver is found
This ensures that we don't mix symbols from kernels if we can reasonably
expect that the necessary symbols were decoded by the peer.
2019-05-29 15:13:01 -07:00
7743a047b6 libsysprof-capture: add sysprof_capture_reader_find_file() 2019-05-29 15:13:01 -07:00
716b913347 libsysprof: check for enough symbols to dereference 2019-05-29 15:13:01 -07:00
7f92889076 libsysprof: be NULL safe 2019-05-29 15:13:01 -07:00
1583ec3f79 libsysprof: fix tag lookups for 0 tags 2019-05-29 15:13:01 -07:00
c013264186 tests: fix various lseek usage 2019-05-29 15:13:01 -07:00
fd949edc29 tests: add decode-only test
Useful to test that we can decode symbols from a capture properly.
2019-05-29 15:13:01 -07:00
c8c1b53352 libsysprof: be more defensive 2019-05-29 15:13:01 -07:00
1a11480010 libsysprof: add missing externs 2019-05-29 15:13:01 -07:00
d55e36219c libsysprof: fix various seek usage 2019-05-29 15:13:01 -07:00
b1f58d6104 libsysprof: lseek before deserializing 2019-05-29 15:13:01 -07:00
54f5f6be49 libsysprof: decode symbols from embedded maps in callgraphs 2019-05-29 15:13:01 -07:00
6dcf600aaa tests: add test to debug symbol maps 2019-05-29 15:13:01 -07:00
854f0bea52 libsysprof: add symbol resolver that can resolve from capture file
If the capture file has an embedded __symbols__ file within it, we can
try to resolve the function names from the data embedded within that
virtual file.
2019-05-29 15:13:01 -07:00
8f607ed123 libsysprof: use SysprofSymbolMap to write symbol maps 2019-05-29 15:13:01 -07:00
7ffd3e41cf libsysprof: add utility to build symbol maps
These are useful to allow us to append symbol informatio to a capture file
using the existing symbol resolvers.

It can read/write a small format embedded within capture files so that
we can append them from the target machine rather than decoding from the
machine we run Sysprof UI on.
2019-05-29 15:13:01 -07:00
ffda366809 libsysprof-capture: add byte-order helper
This isn't needed for reading captures, but can be helpful when dealing
with embedded data such as file frames.
2019-05-29 15:13:01 -07:00
3b3011544b libsysprof: decode and supplement kernel symbols 2019-05-29 15:13:01 -07:00