The BPF stack used by bpftrace for storing the strings is only 512
bytes in size. Therefore it needs some consideration on which value
to set BPFTRACE_STRLEN
(max 200).
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
{ pkgs ? import /home/kai/sw/nixpkgs {} }: | |
let | |
jdk = pkgs.callPackage <nixpkgs/pkgs/development/compilers/openjdk/8.nix> { | |
bootjdk = pkgs.callPackage <nixpkgs/pkgs/development/compilers/openjdk/bootstrap.nix> { version = "8"; }; | |
minimal = true; | |
inherit (pkgs.gnome2) GConf gnome_vfs; | |
}; | |
fhs = pkgs.buildFHSUserEnv { | |
name = "android-env"; |
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
diff --git a/aclocal.m4 b/aclocal.m4 | |
index dcc3448..05c4cc6 100644 | |
--- a/aclocal.m4 | |
+++ b/aclocal.m4 | |
@@ -945,7 +945,8 @@ else | |
fi; | |
changequote([, ])dnl | |
]) | |
-if test ! -f compiler/parser/Parser.hs || test ! -f compiler/cmm/CmmParse.hs | |
+if test ! \( -f compiler/parser/Parser.hs -o -f _build/stage1/compiler/Parser.hs \) \ |
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
-- This is a sysdig chisel | |
description = "attach gdb to a spawned process" | |
short_description = "attach gdb to a spawned process" | |
category = "misc" | |
-- Chisel argument list | |
args = {} | |
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
{-# LANGUAGE OverloadedStrings #-} | |
import Text.LaTeX.Base.Parser | |
import qualified Data.Text.IO as T | |
import qualified Text.LaTeX.Base.Syntax as S | |
main :: IO () | |
main = do | |
content <- T.readFile "test.tex" | |
case parseLaTeX content of |