Linux Perf
progress.c File Reference
#include <linux/kernel.h>
#include "../cache.h"
#include "progress.h"
Include dependency graph for progress.c:

Go to the source code of this file.

Functions

static void null_progress__update (struct ui_progress *p __maybe_unused)
 
void ui_progress__update (struct ui_progress *p, u64 adv)
 
void __ui_progress__init (struct ui_progress *p, u64 total, const char *title, bool size)
 
void ui_progress__finish (void)
 

Variables

static struct ui_progress_ops null_progress__ops
 
struct ui_progress_opsui_progress__ops = &null_progress__ops
 

Function Documentation

◆ __ui_progress__init()

void __ui_progress__init ( struct ui_progress p,
u64  total,
const char *  title,
bool  size 
)

Definition at line 31 of file progress.c.

◆ null_progress__update()

static void null_progress__update ( struct ui_progress *p  __maybe_unused)
static

Definition at line 6 of file progress.c.

◆ ui_progress__finish()

void ui_progress__finish ( void  )

Definition at line 44 of file progress.c.

◆ ui_progress__update()

void ui_progress__update ( struct ui_progress p,
u64  adv 
)

Definition at line 17 of file progress.c.

Variable Documentation

◆ null_progress__ops

struct ui_progress_ops null_progress__ops
static
Initial value:
=
{
}
static void null_progress__update(struct ui_progress *p __maybe_unused)
Definition: progress.c:6

Definition at line 10 of file progress.c.

◆ ui_progress__ops

struct ui_progress_ops* ui_progress__ops = &null_progress__ops

Definition at line 15 of file progress.c.