- 24 Oct, 2018 1 commit
-
-
Brendan Gregg authored
-
- 22 Oct, 2018 2 commits
-
-
Brendan Gregg authored
rename name builtin to probe
-
Brendan Gregg authored
Use env to find bpftrace
-
- 21 Oct, 2018 2 commits
-
-
williangaspar authored
-
-
- 20 Oct, 2018 1 commit
-
-
Alastair Robertson authored
Fixlets
-
- 19 Oct, 2018 9 commits
-
-
Tommi Rantala authored
Ensure no garbage in struct sigaction. Valgrind was complaining: ==21435== Syscall param rt_sigaction(act->sa_mask) points to uninitialised byte(s) ==21435== at 0x95ED000: __libc_sigaction (in /usr/lib64/libc-2.27.so) ==21435== by 0x594E99: main ==21435== Address 0x1ffefff8e8 is on thread 1's stack ==21435== in frame #0, created by __libc_sigaction (???:)
-
Tommi Rantala authored
Valgrind was complaining: ==8428== 32,816 bytes in 1 blocks are definitely lost in loss record 983 of 985 ==8428== at 0x4C2EDA7: malloc (vg_replace_malloc.c:299) ==8428== by 0x96779A5: __alloc_dir (in /usr/lib64/libc-2.27.so) ==8428== by 0x9677AAC: opendir_tail (in /usr/lib64/libc-2.27.so) ==8428== by 0x59EC50: bpftrace::list_dir(...) ==8428== by 0x59ED5F: bpftrace::list_probes(...) ==8428== by 0x594993: main
-
Tommi Rantala authored
-
Tommi Rantala authored
-
Tommi Rantala authored
cppcheck was complaining: [attached_probe.cpp:206]: (warning) %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [attached_probe.cpp:206]: (warning) %d in format string (no. 2) requires 'int *' but the argument type is 'unsigned int *'. [attached_probe.cpp:206]: (warning) %d in format string (no. 3) requires 'int *' but the argument type is 'unsigned int *'. While at it, check uname() and sscanf() return values to avoid garbage.
-
Tommi Rantala authored
Valgrind was complaining: ==9103== Warning: invalid file descriptor -1 in syscall close() ==9103== Warning: invalid file descriptor -1 in syscall close()
-
Tommi Rantala authored
-
Krzesimir Nowak authored
-
Brendan Gregg authored
-
- 18 Oct, 2018 3 commits
-
-
Brendan Gregg authored
issue 174 make resolve_kname match exact string
-
Brendan Gregg authored
probe type short names
-
williangaspar authored
-
- 17 Oct, 2018 6 commits
-
-
Brendan Gregg authored
Add file globbing search semantics to list_probes()
-
cneira authored
-
Alastair Robertson authored
-
Alastair Robertson authored
-
cneira authored
-
Brendan Gregg authored
-
- 16 Oct, 2018 14 commits
-
-
Brendan Gregg authored
Support printf("%s") for stack and ustack
-
Peter Sanford authored
This works similarly to how printf'ing a Type::usym works. When verifying the printf format string we treat stack and ustack as Type::string. BPFtrace:get_arg_values now knows how to resolve these. Fixes #10
-
-
Krzesimir Nowak authored
This makes cgroupid function to work fine when building with alpine.
-
Alastair Robertson authored
Allow '.' in idents for golang
-
Alastair Robertson authored
Supports: - LLVM 5 (static build) - LLVM 5 - LLVM 6 - LLVM 7
-
Brendan Gregg authored
ClangParser: Don't exit if kernel headers are not found
-
Peter Sanford authored
When specifying a string literal attach point do not try to expand wildcards if they are present. This specifically is required for Go methods on pointer receivers, which have a '*' in their symbol name.
-
Peter Sanford authored
Allow quoted string attach points so that you can match more than [a-Z0-9]. This specific issue that this fixes is attaching to go functions. These symbols are in the format '<package>.<function>' and can contain unicode letters and digits.
-
Brendan Gregg authored
Implement function cgroupid(path) -> cgroup id
-
Krzesimir Nowak authored
Mention the `cgroup` variable and the `cgroupid` function alongside an example that uses them both.
-
Krzesimir Nowak authored
Currently used image of alpine has a version of musl libc that does not have name_to_handle_at function that is required to resolve the cgroup id. In such case we just use an implementation that says that resolving cgroupid is not supported.
-
Alban Crequy authored
-
Krzesimir Nowak authored
We will wrap the file_handle struct in the next commit. The struct has a flexible array member, which is not supported by C++. Compiler may complain about using it when allocated on stack, even indirectly as a member of a struct. I'm not sure if using this kind of types is even a defined behavior…
-
- 15 Oct, 2018 2 commits
-
-
Brendan Gregg authored
Initial LLVM 7 port
-
Mateusz Lenik authored
Apply Brendan's patch
-