Linux Perf
header.c File Reference
#include <sys/types.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../../util/header.h"
Include dependency graph for header.c:

Go to the source code of this file.

Functions

static void cpuid (unsigned int op, unsigned int *a, unsigned int *b, unsigned int *c, unsigned int *d)
 
static int __get_cpuid (char *buffer, size_t sz, const char *fmt)
 
int get_cpuid (char *buffer, size_t sz)
 
char * get_cpuid_str (struct perf_pmu *pmu __maybe_unused)
 

Function Documentation

◆ __get_cpuid()

static int __get_cpuid ( char *  buffer,
size_t  sz,
const char *  fmt 
)
static

Definition at line 24 of file header.c.

Here is the call graph for this function:

◆ cpuid()

static void cpuid ( unsigned int  op,
unsigned int *  a,
unsigned int *  b,
unsigned int *  c,
unsigned int *  d 
)
inlinestatic

Definition at line 11 of file header.c.

◆ get_cpuid()

int get_cpuid ( char *  buffer,
size_t  sz 
)

Definition at line 63 of file header.c.

Here is the call graph for this function:

◆ get_cpuid_str()

char* get_cpuid_str ( struct perf_pmu *pmu  __maybe_unused)

Definition at line 69 of file header.c.

Here is the call graph for this function: