From: jdesfossez@efficios.com (Julien Desfossez)
Subject: [lttng-dev] "lttng enable-channel --tracefile-size" bug
Date: Sat, 28 May 2016 09:21:57 -0400 [thread overview]
Message-ID: <57499B75.80203@efficios.com> (raw)
In-Reply-To: <CANgVouVswhgXmy=Dge5h2FA-7xsaJfDqOZ3=seG5dHjP=_4gmA@mail.gmail.com>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 743 bytes --]
> Hi,
> it looks like for the "enable-channel" command, "tracefile-size" option
> doesn't take effect, bellow are all the options, the resulted files have
> the actual size the same as the size specified by subbuf-size option:
>
> # lttng -V
> lttng (LTTng Trace Control) 2.7.1 - Herbe à Détourne
>
> $ lttng enable-channel chan_name -u -s session_name --discard
> --num-subbuf 8
> --subbuf-size 32M --tracefile-size 8K --tracefile-count 8
> --buffers-pid
Yes, that is the expected behaviour, we work with packets (sub-buffers),
so the smallest unit we can store is the subbuf-size.
With 2.7.3 I get this warning when I try your command:
Warning: Tracefile size rounded up from (8192) to subbuffer size (33554432)
Julien
next prev parent reply other threads:[~2016-05-28 13:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-27 22:11 John Smith
2016-05-28 13:21 ` Julien Desfossez [this message]
2016-05-28 21:59 ` John Smith
2016-05-29 19:48 ` Julien Desfossez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=57499B75.80203@efficios.com \
--to=jdesfossez@efficios.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox