<commit_before>#!/bin/bash

./scripts/lttng/build.sh

time (

rm -rf output

# create a session with an automatic name
lttng create

# enable all userspace tracepoints
lttng enable-event --userspace message:actor_send,message:actor_receive

lttng start

mpiexec -n 4 ./applications/spate_metagenome_assembler/spate -k 51 -threads-per-node 7 ~/dropbox/S.aureus.fasta.gz

lttng stop

# destroy current session
lttng destroy
) | tee log
<commit_msg>scripts: add a filter for LTTng events<commit_after>#!/bin/bash

./scripts/lttng/build.sh

time (

rm -rf output

# create a session with an automatic name
lttng create

# enable all userspace tracepoints
lttng enable-event --userspace message:* --filter "message_source_actor == 1001563"

lttng start

mpiexec -n 4 ./applications/spate_metagenome_assembler/spate -k 51 -threads-per-node 7 ~/dropbox/S.aureus.fasta.gz

lttng stop

# destroy current session
lttng destroy
) | tee log

{'fraction_non_alphanumeric': 0.09257265877287406, 'fraction_numerical': 0.016146393972012917, 'mean_word_length': 4.195530726256983, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3996968', 'n_tokens_mistral': 352, 'n_tokens_neox': 335, 'n_words': 95}