This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#0 0x00007f440af82060 in sigprocmask () from /usr/lib/libc.so.6 | |
#1 0x00007f440af81c09 in siglongjmp () from /usr/lib/libc.so.6 | |
#2 0x00007f440bb2f1b9 in siglongjmp () from /usr/lib/libpthread.so.0 | |
#3 0x00007f440c4b7721 in ctx_switch (t=0x3ddea10, where=0x3ddea60) | |
at task.c:265 | |
#4 0x00007f440c4b77ef in switchto (t=0x3ddea10) at task.c:285 | |
#5 0x00007f440c4b87de in jl_f_yieldto (F=0x39ecb30, args=0x7fff4ad374b8, | |
nargs=2) at task.c:865 | |
#6 0x00007f440a4a70f9 in julia_wait16557 () at task.jl:279 | |
#7 0x00007f440a4b0b84 in julia_wait16897 () at task.jl:189 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 363ce14e92f96a1207235391412331e2fc55680a | |
Author: Austin Lund <[email protected]> | |
Date: Tue May 27 10:47:47 2014 +1000 | |
Change profiler to use SIGUSR2. | |
It appears that some libraries mask SIGUSR1 for their own purposes. | |
This solution is a bit of a hack, but it does allow the profiler to | |
work in some more situations than currently. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(577)[lund@lund-laptop julia]{ 2}$ make | |
Real BLAS Test Program Results | |
Test of subprogram number 1 SDOT | |
Program received signal SIGSEGV: Segmentation fault - invalid memory reference. | |
Backtrace for this error: | |
#0 0x7F809C23D4D7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
julia> f4(x::Int) = (x <= 1000 && x > 0) ? Base.checked_add(Base.checked_sub(x,1),1) : 0 | |
f4 (generic function with 1 method) | |
julia> code_llvm(f4,(Int,)) | |
define i64 @julia_f418717(i64) { | |
top: | |
%.off = add i64 %0, -1, !dbg !1590 | |
%1 = icmp ugt i64 %.off, 999, !dbg !1590 | |
br i1 %1, label %L5, label %if2, !dbg !1590 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# perf record -e raw_syscalls:sys_enter -ag sleep 0.1 | |
... | |
0x180758 [0x70]: event: 9 | |
. | |
. ... raw event: size 112 bytes | |
. 0000: 09 00 00 00 02 00 70 00 00 00 00 00 00 00 00 00 ......p......... | |
. 0010: c0 05 00 00 59 0d 00 00 6a 3f c0 1b 02 07 00 00 ....Y...j?...... | |
. 0020: 02 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 ................ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# lsof +D / | |
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME | |
systemd 1 root cwd DIR 179,1 4096 2 / | |
systemd 1 root rtd DIR 179,1 4096 2 / | |
systemd 1 root txt REG 179,1 1313836 11917 /usr/lib/systemd/systemd | |
systemd 1 root mem REG 179,1 14152 51755 /usr/lib/libuuid.so.1.3.0 | |
systemd 1 root mem REG 179,1 215992 51757 /usr/lib/libblkid.so.1.1.0 | |
systemd 1 root mem REG 179,1 75484 11752 /usr/lib/libz.so.1.2.8 | |
systemd 1 root mem REG 179,1 128848 29500 /usr/lib/liblzma.so.5.2.2 | |
systemd 1 root mem REG 179,1 18044 17654 /usr/lib/libdl-2.22.so |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function decode { | |
target=0 | |
len=${#1} | |
outstr="" | |
while [ $target -lt $len ] | |
do | |
if [ ${1:$target:1} != '%' ]; then | |
outstr=$outstr${1:$target:1} | |
target=$(($target + 1)) | |
elif [ ${1:$target:2} == '%f' ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from numpy import arange, exp, sqrt | |
from scipy.special import hermite as H | |
from scipy.misc import factorial | |
import matplotlib | |
font_size=8 | |
matplotlib.rcParams['font.size'] = font_size | |
matplotlib.rcParams['axes.labelsize'] = font_size | |
matplotlib.rcParams['axes.linewidth'] = font_size / 12. | |
matplotlib.rcParams['lines.linewidth'] = font_size / 12. | |
matplotlib.rcParams['axes.titlesize'] = font_size |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Match] | |
Name=br0 | |
[Network] | |
Address=192.168.1.2/24 | |
Gateway=192.168.1.1 | |
DNS=192.168.1.1 | |
DHCPServer=yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 1840.556045] ------------[ cut here ]------------ | |
[ 1840.556115] WARNING: CPU: 0 PID: 287 at drivers/net/wireless/intel/iwlwifi/mvm/sta.c:3412 iwl_mvm_sta_modify_sleep_tx_count+0x260/0x2f0 [iwlmvm] | |
[ 1840.556119] Modules linked in: nls_iso8859_1 nls_cp437 vfat fat snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic arc4 wmi_bmof dell_wmi sparse_keymap h | |
id_rmi rmi_core intel_rapl intel_soc_dts_thermal intel_soc_dts_iosf intel_powerclamp iTCO_wdt coretemp iTCO_vendor_support kvm_intel kvm iwlmvm mac80211 dell_laptop del | |
l_smbios dcdbas irqbypass crct10dif_pclmul dell_smm_hwmon crc32_pclmul psmouse ghash_clmulni_intel cryptd intel_cstate input_leds pcspkr cdc_ether usbnet evdev joydev r | |
8152 mousedev mii mac_hid hid_sensor_magn_3d hid_sensor_incl_3d hid_sensor_als hid_sensor_rotation iwlwifi hid_sensor_gyro_3d hid_sensor_accel_3d hid_sensor_trigger ind | |
ustrialio_triggered_buffer kfifo_buf hid_sensor_iio_common industrialio cfg80211 uvcvideo btusb btrtl videobuf2_vmalloc videobuf2_memops videobuf2_v |
OlderNewer