* Garrett Cooper , 20111017 21:38:
> time_t maps to int32_t on i386 and int64_t on amd64 (at least), so
> you should be able to use "%zd" in the format string as the type is
> variable width depending on the architecture.
Yuck. Why not cast it to intmax_t and print it using %jd?
--
Ed Schou
On Mon Oct 17 11, Arnaud Lacombe wrote:
> Hi,
>
> On Mon, Oct 17, 2011 at 3:44 PM, Alexander Best wrote:
> > On Mon Oct 17 11, Arnaud Lacombe wrote:
> >> Hi,
> >>
> >> On Mon, Oct 17, 2011 at 2:01 PM, Alexander Best
> >> wrote:
> >> > On Fri Oct 14 11, Arnaud Lacombe wrote:
> >> >> Hi,
> >> >>
Hi,
On Mon, Oct 17, 2011 at 3:38 PM, Garrett Cooper wrote:
> On Mon, Oct 17, 2011 at 12:27 PM, Arnaud Lacombe wrote:
>> Hi,
>>
>> On Mon, Oct 17, 2011 at 2:01 PM, Alexander Best wrote:
>>> On Fri Oct 14 11, Arnaud Lacombe wrote:
>>> [...]
>>>
>>> cc -c -O -pipe -march=core2 -std=c99 -g -Wall -W
Hi,
On Mon, Oct 17, 2011 at 3:44 PM, Alexander Best wrote:
> On Mon Oct 17 11, Arnaud Lacombe wrote:
>> Hi,
>>
>> On Mon, Oct 17, 2011 at 2:01 PM, Alexander Best wrote:
>> > On Fri Oct 14 11, Arnaud Lacombe wrote:
>> >> Hi,
>> >>
>> >> On Fri, Oct 14, 2011 at 8:52 AM, Nali Toja wrote:
>> >> > A
On Mon Oct 17 11, Arnaud Lacombe wrote:
> Hi,
>
> On Mon, Oct 17, 2011 at 2:01 PM, Alexander Best wrote:
> > On Fri Oct 14 11, Arnaud Lacombe wrote:
> >> Hi,
> >>
> >> On Fri, Oct 14, 2011 at 8:52 AM, Nali Toja wrote:
> >> > Alexander Best writes:
> >> >
> >> >>> On Fri Oct 14 11, Poul-Henning
On Mon, Oct 17, 2011 at 12:27 PM, Arnaud Lacombe wrote:
> Hi,
>
> On Mon, Oct 17, 2011 at 2:01 PM, Alexander Best wrote:
>> On Fri Oct 14 11, Arnaud Lacombe wrote:
>>> Hi,
>>>
>>> On Fri, Oct 14, 2011 at 8:52 AM, Nali Toja wrote:
>>> > Alexander Best writes:
>>> >
>>> >>> On Fri Oct 14 11, Poul
Hi,
On Mon, Oct 17, 2011 at 2:01 PM, Alexander Best wrote:
> On Fri Oct 14 11, Arnaud Lacombe wrote:
>> Hi,
>>
>> On Fri, Oct 14, 2011 at 8:52 AM, Nali Toja wrote:
>> > Alexander Best writes:
>> >
>> >>> On Fri Oct 14 11, Poul-Henning Kamp wrote:
>> >>> > In message <20111014085609.ga3...@freeb
On Fri Oct 14 11, Arnaud Lacombe wrote:
> Hi,
>
> On Fri, Oct 14, 2011 at 8:52 AM, Nali Toja wrote:
> > Alexander Best writes:
> >
> >>> On Fri Oct 14 11, Poul-Henning Kamp wrote:
> >>> > In message <20111014085609.ga3...@freebsd.org>, Alexander Best writes:
> >>> >
> >>> > >1) would it be possi
Hi,
On Fri, Oct 14, 2011 at 8:52 AM, Nali Toja wrote:
> Alexander Best writes:
>
>>> On Fri Oct 14 11, Poul-Henning Kamp wrote:
>>> > In message <20111014085609.ga3...@freebsd.org>, Alexander Best writes:
>>> >
>>> > >1) would it be possible to prepend those timestamps to the actual console
>>>
Alexander Best writes:
>> On Fri Oct 14 11, Poul-Henning Kamp wrote:
>> > In message <20111014085609.ga3...@freebsd.org>, Alexander Best writes:
>> >
>> > >1) would it be possible to prepend those timestamps to the actual console
>> > >output and not only to the output of demsg? maybe via a sysc
On Fri Oct 14 11, Alexander Best wrote:
> On Fri Oct 14 11, Poul-Henning Kamp wrote:
> > In message <20111014085609.ga3...@freebsd.org>, Alexander Best writes:
> >
> > >1) would it be possible to prepend those timestamps to the actual console
> > >output and not only to the output of demsg? maybe
On Fri Oct 14 11, Alexander Best wrote:
> On Fri Oct 14 11, Poul-Henning Kamp wrote:
> > In message <20111014085609.ga3...@freebsd.org>, Alexander Best writes:
> >
> > >1) would it be possible to prepend those timestamps to the actual console
> > >output and not only to the output of demsg? maybe
On Fri Oct 14 11, Poul-Henning Kamp wrote:
> In message <20111014085609.ga3...@freebsd.org>, Alexander Best writes:
>
> >1) would it be possible to prepend those timestamps to the actual console
> >output and not only to the output of demsg? maybe via a sysctl toggle?
>
> The kernel does not know
In message <20111014085609.ga3...@freebsd.org>, Alexander Best writes:
>1) would it be possible to prepend those timestamps to the actual console
>output and not only to the output of demsg? maybe via a sysctl toggle?
The kernel does not know enough about timezones to emit anything
but UTC timest
On Fri Oct 14 11, Nikolay Denev wrote:
>
> On Oct 13, 2011, at 9:40 PM, Arnaud Lacombe wrote:
>
> > Hi,
> >
> > On Thu, Oct 13, 2011 at 2:00 PM, wrote:
> >> From: Arnaud Lacombe
> >>
> >> Hi folks,
> >>
> >> There is many case recently when I really wished timestamp were present in
> >> th
On Oct 13, 2011, at 9:40 PM, Arnaud Lacombe wrote:
> Hi,
>
> On Thu, Oct 13, 2011 at 2:00 PM, wrote:
>> From: Arnaud Lacombe
>>
>> Hi folks,
>>
>> There is many case recently when I really wished timestamp were present in
>> the
>> post-mortem msgbuf. Such situation could be when userland
On 14 October 2011 02:40, Arnaud Lacombe wrote:
> Hi,
>
> On Thu, Oct 13, 2011 at 2:00 PM, wrote:
>> From: Arnaud Lacombe
>>
>> Hi folks,
>>
>> There is many case recently when I really wished timestamp were present in
>> the
>> post-mortem msgbuf. Such situation could be when userland applica
Hi,
On Thu, Oct 13, 2011 at 2:00 PM, wrote:
> From: Arnaud Lacombe
>
> Hi folks,
>
> There is many case recently when I really wished timestamp were present in the
> post-mortem msgbuf. Such situation could be when userland application segfault
> potentially triggering a panic/crash, or have in
From: Arnaud Lacombe
Hi folks,
There is many case recently when I really wished timestamp were present in the
post-mortem msgbuf. Such situation could be when userland application segfault
potentially triggering a panic/crash, or have information about the time-wise
location of a given message (
19 matches
Mail list logo