cregit-Linux how code gets into the kernel

Release 4.14 arch/x86/kernel/trace_clock.c

Directory: arch/x86/kernel
// SPDX-License-Identifier: GPL-2.0
/*
 * X86 trace clocks
 */
#include <asm/trace_clock.h>
#include <asm/barrier.h>
#include <asm/msr.h>

/*
 * trace_clock_x86_tsc(): A clock that is just the cycle counter.
 *
 * Unlike the other clocks, this is not in nanoseconds.
 */

u64 notrace trace_clock_x86_tsc(void) { return rdtsc_ordered(); }

Contributors

PersonTokensPropCommitsCommitProp
David Sharp1083.33%150.00%
Andrew Lutomirski216.67%150.00%
Total12100.00%2100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
David Sharp2187.50%133.33%
Andrew Lutomirski28.33%133.33%
Greg Kroah-Hartman14.17%133.33%
Total24100.00%3100.00%
Directory: arch/x86/kernel
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.