Lines Matching defs:profile_data
845 struct profile_fgraph_data *profile_data;
853 profile_data = fgraph_reserve_data(gops->idx, sizeof(*profile_data));
854 if (!profile_data)
857 profile_data->subtime = 0;
858 profile_data->sleeptime = current->ftrace_sleeptime;
859 profile_data->calltime = trace_clock_local();
870 struct profile_fgraph_data *profile_data;
883 profile_data = fgraph_retrieve_data(gops->idx, &size);
886 if (!profile_data || !profile_data->calltime)
889 calltime = rettime - profile_data->calltime;
893 calltime -= current->ftrace_sleeptime - profile_data->sleeptime;
904 if (profile_data->subtime && profile_data->subtime < calltime)
905 calltime -= profile_data->subtime;