函数源码 |
Source File:kernel\trace\ring_buffer.c |
Create Date:2022-07-27 12:59:57 |
首页 | Copyright©Brick |
2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 | static noinline void rb_handle_timestamp( struct ring_buffer_per_cpu *cpu_buffer, struct rb_event_info *info) { WARN_ONCE(info->delta > (1ULL << 59), KERN_WARNING "Delta way too big! %llu ts=%llu write stamp = %llu\n%s" , (unsigned long long )info->delta, (unsigned long long )info->ts, (unsigned long long )cpu_buffer->write_stamp, sched_clock_stable() ? "" : "If you just came from a suspend/resume,\n" "please switch to the trace global clock:\n" " echo global > /sys/kernel/debug/tracing/trace_clock\n" "or add trace_clock=global to the kernel command line\n" ); info->add_timestamp = 1; } |