lkml.org 
[lkml]   [2014]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 4/8] perf data: Add a 'perf' prefix to the generic fields
On 12/11/2014 07:55 PM, David Ahern wrote:
> On 12/11/14 8:12 AM, Jiri Olsa wrote:
>
>> Before:
>> $ babeltrace ./ctf-data/
>> [03:19:13.962131936] (+0.000001935) cycles: { }, { ip =
>> 0xFFFFFFFF8105443A, tid = 20714, pid = 20714, period = 8 }
>> [03:19:13.962133732] (+0.000001796) cycles: { }, { ip =
>> 0xFFFFFFFF8105443A, tid = 20714, pid = 20714, period = 114 }
>> ...
>>
>> Now:
>> $ babeltrace ./ctf-data/
>> [03:19:13.962131936] (+0.000001935) cycles: { }, { perf_ip =
>> 0xFFFFFFFF8105443A, perf_tid = 20714, perf_pid = 20714, perf_period = 8 }
>> [03:19:13.962133732] (+0.000001796) cycles: { }, { perf_ip =
>> 0xFFFFFFFF8105443A, perf_tid = 20714, perf_pid = 20714, perf_period =
>> 114 }
>> ...
>
> How is babeltrace showing time-of-day for perf-based data files? Is that
> tod when the command is run?

CTF needs an a base offset which we set to 0 because we don't have it.
It then takes the NS timestamp and computes the "time".

> David

Sebastian


\
 
 \ /
  Last update: 2014-12-11 20:41    [W:0.324 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site