[lttng-dev] babeltrace line length
Yannick Brosseau
yannick.brosseau at gmail.com
Sun Mar 25 15:01:00 EDT 2012
Hello,
There is no pre-defined split.
The new line you are seeing after the Hello World is part of string
passed to the tracepoint in the example.
The new line after the { is because of the size of your terminal.
If you want to remove the new line after the Hello World, just remove
the \n in the example.
Yannick
On 2012-03-25 14:50, Chuck Tuffli wrote:
> Hi -
>
> With babeltrace, it appears that the output line length for text is
> limited to something (maybe 78 characters?) and split if it exceeds
> that max. This produces output such as:
>
> [10:54:45.982923488] (+?.?????????) sample_component:message: { 1 }, {
> message = "Hello World
> " }
> [10:54:45.982987195] (+0.000063707) sample_component:message: { 1 }, {
> message = "Hello World
> " }
> ...
>
> Is there a way to prevent the line break and instead get something like
>
> [10:54:45.982923488] (+?.?????????) sample_component:message: { 1 }, {
> message = "Hello World" }
> [10:54:45.982987195] (+0.000063707) sample_component:message: { 1 }, {
> message = "Hello World" }
>
> ---chuck
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
More information about the lttng-dev
mailing list