Re: [PATCH] USB: usbmon: Use 64bit timestamp for mon_bin_hdr

From: Tina Ruchandani
Date: Tue May 05 2015 - 02:37:28 EST


> but the timestamp will also overflow. So what is the point?
>

The 32-bit timestamp obtained using do_gettimeofday() will overflow in
year 2038. However, with 64-bit timestamps, we get practically
infinite time. mon_bin_hdr already has support for a 64-bit seconds
timestamp. This patch changes how it is populated.

Thanks,
Tina
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/