Hello community, here is the log from the commit of package bcc for openSUSE:Factory checked in at 2016-12-06 14:27:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bcc (Old) and /work/SRC/openSUSE:Factory/.bcc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bcc" Changes: -------- --- /work/SRC/openSUSE:Factory/bcc/bcc.changes 2016-09-27 13:45:11.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.bcc.new/bcc.changes 2016-12-06 14:27:53.000000000 +0100 @@ -1,0 +2,82 @@ +Tue Dec 6 09:07:33 UTC 2016 - [email protected] + +- Move manpages back to /usr/share/bcc/man since trace.8 is + conflicted with the one from postfix. + +------------------------------------------------------------------- +Thu Dec 1 08:54:44 UTC 2016 - [email protected] + +- Update to 0.2.0+git1480569532.5647de0 + + profile: -p should match user PID + + tcplife: reorder logic to catch missed timestamps + + hello_perf_output: match the data type of pid + + Remove debug flag override in bcc_exception.h + + Use StatusTuple constructor in mkstatus_ + + Implement StatusTuple class instead of using std::tuple + + biotop.py: fix compiler error on newer kernels + + Determine kernel dirs at runtime (fix #743) + + Rename exception.h to bcc_exception.h + + tcplife.py: Catch passive closed by server, #788 + + Install exception.h and common.h + + Fixup test errors in clang, c api + + trace: Avoid passing -1 as the pid to USDT + + Fix Tracepoint example (#809) + + cc, python: Clean up BPF module and tables + + Fix warnings covered by -Wdelete-non-virtual-dtor + + Fix argument type for increment() in documentation (#794) + + trace: add pid/tid filtering, fix symbolizing, misc nits (#798) + + Expose destruction of SymbolCache in libbcc + + perf_reader: install perf_reader.h + + Use headers from BCC in installed files (#793) + + funccount: Bail early if there are no matching functions (#792) + + python: Grab all keys before zeroing + + funccount: Switch to BPF array instead of hash + + Update profile.py to use new perf support (#776) + + Example for using BPF perf event + + funccount: Do not prepopulate location cache + + python: Filter duplicate in get_kprobe_functions + + Python API for BPF perf event + + Add bpf_attach_perf_event in libbpf + + Add BPF_PROG_TYPE_PERF_EVENT to bpf_prog_type enum + + add tcplife (#773) + + add reset-trace (#766) + + funccount: Verify probe max limit (#771) + + python: Fix kprobe quota test breakage, add uprobes + + funccount: Generalize for uprobes, tracepoints, and USDT + + bcc: Make regex helpers publicly accessible + + stackcount: Style fixes for linter (pep8) + + fix profile.py page_offset_base breakage (#768) + + trace, argdist: -I switch for trace and miscellaneous fixes + (#761) + + cc: Support glob+offset format in USDT arguments (#753) + + Support filtering by process ID in the filesystem slower tools + (#756) + + trace: STRCMP helper function + + mysqld_slower: Fix breakage after USDT API change + + trace: Add %K and %U format specifiers (#742) + + Update opensnoop to filter by PID and TID (#739) + + funclatency: user functions support (#733) + + tplist: Print USDT locations and arguments (#734) + + src/lua: LuaJIT BPF compiler, examples, tests (#652) + + stackcount: Support uprobes, tracepoints, and USDT (#730) + + trace: Initialize USDT arguments to 0 before reading (#725) + + argdist, trace: Native tracepoint support (#724) + + argdist: Cumulative mode (-c) (#719) + + trace: Print USDT arg helpers in verbose mode (#723) + + argdist, trace: Support naked executable names in probes (#720) + + docs: Update eBPF features list by kernel version (#717) + + fixup the issue in which distributed_bridge example (#716) + + Fix bpf_common.cc include style (#715) + + Fix argdist, trace, tplist to use the libbcc USDT support (#698) + + [tcpconnect] filter traced connection based on destination ports + + Fix bpf log buffer for large bpf program: (#680) + + opensnoop: Introduce process name filtering +- Exclude the cpp examples from installation +- Remove the isystem path since we are using clang++ +- Install the manpages correctly +- Improve the spec file to search the luajit pathes and fix some + dependency issue in Leap 42.2 +- Remove "-DBCC_KERNEL_HAS_SOURCE_DIR=1" since bcc can detect the + kernel dir dynamically now. + +------------------------------------------------------------------- Old: ---- v0.2.0.tar.gz New: ---- bcc-v0.2.0+git1480569532.5647de0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bcc.spec ++++++ --- /var/tmp/diff_new_pack.CfC5ca/_old 2016-12-06 14:27:54.000000000 +0100 +++ /var/tmp/diff_new_pack.CfC5ca/_new 2016-12-06 14:27:54.000000000 +0100 @@ -19,13 +19,13 @@ %define libversion 0.2.0 Name: bcc -Version: 0.2.0 +Version: 0.2.0+git1480569532.5647de0 Release: 0 Summary: BPF Compiler Collection (BCC) License: Apache-2.0 Group: Development/Languages Url: https://github.com/iovisor/bcc -Source: https://github.com/iovisor/bcc/archive/v%{version}.tar.gz +Source: %{name}-v%{version}.tar.xz ExclusiveArch: x86_64 BuildRequires: bison BuildRequires: cmake >= 2.8.7 @@ -37,6 +37,7 @@ BuildRequires: llvm-gold BuildRequires: lua51-luajit-devel %else +BuildRequires: libstdc++-devel BuildRequires: luajit-devel %endif BuildRequires: pkg-config @@ -126,9 +127,15 @@ %prep -%setup -D -n %{name}-%{version} +%setup -D -n %{name}-v%{version} %build +# Prevent the cpp examples from installation +sed -i "/add_subdirectory(cpp)/d" examples/CMakeLists.txt + +# Remove CXX_ISYSTEM_DIRS since we use clang++ +sed -i "s,-Wall \${CXX_ISYSTEM_DIRS},-Wall," CMakeLists.txt + export LD_LIBRARY_PATH="%{_builddir}/usr/lib64" export PATH="%{_builddir}/usr/bin":$PATH @@ -142,11 +149,8 @@ -DREVISION_LAST=%{libversion} \ -DREVISION=%{libversion} \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DBCC_KERNEL_HAS_SOURCE_DIR=1 \ -%if 0%{?suse_version} > 1320 - -DLUAJIT_INCLUDE_DIR=/usr/include/luajit-5_1-2.0 \ -%endif - -DLUAJIT_LIBRARY=/usr/lib64/libluajit-5.1.so \ + -DLUAJIT_INCLUDE_DIR=`pkg-config --variable=includedir luajit` \ + -DLUAJIT_LIBRARY=%{_libdir}/lib`pkg-config --variable=libname luajit`.so \ .. make %{?_smp_mflags} VERBOSE=1 popd
