arch/powerpc/kernel/trace/trace_clock.c

Source file repositories/reference/linux-study-clean/arch/powerpc/kernel/trace/trace_clock.c

File Facts

System
Linux kernel
Corpus path
arch/powerpc/kernel/trace/trace_clock.c
Extension
.c
Size
216 bytes
Lines
14
Domain
Architecture Layer
Bucket
arch/powerpc
Inferred role
Architecture Layer: implementation source
Status
source implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

// SPDX-License-Identifier: GPL-2.0-only
/*
 *
 * Copyright (C) 2015 Naveen N. Rao, IBM Corporation
 */

#include <asm/trace_clock.h>
#include <asm/time.h>

u64 notrace trace_clock_ppc_tb(void)
{
	return get_tb();
}

Annotation

Implementation Notes