cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

trace_clock.c (216B)


      1// SPDX-License-Identifier: GPL-2.0-only
      2/*
      3 *
      4 * Copyright (C) 2015 Naveen N. Rao, IBM Corporation
      5 */
      6
      7#include <asm/trace_clock.h>
      8#include <asm/time.h>
      9
     10u64 notrace trace_clock_ppc_tb(void)
     11{
     12	return get_tb();
     13}