- 30 Dec, 2017 2 commits
-
-
Brendan Gregg authored
-
Brendan Gregg authored
-
- 28 Dec, 2017 6 commits
-
-
4ast authored
fix a compilation error with latest llvm/clang trunk
-
Yonghong Song authored
bcc build with latest llvm/clang trunk failed with the below error: ...... [ 35%] Built target api-static /home/yhs/work/bcc/src/cc/frontends/clang/tp_frontend_action.cc: In member function ‘bool ebpf::TracepointTypeVisitor::Visit FunctionDecl(clang::FunctionDecl*)’: /home/yhs/work/bcc/src/cc/frontends/clang/tp_frontend_action.cc:163:60: error: no matching function for call to ‘clang::Qual Type::getAsString(clang::SplitQualType)’ auto type_name = QualType::getAsString(type.split()); ^ ...... The error is caused by the below clang commit: commit fcc28fd8cc8139cf1e4763459447880768579d8e Author: Aaron Ballman <aaron@aaronballman.com> Date: Thu Dec 21 21:42:42 2017 +0000 Re-commit r321223, which adds a printing policy to the ASTDumper. ...... - std::string getAsString() const { - return getAsString(split()); + static std::string getAsString(SplitQualType split, + const PrintingPolicy &Policy) { + return getAsString(split.Ty, split.Quals, Policy); } + static std::string getAsString(const Type *ty, Qualifiers qs, + const PrintingPolicy &Policy); - static std::string getAsString(SplitQualType split) { - return getAsString(split.Ty, split.Quals); - } - - static std::string getAsString(const Type *ty, Qualifiers qs); - + std::string getAsString() const; std::string getAsString(const PrintingPolicy &Policy) const; ...... The signature of static function getAsString(), which is used in src/cc/frontends/clang/tp_frontend_action.cc, got changed, and this caused the compilation error. The patch chooses a different way to get type_name which works for llvm 4.0 to 6.0 (tested). Signed-off-by: Yonghong Song <yhs@fb.com>
-
yonghong-song authored
CentOS 6 support
-
4ast authored
fix build issue for llvm 5.0.1
-
nikolay.samofatov authored
-
Yonghong Song authored
Fix issue #1502. A few cmake version checking greater than 5 includes 5.0.1 which results in compilation failure. Change version checking to explicitly equal to or greater than version 6. Signed-off-by: Yonghong Song <yhs@fb.com>
-
- 22 Dec, 2017 1 commit
-
-
yonghong-song authored
ucalls: convert bytes to str
-
- 21 Dec, 2017 1 commit
-
-
yonghong-song authored
Fix incorrect lost_cb type in Python
-
- 20 Dec, 2017 4 commits
-
-
Teng Qin authored
-
yonghong-song authored
Fix and improvement for perf_reader's lost_cb
-
Teng Qin authored
-
Teng Qin authored
-
- 19 Dec, 2017 1 commit
-
-
Brendan Gregg authored
-
- 18 Dec, 2017 3 commits
-
-
Brendan Gregg authored
Handle unknown user in cachetop
-
Brendan Gregg authored
tcpretrans: extend for sum up
-
yonghong-song authored
histogram: support sorting bucket before dumping table
-
- 17 Dec, 2017 2 commits
-
-
yonghong-song authored
Improve trace.py formatting and printing options
-
htbegin authored
add a test case for bucket_sort_fn and show its use scenario as well
-
- 16 Dec, 2017 9 commits
-
-
Teng Qin authored
-
Teng Qin authored
-
4ast authored
add examples for including additional header files
-
4ast authored
Update for new bpf_perf_{event|prog}_read_value helpers
-
4ast authored
Clean-up unused parameter in tracing APIs
-
4ast authored
cmake3 on Ubuntu Trusty
-
Teng Qin authored
-
Teng Qin authored
-
Teng Qin authored
-
- 15 Dec, 2017 4 commits
-
-
Teng Qin authored
-
Teng Qin authored
-
Teng Qin authored
- Set `inherit = 1` only for per-task perf event. Inspired from change https://github.com/torvalds/linux/commit/81b9cf8028a17bdbdaa0da80b735b32150d4e89e - Kernel now support more events (see #1448). Also it's checked in `bpf_attach_perf_event` already. Remove the check from C++ API
-
Rafael Fonseca authored
This fixes the following error with python3 Tracing calls in process 2577 (language: python)... Ctrl-C to quit. ^C Traceback (most recent call last): File "/usr/share/bcc/tools/lib/ucalls", line 303, in <module> data = get_data() # [(function, (num calls, latency in ns))] File "/usr/share/bcc/tools/lib/ucalls", line 264, in get_data bpf["counts"].items())) File "/usr/share/bcc/tools/lib/ucalls", line 262, in <lambda> data = list(map(lambda kv: (kv[0].clazz + "." + kv[0].method, TypeError: can't concat str to bytes Signed-off-by: Rafael Fonseca <r4f4rfs@gmail.com>
-
- 14 Dec, 2017 6 commits
-
-
4ast authored
Add C++ helper to clear BPF tables
-
Teng Qin authored
-
Matthias Tafelmeier authored
Feature to quickly discern heavily retransmitting flows and therefore spotting culprit network paths. Signed-off-by: Matthias Tafelmeier <matthias.tafelmeier@gmx.net>
-
Alexander Dudko authored
-
Yonghong Song authored
Fix issue #1478 Two tools, trace.py and argdist.py, and their corresponding example files were changed. Fixed a minor typo in one of trace.py error messages. Signed-off-by: Yonghong Song <yhs@fb.com>
-
Teng Qin authored
-
- 12 Dec, 2017 1 commit
-
-
4ast authored
add padding to the end of structure
-