1#
2# Copyright (C) 2016 Canonical
3#
4# This program is free software; you can redistribute it and/or
5# modify it under the terms of the GNU General Public License
6# as published by the Free Software Foundation; either version 2
7# of the License, or (at your option) any later version.
8#
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12# GNU General Public License for more details.
13#
14# You should have received a copy of the GNU General Public License
15# along with this program; if not, write to the Free Software
16# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17#
18name: bcc
19version: 0.7.0-20181122-2831-166fba57
20summary: BPF Compiler Collection (BCC)
21description: A toolkit for creating efficient kernel tracing and manipulation programs
22confinement: strict
23grade: stable
24plugs:
25    mount-observe: null
26    system-observe: null
27    system-trace: null
28assumes: [snapd2.23]
29
30parts:
31    bcc:
32        plugin: cmake
33        configflags:
34            - '-DCMAKE_INSTALL_PREFIX=/usr'
35        source: ..
36        source-type: git
37        build-packages:
38            - bison
39            - build-essential
40            - cmake
41            - flex
42            - libedit-dev
43            - libllvm4.0
44            - llvm-4.0-dev
45            - libclang-4.0-dev
46            - python
47            - zlib1g-dev
48            - libelf-dev
49            - iperf
50        stage-packages:
51            - libc6
52        prime:
53            - usr/share/bcc/tools
54            - usr/lib/*/lib*.so*
55            - usr/lib/python2.7
56
57            - -usr/share/bcc/tools/doc
58
59    python-deps:
60        plugin: python
61        python-version: python2
62        stage-packages:
63            - libc6
64
65apps:
66    argdist:
67        command: usr/share/bcc/tools/argdist
68    bashreadline:
69        command: usr/share/bcc/tools/bashreadline
70    biolatency:
71        command: usr/share/bcc/tools/biolatency
72    biosnoop:
73        command: usr/share/bcc/tools/biosnoop
74    biotop:
75        command: usr/share/bcc/tools/biotop
76    bitesize:
77        command: usr/share/bcc/tools/bitesize
78    bpflist:
79        command: usr/share/bcc/tools/bpflist
80    btrfsdist:
81        command: usr/share/bcc/tools/btrfsdist
82    btrfsslower:
83        command: usr/share/bcc/tools/btrfsslower
84    cachestat:
85        command: usr/share/bcc/tools/cachestat
86    cachetop:
87        command: usr/share/bcc/tools/cachetop
88    capable:
89        command: usr/share/bcc/tools/capable
90    cobjnew:
91        command: usr/share/bcc/tools/cobjnew
92    cpudist:
93        command: usr/share/bcc/tools/cpudist
94    cpuunclaimed:
95        command: usr/share/bcc/tools/cpuunclaimed
96    dbslower:
97        command: usr/share/bcc/tools/dbslower
98    dbstat:
99        command: usr/share/bcc/tools/dbstat
100    dcsnoop:
101        command: usr/share/bcc/tools/dcsnoop
102    dcstat:
103        command: usr/share/bcc/tools/dcstat
104    deadlock-detector:
105        command: usr/share/bcc/tools/deadlock_detector
106    execsnoop:
107        command: usr/share/bcc/tools/execsnoop
108    ext4dist:
109        command: usr/share/bcc/tools/ext4dist
110    ext4slower:
111        command: usr/share/bcc/tools/ext4slower
112    filelife:
113        command: usr/share/bcc/tools/filelife
114    fileslower:
115        command: usr/share/bcc/tools/fileslower
116    filetop:
117        command: usr/share/bcc/tools/filetop
118    funccount:
119        command: usr/share/bcc/tools/funccount
120    funclatency:
121        command: usr/share/bcc/tools/funclatency
122    funcslower:
123        command: usr/share/bcc/tools/funcslower
124    gethostlatency:
125        command: usr/share/bcc/tools/gethostlatency
126    hardirqs:
127        command: usr/share/bcc/tools/hardirqs
128    javacalls:
129        command: usr/share/bcc/tools/javacalls
130    javaflow:
131        command: usr/share/bcc/tools/javaflow
132    javagc:
133        command: usr/share/bcc/tools/javagc
134    javaobjnew:
135        command: usr/share/bcc/tools/javaobjnew
136    javastat:
137        command: usr/share/bcc/tools/javastat
138    javathreads:
139        command: usr/share/bcc/tools/javathreads
140    killsnoop:
141        command: usr/share/bcc/tools/killsnoop
142    llcstat:
143        command: usr/share/bcc/tools/llcstat
144    mdflush:
145        command: usr/share/bcc/tools/mdflush
146    memleak:
147        command: usr/share/bcc/tools/memleak
148    mountsnoop:
149        command: usr/share/bcc/tools/mountsnoop
150    mysqld-qslower:
151        command: usr/share/bcc/tools/mysqld_qslower
152    nfsdist:
153        command: usr/share/bcc/tools/nfsdist
154    nfsslower:
155        command: usr/share/bcc/tools/nfsslower
156    nodegc:
157        command: usr/share/bcc/tools/nodegc
158    nodestat:
159        command: usr/share/bcc/tools/nodestat
160    offcputime:
161        command: usr/share/bcc/tools/offcputime
162    offwaketime:
163        command: usr/share/bcc/tools/offwaketime
164    oomkill:
165        command: usr/share/bcc/tools/oomkill
166    opensnoop:
167        command: usr/share/bcc/tools/opensnoop
168    perlcalls:
169        command: usr/share/bcc/tools/perlcalls
170    perlflow:
171        command: usr/share/bcc/tools/perlflow
172    perlstat:
173        command: usr/share/bcc/tools/perlstat
174    shmsnoop:
175        command: usr/share/bcc/tools/shmsnoop
176    sofdsnoop:
177        command: usr/share/bcc/tools/sofdsnoop
178    phpcalls:
179        command: usr/share/bcc/tools/phpcalls
180    phpflow:
181        command: usr/share/bcc/tools/phpflow
182    phpstat:
183        command: usr/share/bcc/tools/phpstat
184    pidpersec:
185        command: usr/share/bcc/tools/pidpersec
186    profile:
187        command: usr/share/bcc/tools/profile
188    pythoncalls:
189        command: usr/share/bcc/tools/pythoncalls
190    pythonflow:
191        command: usr/share/bcc/tools/pythonflow
192    pythongc:
193        command: usr/share/bcc/tools/pythongc
194    pythonstat:
195        command: usr/share/bcc/tools/pythonstat
196    rubycalls:
197        command: usr/share/bcc/tools/rubycalls
198    rubyflow:
199        command: usr/share/bcc/tools/rubyflow
200    rubygc:
201        command: usr/share/bcc/tools/rubygc
202    rubyobjnew:
203        command: usr/share/bcc/tools/rubyobjnew
204    rubystat:
205        command: usr/share/bcc/tools/rubystat
206    runqlat:
207        command: usr/share/bcc/tools/runqlat
208    runqlen:
209        command: usr/share/bcc/tools/runqlen
210    slabratetop:
211        command: usr/share/bcc/tools/slabratetop
212    softirqs:
213        command: usr/share/bcc/tools/softirqs
214    solisten:
215        command: usr/share/bcc/tools/solisten
216    sslsniff:
217        command: usr/share/bcc/tools/sslsniff
218    stackcount:
219        command: usr/share/bcc/tools/stackcount
220    statsnoop:
221        command: usr/share/bcc/tools/statsnoop
222    syncsnoop:
223        command: usr/share/bcc/tools/syncsnoop
224    syscount:
225        command: usr/share/bcc/tools/syscount
226    tcpaccept:
227        command: usr/share/bcc/tools/tcpaccept
228    tcpconnect:
229        command: usr/share/bcc/tools/tcpconnect
230    tcpconnlat:
231        command: usr/share/bcc/tools/tcpconnlat
232    tcplife:
233        command: usr/share/bcc/tools/tcplife
234    tcpretrans:
235        command: usr/share/bcc/tools/tcpretrans
236    tcptop:
237        command: usr/share/bcc/tools/tcptop
238    tcptracer:
239        command: usr/share/bcc/tools/tcptracer
240    tplist:
241        command: usr/share/bcc/tools/tplist
242    trace:
243        command: usr/share/bcc/tools/trace
244    ttysnoop:
245        command: usr/share/bcc/tools/ttysnoop
246    ucalls:
247        command: usr/share/bcc/tools/lib/ucalls
248    uflow:
249        command: usr/share/bcc/tools/lib/uflow
250    ugc:
251        command: usr/share/bcc/tools/lib/ugc
252    uobjnew:
253        command: usr/share/bcc/tools/lib/uobjnew
254    ustat:
255        command: usr/share/bcc/tools/lib/ustat
256    uthreads:
257        command: usr/share/bcc/tools/lib/uthreads
258    vfscount:
259        command: usr/share/bcc/tools/vfscount
260    vfsstat:
261        command: usr/share/bcc/tools/vfsstat
262    wakeuptime:
263        command: usr/share/bcc/tools/wakeuptime
264    xfsdist:
265        command: usr/share/bcc/tools/xfsdist
266    xfsslower:
267        command: usr/share/bcc/tools/xfsslower
268    zfsdist:
269        command: usr/share/bcc/tools/zfsdist
270    zfsslower:
271        command: usr/share/bcc/tools/zfsslower
272
273# vim: set ai et sts=4 tabstop=4 sw=4:
274