"git@gitlab.ibr.cs.tu-bs.de:mabecker/bytes-sgx.git" did not exist on "6414efe83ba7cff40bd9e304a07f58023e16251b"
- Jan 20, 2014
-
-
Gleb Natapov authored
Reviewed-by:
Tomasz Grabiec <tgrabiec@gmail.com> Signed-off-by:
Gleb Natapov <gleb@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Jan 15, 2014
-
-
Avi Kivity authored
Print the thread pointer, not the address of the thread pointer. Reviewed-by:
Nadav Har'El <nyh@cloudius-systems.com> Signed-off-by:
Avi Kivity <avi@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
Tomasz Grabiec authored
Removing 'osv trace summary' and 'osv trace duration' commands from loader.py. The first is added as 'trace.py summary --timed', the second one is added as 'trace.py list-timed'. It was easier to move both in one commit as they are coupled with each other. Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Jan 13, 2014
-
-
Tomasz Grabiec authored
Usage: osv trace save <filename> Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
Tomasz Grabiec authored
Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
Tomasz Grabiec authored
Speeds things up slightly. Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
Tomasz Grabiec authored
If there are fewer frames than backtrace_len the remaining addresses will be zeros. Let's not print them. Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
Tomasz Grabiec authored
Useful for ad-hoc printing. Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Jan 08, 2014
-
-
Raphael S. Carvalho authored
This patch improves the command by adding useful info for debugging ZFS in general, and also addresses some stylistic issues. The new output is as follow: (gdb) osv zfs :: ZFS TUNABLES :: zil_replay_disable: 0 zfs_nocacheflush: 0 zfs_prefetch_disable: 0 zfs_no_write_throttle: 0 zfs_txg_timeout: 5 zfs_write_limit_override: 0 vdev_min_pending: 4 vdev_max_pending: 10 :: ARC SIZES :: Actual ARC Size: 122905056 Target size of ARC: 1341923840 Min Target size of ARC: 167740480 Max Target size of ARC: 1341923840 Most Recently Used (MRU) size: 670961920 (50.00%) Most Frequently Used (MFU) size: 670961920 (50.00%) :: ARC EFFICIENCY :: Total ARC accesses: 42662 ARC hits: 41615 (97.55%) ARC MRU hits: 12550 (30.16%) Ghost Hits: 0 ARC MFU hits: 29045 (69.79%) Ghost Hits: 0 ARC misses: 1047 (2.45%) Prefetch workload ratio: 0.0097% Prefetch total: 412 Prefetch hits: 20 Prefetch misses: 392 Total Hash elements: 1053 Max Hash elements: 1053 Hash collisions: 13 Hash chains: 11 Reviewed-by:
Glauber Costa <glommer@cloudius-systems.com> Signed-off-by:
Raphael S. Carvalho <raphaelsc@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Dec 31, 2013
-
-
Raphael S. Carvalho authored
Example output looks as follows: (gdb) osv zfs :: ZFS TUNABLES :: zil_replay_disable=0 zfs_nocacheflush=0 zfs_prefetch_disable=0 :: ARC SIZES :: Actual ARC Size: 16742872 Target size of ARC: 16777216 Min Target size of ARC: 16777216 Max Target size of ARC: 16777216 Most Recently Used (MRU) size: 1222656 (7.29%) Most Frequently Used (MFU) size: 15554560 (92.71%) :: ARC EFFICIENCY :: Total ARC accesses: 47477 ARC hits: 44668 (94.08%) ARC MRU hits: 18737 (41.95%) Ghost Hits: 183 ARC MFU hits: 25733 (57.61%) Ghost Hits: 1084 ARC misses: 2809 (5.92%) Total Hash elements: 341 Max Hash elements: 449 Hash collisions: 98 Hash chains: 13 Signed-off-by:
Raphael S. Carvalho <raphaelsc@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
Tomasz Grabiec authored
Most likely introduced in eb48b150 Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Dec 20, 2013
-
-
Tomasz Grabiec authored
vma layout changed in commit bbec1a18. Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Dec 12, 2013
-
-
Tomasz Grabiec authored
This patch adds sorting as an option (-s). Examples: Not sorted: gdb$ osv trace duration Sorted, narrowed down to one function: gdb$ osv trace duration -s vfs_pwritev Not sorting allows us to start printing traces right away. There's also no need to keep them in memory, which makes the command a bit faster. Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
Nadav Har'El authored
After commit dc40b49e, the place of the _cpu and _status fields of a thread has moved (into a structure pointed by the _detached_thread field). So fix loader.py to use these new locations, so "osv info threads" will work again. Signed-off-by:
Nadav Har'El <nyh@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Dec 09, 2013
-
-
Tomasz Grabiec authored
GDB python API does not handle inlined functions as nicely as regular 'backtrace' command does. Part of the frame attributes point to the inlined function (variables, symtab) and part point to the caller. For example frame.function() returns the nearest non-inlined function. This breaks code which prints thread joining information. The code thinks it's in "sched::thread::join()" when actually it's in sched::schedule() context which does not have 'this' variable. This solution skips inlined functions when considering print candidates. The printed information would be confusing anyway: file and line number would be of the inlined function but printed function name would belong to the caller. Finally we will reach the non-inlined caller and print the call site properly. Fixes #124. Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
Tomasz Grabiec authored
When all resolved frames are blacklisted we try to print the oldest resolved frame. Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Dec 07, 2013
-
-
Glauber Costa authored
My thread patch broke info threads. My bad: Nadav noticed in his review that it would, but I ended up forgetting about when I reworked it. In any case, with the following fix it works again. Signed-off-by:
Glauber Costa <glommer@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Nov 27, 2013
-
-
Avi Kivity authored
Dumps virtio drivers and the state of their queues. Sample output: (gdb) osv info virtio virtio::virtio_net at 0xffffc0003ff0ec00 queue 0 at 0xffffc0003ff2ba00 avail g=0xbe09 h=0xbe09 (0) used h=0xbe09 g=0xbd11 (248) used notifications: enabled queue 1 at 0xffffc0003ff2bc00 avail g=0xc951 h=0xc951 (0) used h=0xc951 g=0xc8fd (84) used notifications: enabled queue 2 at 0xffffc0003ff2bd00 avail g=0x0 h=0x0 (0) used h=0x0 g=0x0 (0) used notifications: enabled virtio::virtio_blk at 0xffffc0003fefd400 queue 0 at 0xffffc0003fee5100 avail g=0x15f h=0x15f (0) used h=0x15f g=0x15f (0) used notifications: enabled Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Nadav Har'El authored
Fix the printout of runtime by "osv info threads" and "osv runqueue" debugger commands, to fit the new scheduler (different variable name, and it is float, not integer). Signed-off-by:
Nadav Har'El <nyh@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Nov 25, 2013
-
-
Tomasz Grabiec authored
Duration analysis is based on trace pairs which follow the convention in which function entry generates trace named X and ends with either trace X_ret or X_err. Traces which do not have an accompanying return tracepoint are ignored. New commands: osv trace summary Prints execution time statistics for traces osv trace duration {function} Prints timed traces sorted by duration in descending order. Optionally narrowed down to a specified function gdb$ osv trace summary Execution times [ms]: name count min 50% 90% 99% 99.9% max total vfs_pwritev 3 0.682 1.042 1.078 1.078 1.078 1.078 2.801 vfs_pwrite 32 0.006 1.986 3.313 6.816 6.816 6.816 53.007 gdb$ osv trace duration 0xffffc000671f0010 1 1385318632.103374 6.816 vfs_pwrite 0xffffc0003bbef010 0 1385318637.929424 3.923 vfs_pwrite Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
Tomasz Grabiec authored
Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
Tomasz Grabiec authored
The iteration logic was duplicated in two places. The patches yet to come would add yet another place, so let's refactor first. Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Nov 15, 2013
-
-
Pekka Enberg authored
Use the new pivot_root() functionality to switch to ZFS root filesystem once OSv is up and running. Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Nov 08, 2013
-
-
Tomasz Grabiec authored
Saves a bit of manual work. Example: gdb$ osv info threads 0 (0x1de9e08) cpu0x0 waiting sched::thread::join() at core/sched.cc (SNIP) joining on 0xffffc0003e41e010 Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Nov 07, 2013
-
-
Tomasz Grabiec authored
Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Nov 05, 2013
-
-
Tomasz Grabiec authored
This fixes 'osv info threads' command. when $rsp holds 0xffffc0003fdf6fc8, ulong() for gdb.Value representing it returns 18446673706036981704. This is out of int range. This causes that thread_context.__exit__() throws "Numeric constant too large" exception from set $rbp = 18446673706036981704 The fix removes the additional conversion as it seems to be unnecessary. The gdb.Value should format itself properly. Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com> Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
- Nov 04, 2013
-
-
Pekka Enberg authored
Fix the following breakage caused by commit c98b928e ("Explicitly use python version number") when starting GDB: Traceback (most recent call last): File "/home/penberg/osv/scripts/loader.py", line 833, in <module> setup_libstdcxx() File "/home/penberg/osv/scripts/loader.py", line 496, in setup_libstdcxx Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Nov 01, 2013
-
-
Anatol Pomozov authored
It is needed for systems where python points to python3 Signed-off-by:
Anatol Pomozov <anatol.pomozov@gmail.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Oct 07, 2013
-
-
Nadav Har'El authored
This patch adds a "osv runqueue" command to gdb, which shows the (sorted) run queue of each CPU. Note that the run queue does not include the thread currently running - just those which are ready to run. This command is useful for debugging the scheduler and load balancer, but is less generally useful than the "osv info threads" command, which lists all threads, specially marking those which are runnable as well as those which are running. Signed-off-by:
Nadav Har'El <nyh@cloudius-systems.com>
-
- Sep 29, 2013
-
-
Avi Kivity authored
Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Looking up symbols is expensive, store them in a cache. Speeds up dumping the trace log when a backtrace is taken. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Also fix other review comments related to 1f161695. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
- Sep 12, 2013
-
-
Avi Kivity authored
Command line option: --trace-backtraces
-
- Sep 11, 2013
-
-
Pekka Enberg authored
Nobody cares about vma address and it's easy to confuse it to the vma start address so drop it from "osv mmap" output. Suggested by Nadav Har'El.
-
- Sep 10, 2013
-
-
Pekka Enberg authored
Fix up memory layout of 'class vma' for 'osv mmap' gdb command.
-
- Sep 09, 2013
-
-
Guy Zana authored
use to dump tracepoints to a file - trace.txt, x100 faster ;)
-
- Aug 28, 2013
-
-
Pekka Enberg authored
Now that we can walk through the vma list, add mmap numbers to 'osv mem': (gdb) osv mem Total Memory: 4294564864 Bytes Mmap Memory: 3278278656 Bytes (76.34%) Free Memory: 474492928 Bytes (11.05%)
-
Pekka Enberg authored
-
- Jul 01, 2013
-
-
Avi Kivity authored
We want to use timers for more than just waking up threads (in this case, for the scheduler time slice), so we need to remove the internal dependencies. The timer class is split into timer_base, which does most of the work, and timer, which preserves the original timer interface. The timer-related parts of 'class thread' are split off into a new class timer_base::client, which thread inherits from.
-