unsigned long long ltd_timestamp[LU_TIME_DEPTH_MAX];
};
+/* context key constructor/destructor: lu_time_key_init, lu_time_key_fini */
LU_KEY_INIT_FINI(lu_time, struct lu_time_data);
void lu_time_key_exit(const struct lu_context *ctx,
if (nr == 0)
RETURN(0);
- *stats = lprocfs_alloc_stats(nr);
+ *stats = lprocfs_alloc_stats(nr, 0);
if (*stats != NULL) {
result = lprocfs_register_stats(entry, name, *stats);
if (result == 0) {
* do_gettimeofday() goes backwards sometimes :(. Usethe TSC
*/
unsigned long long ret;
- extern unsigned long cpu_khz;
rdtscll(ret);
do_div(ret, cpu_khz / 1000);