Merge remote-tracking branch 'origin/docs-master'
* origin/docs-master: Import debug helper macros. Add extra/ to .gitignore. Import include processing bench docs: Get rid of a ton of blocking resources from theme. docs: update stats docs: update download link. docs: Google site verification Update README link docs: move confusing install step to noteworthy differencepull/595/head
commit
4db1b4e8e6
@ -1,19 +1,35 @@
|
||||
{% extends "!layout.html" %}
|
||||
{% set css_files = css_files + ['_static/style.css'] %}
|
||||
|
||||
{# We don't support Sphinx search, so don't let its JS either. #}
|
||||
{% block scripts %}
|
||||
{% endblock %}
|
||||
|
||||
{# Alabaster ships a completely useless custom.css, suppress it. #}
|
||||
{%- block extrahead %}
|
||||
<meta name="google-site-verification" content="oq5hNxRYo25tcfjfs3l6pPxfNgY3JzDYSpskc9q4TYI" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
|
||||
{% endblock %}
|
||||
|
||||
{% block footer %}
|
||||
{{ super() }}
|
||||
|
||||
<script>
|
||||
(function() {
|
||||
{% include "piwik-config.js" %}
|
||||
var u="https://k1.botanicus.net/tr/";
|
||||
var u="https://networkgenomics.com/p/tr/";
|
||||
_paq.push(['setTrackerUrl', u+'ep']);
|
||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript';
|
||||
g.defer=true; g.async=true; g.src=u+'js'; s.parentNode.insertBefore(g,s);
|
||||
})();
|
||||
</script>
|
||||
<noscript><p><img src="https://k1.botanicus.net/tr/ep?idsite=6" style="border:0" alt=""></p></noscript>
|
||||
|
||||
<noscript>
|
||||
<p>
|
||||
{% set fulltitle = (title|striptags|e) + titlesuffix -%}
|
||||
<img src="https://networkgenomics.com/p/tr/ep?idsite=6&action_name={{fulltitle}}" style="border:0" alt="">
|
||||
</p>
|
||||
</noscript>
|
||||
|
||||
<script async defer src="https://buttons.github.io/buttons.js"></script>
|
||||
{% endblock %}
|
||||
|
@ -0,0 +1,39 @@
|
||||
#
|
||||
# Bash helpers for debugging.
|
||||
#
|
||||
|
||||
# Tell Ansible to write PID files for the mux and top-level process to CWD.
|
||||
export MITOGEN_SAVE_PIDS=1
|
||||
|
||||
|
||||
# strace -ff -p $(muxpid)
|
||||
muxpid() {
|
||||
cat .ansible-mux.pid
|
||||
}
|
||||
|
||||
# gdb -p $(anspid)
|
||||
anspid() {
|
||||
cat .ansible-controller.pid
|
||||
}
|
||||
|
||||
# perf top -git $(muxtids)
|
||||
# perf top -git $(muxtids)
|
||||
muxtids() {
|
||||
ls /proc/$(muxpid)/task | tr \\n ,
|
||||
}
|
||||
|
||||
# perf top -git $(anstids)
|
||||
anstids() {
|
||||
ls /proc/$(anspid)/task | tr \\n ,
|
||||
}
|
||||
|
||||
# ttrace $(muxpid) [.. options ..]
|
||||
# strace only threads of PID, not children
|
||||
ttrace() {
|
||||
local pid=$1; shift;
|
||||
local s=""
|
||||
for i in $(ls /proc/$pid/task) ; do
|
||||
s="-p $i $s"
|
||||
done
|
||||
strace $s "$@"
|
||||
}
|
@ -0,0 +1 @@
|
||||
- meta: end_play
|
@ -0,0 +1,4 @@
|
||||
- hosts: test-targets
|
||||
tasks:
|
||||
- include_tasks: _includes.yml
|
||||
with_sequence: start=1 end=1000
|
Loading…
Reference in New Issue