Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
top.c File Reference
#include "cpumap.h"
#include "event.h"
#include "evlist.h"
#include "evsel.h"
#include "parse-events.h"
#include "symbol.h"
#include "top.h"
#include <inttypes.h>

Go to the source code of this file.

Macros

#define SNPRINTF(buf, size, fmt, args...)
 

Functions

size_t perf_top__header_snprintf (struct perf_top *top, char *bf, size_t size)
 
void perf_top__reset_sample_counters (struct perf_top *top)
 

Macro Definition Documentation

#define SNPRINTF (   buf,
  size,
  fmt,
  args... 
)
Value:
({ \
size_t r = snprintf(buf, size, fmt, ## args); \
r > size ? size : r; \
})

Definition at line 18 of file top.c.

Function Documentation

size_t perf_top__header_snprintf ( struct perf_top top,
char bf,
size_t  size 
)

Definition at line 24 of file top.c.

void perf_top__reset_sample_counters ( struct perf_top top)

Definition at line 99 of file top.c.