Linux Perf
helpline.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../debug.h"
#include "helpline.h"
#include "ui.h"
#include "../util.h"
Include dependency graph for helpline.c:

Go to the source code of this file.

Functions

static void nop_helpline__pop (void)
 
static void nop_helpline__push (const char *msg __maybe_unused)
 
static int nop_helpline__show (const char *fmt __maybe_unused, va_list ap __maybe_unused)
 
void ui_helpline__pop (void)
 
void ui_helpline__push (const char *msg)
 
void ui_helpline__vpush (const char *fmt, va_list ap)
 
void ui_helpline__fpush (const char *fmt,...)
 
void ui_helpline__puts (const char *msg)
 
int ui_helpline__vshow (const char *fmt, va_list ap)
 
void ui_helpline__printf (const char *fmt,...)
 

Variables

char ui_helpline__current [512]
 
static struct ui_helpline default_helpline_fns
 
struct ui_helplinehelpline_fns = &default_helpline_fns
 

Function Documentation

◆ nop_helpline__pop()

static void nop_helpline__pop ( void  )
static

Definition at line 13 of file helpline.c.

◆ nop_helpline__push()

static void nop_helpline__push ( const char *msg  __maybe_unused)
static

Definition at line 17 of file helpline.c.

◆ nop_helpline__show()

static int nop_helpline__show ( const char *fmt  __maybe_unused,
va_list ap  __maybe_unused 
)
static

Definition at line 21 of file helpline.c.

◆ ui_helpline__fpush()

void ui_helpline__fpush ( const char *  fmt,
  ... 
)

Definition at line 57 of file helpline.c.

Here is the call graph for this function:

◆ ui_helpline__pop()

void ui_helpline__pop ( void  )

Definition at line 35 of file helpline.c.

◆ ui_helpline__printf()

void ui_helpline__printf ( const char *  fmt,
  ... 
)

Definition at line 77 of file helpline.c.

Here is the call graph for this function:

◆ ui_helpline__push()

void ui_helpline__push ( const char *  msg)

Definition at line 40 of file helpline.c.

◆ ui_helpline__puts()

void ui_helpline__puts ( const char *  msg)

Definition at line 66 of file helpline.c.

Here is the call graph for this function:

◆ ui_helpline__vpush()

void ui_helpline__vpush ( const char *  fmt,
va_list  ap 
)

Definition at line 45 of file helpline.c.

Here is the call graph for this function:

◆ ui_helpline__vshow()

int ui_helpline__vshow ( const char *  fmt,
va_list  ap 
)

Definition at line 72 of file helpline.c.

Variable Documentation

◆ default_helpline_fns

struct ui_helpline default_helpline_fns
static
Initial value:
= {
}
static void nop_helpline__push(const char *msg __maybe_unused)
Definition: helpline.c:17
static void nop_helpline__pop(void)
Definition: helpline.c:13
static int nop_helpline__show(const char *fmt __maybe_unused, va_list ap __maybe_unused)
Definition: helpline.c:21

Definition at line 27 of file helpline.c.

◆ helpline_fns

struct ui_helpline* helpline_fns = &default_helpline_fns

Definition at line 33 of file helpline.c.

◆ ui_helpline__current

char ui_helpline__current[512]

Definition at line 11 of file helpline.c.