Linux Perf
builtin-diff.c File Reference
#include "builtin.h"
#include "util/debug.h"
#include "util/event.h"
#include "util/hist.h"
#include "util/evsel.h"
#include "util/evlist.h"
#include "util/session.h"
#include "util/tool.h"
#include "util/sort.h"
#include "util/symbol.h"
#include "util/util.h"
#include "util/data.h"
#include "util/config.h"
#include <errno.h>
#include <inttypes.h>
#include <stdlib.h>
#include <math.h>
Include dependency graph for builtin-diff.c:

Go to the source code of this file.

Classes

struct  diff_hpp_fmt
 
struct  data__file
 
struct  header_column
 

Macros

#define data__for_each_file_start(i, d, s)
 
#define data__for_each_file(i, d)   data__for_each_file_start(i, d, 0)
 
#define data__for_each_file_new(i, d)   data__for_each_file_start(i, d, 1)
 
#define MAX_COL_WIDTH   70
 
#define MAX_HEADER_NAME   100
 
#define NAME   (data__files_cnt > 2 ? buf : header)
 

Enumerations

enum  {
  PERF_HPP_DIFF__BASELINE, PERF_HPP_DIFF__PERIOD, PERF_HPP_DIFF__PERIOD_BASELINE, PERF_HPP_DIFF__DELTA,
  PERF_HPP_DIFF__RATIO, PERF_HPP_DIFF__WEIGHTED_DIFF, PERF_HPP_DIFF__FORMULA, PERF_HPP_DIFF__DELTA_ABS,
  PERF_HPP_DIFF__MAX_INDEX
}
 
enum  {
  COMPUTE_DELTA, COMPUTE_RATIO, COMPUTE_WEIGHTED_DIFF, COMPUTE_DELTA_ABS,
  COMPUTE_MAX
}
 

Functions

static int setup_compute_opt_wdiff (char *opt)
 
static int setup_compute_opt (char *opt)
 
static int setup_compute (const struct option *opt, const char *str, int unset __maybe_unused)
 
static double period_percent (struct hist_entry *he, u64 period)
 
static double compute_delta (struct hist_entry *he, struct hist_entry *pair)
 
static double compute_ratio (struct hist_entry *he, struct hist_entry *pair)
 
static s64 compute_wdiff (struct hist_entry *he, struct hist_entry *pair)
 
static int formula_delta (struct hist_entry *he, struct hist_entry *pair, char *buf, size_t size)
 
static int formula_ratio (struct hist_entry *he, struct hist_entry *pair, char *buf, size_t size)
 
static int formula_wdiff (struct hist_entry *he, struct hist_entry *pair, char *buf, size_t size)
 
static int formula_fprintf (struct hist_entry *he, struct hist_entry *pair, char *buf, size_t size)
 
static int diff__process_sample_event (struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_sample *sample, struct perf_evsel *evsel, struct machine *machine)
 
static struct perf_evselevsel_match (struct perf_evsel *evsel, struct perf_evlist *evlist)
 
static void perf_evlist__collapse_resort (struct perf_evlist *evlist)
 
static struct data__filefmt_to_data_file (struct perf_hpp_fmt *fmt)
 
static struct hist_entryget_pair_data (struct hist_entry *he, struct data__file *d)
 
static struct hist_entryget_pair_fmt (struct hist_entry *he, struct diff_hpp_fmt *dfmt)
 
static void hists__baseline_only (struct hists *hists)
 
static void hists__precompute (struct hists *hists)
 
static int64_t cmp_doubles (double l, double r)
 
static int64_t __hist_entry__cmp_compute (struct hist_entry *left, struct hist_entry *right, int c)
 
static int64_t hist_entry__cmp_compute (struct hist_entry *left, struct hist_entry *right, int c, int sort_idx)
 
static int64_t hist_entry__cmp_compute_idx (struct hist_entry *left, struct hist_entry *right, int c, int sort_idx)
 
static int64_t hist_entry__cmp_nop (struct perf_hpp_fmt *fmt __maybe_unused, struct hist_entry *left __maybe_unused, struct hist_entry *right __maybe_unused)
 
static int64_t hist_entry__cmp_baseline (struct perf_hpp_fmt *fmt __maybe_unused, struct hist_entry *left, struct hist_entry *right)
 
static int64_t hist_entry__cmp_delta (struct perf_hpp_fmt *fmt, struct hist_entry *left, struct hist_entry *right)
 
static int64_t hist_entry__cmp_delta_abs (struct perf_hpp_fmt *fmt, struct hist_entry *left, struct hist_entry *right)
 
static int64_t hist_entry__cmp_ratio (struct perf_hpp_fmt *fmt, struct hist_entry *left, struct hist_entry *right)
 
static int64_t hist_entry__cmp_wdiff (struct perf_hpp_fmt *fmt, struct hist_entry *left, struct hist_entry *right)
 
static int64_t hist_entry__cmp_delta_idx (struct perf_hpp_fmt *fmt __maybe_unused, struct hist_entry *left, struct hist_entry *right)
 
static int64_t hist_entry__cmp_delta_abs_idx (struct perf_hpp_fmt *fmt __maybe_unused, struct hist_entry *left, struct hist_entry *right)
 
static int64_t hist_entry__cmp_ratio_idx (struct perf_hpp_fmt *fmt __maybe_unused, struct hist_entry *left, struct hist_entry *right)
 
static int64_t hist_entry__cmp_wdiff_idx (struct perf_hpp_fmt *fmt __maybe_unused, struct hist_entry *left, struct hist_entry *right)
 
static void hists__process (struct hists *hists)
 
static void data__fprintf (void)
 
static void data_process (void)
 
static void data__free (struct data__file *d)
 
static int __cmd_diff (void)
 
static double baseline_percent (struct hist_entry *he)
 
static int hpp__color_baseline (struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he)
 
static int hpp__entry_baseline (struct hist_entry *he, char *buf, size_t size)
 
static int __hpp__color_compare (struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he, int comparison_method)
 
static int hpp__color_delta (struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he)
 
static int hpp__color_ratio (struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he)
 
static int hpp__color_wdiff (struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he)
 
static void hpp__entry_unpair (struct hist_entry *he, int idx, char *buf, size_t size)
 
static void hpp__entry_pair (struct hist_entry *he, struct hist_entry *pair, int idx, char *buf, size_t size)
 
static void __hpp__entry_global (struct hist_entry *he, struct diff_hpp_fmt *dfmt, char *buf, size_t size)
 
static int hpp__entry_global (struct perf_hpp_fmt *_fmt, struct perf_hpp *hpp, struct hist_entry *he)
 
static int hpp__header (struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hists *hists __maybe_unused, int line __maybe_unused, int *span __maybe_unused)
 
static int hpp__width (struct perf_hpp_fmt *fmt, struct perf_hpp *hpp __maybe_unused, struct hists *hists __maybe_unused)
 
static void init_header (struct data__file *d, struct diff_hpp_fmt *dfmt)
 
static void data__hpp_register (struct data__file *d, int idx)
 
static int ui_init (void)
 
static int data_init (int argc, const char **argv)
 
static int diff__config (const char *var, const char *value, void *cb __maybe_unused)
 
int cmd_diff (int argc, const char **argv)
 

Variables

static struct data__filedata__files
 
static int data__files_cnt
 
static bool force
 
static bool show_period
 
static bool show_formula
 
static bool show_baseline_only
 
static unsigned int sort_compute = 1
 
static s64 compute_wdiff_w1
 
static s64 compute_wdiff_w2
 
const char * compute_names [COMPUTE_MAX]
 
static int compute = COMPUTE_DELTA_ABS
 
static int compute_2_hpp [COMPUTE_MAX]
 
static struct header_column columns [PERF_HPP_DIFF__MAX_INDEX]
 
static struct perf_tool tool
 
static const char *const diff_usage []
 
static const struct option options []
 

Macro Definition Documentation

◆ data__for_each_file

#define data__for_each_file (   i,
 
)    data__for_each_file_start(i, d, 0)

Definition at line 65 of file builtin-diff.c.

◆ data__for_each_file_new

#define data__for_each_file_new (   i,
 
)    data__for_each_file_start(i, d, 1)

Definition at line 66 of file builtin-diff.c.

◆ data__for_each_file_start

#define data__for_each_file_start (   i,
  d,
 
)
Value:
for (i = s, d = &data__files[s]; \
i++, d = &data__files[i])
static int data__files_cnt
Definition: builtin-diff.c:58
static struct data__file * data__files
Definition: builtin-diff.c:57

Definition at line 60 of file builtin-diff.c.

◆ MAX_COL_WIDTH

#define MAX_COL_WIDTH   70

Definition at line 101 of file builtin-diff.c.

◆ MAX_HEADER_NAME

#define MAX_HEADER_NAME   100

◆ NAME

#define NAME   (data__files_cnt > 2 ? buf : header)

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
PERF_HPP_DIFF__BASELINE 
PERF_HPP_DIFF__PERIOD 
PERF_HPP_DIFF__PERIOD_BASELINE 
PERF_HPP_DIFF__DELTA 
PERF_HPP_DIFF__RATIO 
PERF_HPP_DIFF__WEIGHTED_DIFF 
PERF_HPP_DIFF__FORMULA 
PERF_HPP_DIFF__DELTA_ABS 
PERF_HPP_DIFF__MAX_INDEX 

Definition at line 29 of file builtin-diff.c.

◆ anonymous enum

anonymous enum
Enumerator
COMPUTE_DELTA 
COMPUTE_RATIO 
COMPUTE_WEIGHTED_DIFF 
COMPUTE_DELTA_ABS 
COMPUTE_MAX 

Definition at line 77 of file builtin-diff.c.

Function Documentation

◆ __cmd_diff()

static int __cmd_diff ( void  )
static

Definition at line 774 of file builtin-diff.c.

Here is the call graph for this function:

◆ __hist_entry__cmp_compute()

static int64_t __hist_entry__cmp_compute ( struct hist_entry left,
struct hist_entry right,
int  c 
)
static

Definition at line 505 of file builtin-diff.c.

Here is the call graph for this function:

◆ __hpp__color_compare()

static int __hpp__color_compare ( struct perf_hpp_fmt fmt,
struct perf_hpp hpp,
struct hist_entry he,
int  comparison_method 
)
static

Definition at line 891 of file builtin-diff.c.

Here is the call graph for this function:

◆ __hpp__entry_global()

static void __hpp__entry_global ( struct hist_entry he,
struct diff_hpp_fmt dfmt,
char *  buf,
size_t  size 
)
static

Definition at line 1045 of file builtin-diff.c.

Here is the call graph for this function:

◆ baseline_percent()

static double baseline_percent ( struct hist_entry he)
static

Definition at line 855 of file builtin-diff.c.

Here is the call graph for this function:

◆ cmd_diff()

int cmd_diff ( int  argc,
const char **  argv 
)

Definition at line 1330 of file builtin-diff.c.

Here is the call graph for this function:

◆ cmp_doubles()

static int64_t cmp_doubles ( double  l,
double  r 
)
static

Definition at line 494 of file builtin-diff.c.

◆ compute_delta()

static double compute_delta ( struct hist_entry he,
struct hist_entry pair 
)
static

Definition at line 239 of file builtin-diff.c.

Here is the call graph for this function:

◆ compute_ratio()

static double compute_ratio ( struct hist_entry he,
struct hist_entry pair 
)
static

Definition at line 249 of file builtin-diff.c.

◆ compute_wdiff()

static s64 compute_wdiff ( struct hist_entry he,
struct hist_entry pair 
)
static

Definition at line 259 of file builtin-diff.c.

◆ data__fprintf()

static void data__fprintf ( void  )
static

Definition at line 702 of file builtin-diff.c.

◆ data__free()

static void data__free ( struct data__file d)
static

Definition at line 763 of file builtin-diff.c.

◆ data__hpp_register()

static void data__hpp_register ( struct data__file d,
int  idx 
)
static

Definition at line 1133 of file builtin-diff.c.

Here is the call graph for this function:

◆ data_init()

static int data_init ( int  argc,
const char **  argv 
)
static

Definition at line 1256 of file builtin-diff.c.

Here is the call graph for this function:

◆ data_process()

static void data_process ( void  )
static

Definition at line 717 of file builtin-diff.c.

Here is the call graph for this function:

◆ diff__config()

static int diff__config ( const char *  var,
const char *  value,
void *cb  __maybe_unused 
)
static

Definition at line 1302 of file builtin-diff.c.

Here is the call graph for this function:

◆ diff__process_sample_event()

static int diff__process_sample_event ( struct perf_tool *tool  __maybe_unused,
union perf_event event,
struct perf_sample sample,
struct perf_evsel evsel,
struct machine machine 
)
static

Definition at line 326 of file builtin-diff.c.

Here is the call graph for this function:

◆ evsel_match()

static struct perf_evsel* evsel_match ( struct perf_evsel evsel,
struct perf_evlist evlist 
)
static

Definition at line 375 of file builtin-diff.c.

Here is the call graph for this function:

◆ fmt_to_data_file()

static struct data__file* fmt_to_data_file ( struct perf_hpp_fmt fmt)
static

Definition at line 399 of file builtin-diff.c.

◆ formula_delta()

static int formula_delta ( struct hist_entry he,
struct hist_entry pair,
char *  buf,
size_t  size 
)
static

Definition at line 271 of file builtin-diff.c.

◆ formula_fprintf()

static int formula_fprintf ( struct hist_entry he,
struct hist_entry pair,
char *  buf,
size_t  size 
)
static

Definition at line 308 of file builtin-diff.c.

Here is the call graph for this function:

◆ formula_ratio()

static int formula_ratio ( struct hist_entry he,
struct hist_entry pair,
char *  buf,
size_t  size 
)
static

Definition at line 288 of file builtin-diff.c.

◆ formula_wdiff()

static int formula_wdiff ( struct hist_entry he,
struct hist_entry pair,
char *  buf,
size_t  size 
)
static

Definition at line 297 of file builtin-diff.c.

◆ get_pair_data()

static struct hist_entry* get_pair_data ( struct hist_entry he,
struct data__file d 
)
static

Definition at line 409 of file builtin-diff.c.

Here is the call graph for this function:

◆ get_pair_fmt()

static struct hist_entry* get_pair_fmt ( struct hist_entry he,
struct diff_hpp_fmt dfmt 
)
static

Definition at line 423 of file builtin-diff.c.

Here is the call graph for this function:

◆ hist_entry__cmp_baseline()

static int64_t hist_entry__cmp_baseline ( struct perf_hpp_fmt *fmt  __maybe_unused,
struct hist_entry left,
struct hist_entry right 
)
static

Definition at line 614 of file builtin-diff.c.

◆ hist_entry__cmp_compute()

static int64_t hist_entry__cmp_compute ( struct hist_entry left,
struct hist_entry right,
int  c,
int  sort_idx 
)
static

Definition at line 545 of file builtin-diff.c.

Here is the call graph for this function:

◆ hist_entry__cmp_compute_idx()

static int64_t hist_entry__cmp_compute_idx ( struct hist_entry left,
struct hist_entry right,
int  c,
int  sort_idx 
)
static

Definition at line 575 of file builtin-diff.c.

Here is the call graph for this function:

◆ hist_entry__cmp_delta()

static int64_t hist_entry__cmp_delta ( struct perf_hpp_fmt fmt,
struct hist_entry left,
struct hist_entry right 
)
static

Definition at line 623 of file builtin-diff.c.

Here is the call graph for this function:

◆ hist_entry__cmp_delta_abs()

static int64_t hist_entry__cmp_delta_abs ( struct perf_hpp_fmt fmt,
struct hist_entry left,
struct hist_entry right 
)
static

Definition at line 632 of file builtin-diff.c.

Here is the call graph for this function:

◆ hist_entry__cmp_delta_abs_idx()

static int64_t hist_entry__cmp_delta_abs_idx ( struct perf_hpp_fmt *fmt  __maybe_unused,
struct hist_entry left,
struct hist_entry right 
)
static

Definition at line 667 of file builtin-diff.c.

Here is the call graph for this function:

◆ hist_entry__cmp_delta_idx()

static int64_t hist_entry__cmp_delta_idx ( struct perf_hpp_fmt *fmt  __maybe_unused,
struct hist_entry left,
struct hist_entry right 
)
static

Definition at line 659 of file builtin-diff.c.

Here is the call graph for this function:

◆ hist_entry__cmp_nop()

static int64_t hist_entry__cmp_nop ( struct perf_hpp_fmt *fmt  __maybe_unused,
struct hist_entry *left  __maybe_unused,
struct hist_entry *right  __maybe_unused 
)
static

Definition at line 606 of file builtin-diff.c.

◆ hist_entry__cmp_ratio()

static int64_t hist_entry__cmp_ratio ( struct perf_hpp_fmt fmt,
struct hist_entry left,
struct hist_entry right 
)
static

Definition at line 641 of file builtin-diff.c.

Here is the call graph for this function:

◆ hist_entry__cmp_ratio_idx()

static int64_t hist_entry__cmp_ratio_idx ( struct perf_hpp_fmt *fmt  __maybe_unused,
struct hist_entry left,
struct hist_entry right 
)
static

Definition at line 675 of file builtin-diff.c.

Here is the call graph for this function:

◆ hist_entry__cmp_wdiff()

static int64_t hist_entry__cmp_wdiff ( struct perf_hpp_fmt fmt,
struct hist_entry left,
struct hist_entry right 
)
static

Definition at line 650 of file builtin-diff.c.

Here is the call graph for this function:

◆ hist_entry__cmp_wdiff_idx()

static int64_t hist_entry__cmp_wdiff_idx ( struct perf_hpp_fmt *fmt  __maybe_unused,
struct hist_entry left,
struct hist_entry right 
)
static

Definition at line 683 of file builtin-diff.c.

Here is the call graph for this function:

◆ hists__baseline_only()

static void hists__baseline_only ( struct hists hists)
static

Definition at line 430 of file builtin-diff.c.

Here is the call graph for this function:

◆ hists__precompute()

static void hists__precompute ( struct hists hists)
static

Definition at line 452 of file builtin-diff.c.

Here is the call graph for this function:

◆ hists__process()

static void hists__process ( struct hists hists)
static

Definition at line 690 of file builtin-diff.c.

Here is the call graph for this function:

◆ hpp__color_baseline()

static int hpp__color_baseline ( struct perf_hpp_fmt fmt,
struct perf_hpp hpp,
struct hist_entry he 
)
static

Definition at line 862 of file builtin-diff.c.

Here is the call graph for this function:

◆ hpp__color_delta()

static int hpp__color_delta ( struct perf_hpp_fmt fmt,
struct perf_hpp hpp,
struct hist_entry he 
)
static

Definition at line 949 of file builtin-diff.c.

Here is the call graph for this function:

◆ hpp__color_ratio()

static int hpp__color_ratio ( struct perf_hpp_fmt fmt,
struct perf_hpp hpp,
struct hist_entry he 
)
static

Definition at line 955 of file builtin-diff.c.

Here is the call graph for this function:

◆ hpp__color_wdiff()

static int hpp__color_wdiff ( struct perf_hpp_fmt fmt,
struct perf_hpp hpp,
struct hist_entry he 
)
static

Definition at line 961 of file builtin-diff.c.

Here is the call graph for this function:

◆ hpp__entry_baseline()

static int hpp__entry_baseline ( struct hist_entry he,
char *  buf,
size_t  size 
)
static

Definition at line 879 of file builtin-diff.c.

Here is the call graph for this function:

◆ hpp__entry_global()

static int hpp__entry_global ( struct perf_hpp_fmt _fmt,
struct perf_hpp hpp,
struct hist_entry he 
)
static

Definition at line 1062 of file builtin-diff.c.

Here is the call graph for this function:

◆ hpp__entry_pair()

static void hpp__entry_pair ( struct hist_entry he,
struct hist_entry pair,
int  idx,
char *  buf,
size_t  size 
)
static

Definition at line 981 of file builtin-diff.c.

Here is the call graph for this function:

◆ hpp__entry_unpair()

static void hpp__entry_unpair ( struct hist_entry he,
int  idx,
char *  buf,
size_t  size 
)
static

Definition at line 968 of file builtin-diff.c.

◆ hpp__header()

static int hpp__header ( struct perf_hpp_fmt fmt,
struct perf_hpp hpp,
struct hists *hists  __maybe_unused,
int line  __maybe_unused,
int *span  __maybe_unused 
)
static

Definition at line 1078 of file builtin-diff.c.

◆ hpp__width()

static int hpp__width ( struct perf_hpp_fmt fmt,
struct perf_hpp *hpp  __maybe_unused,
struct hists *hists  __maybe_unused 
)
static

Definition at line 1090 of file builtin-diff.c.

◆ init_header()

static void init_header ( struct data__file d,
struct diff_hpp_fmt dfmt 
)
static

Definition at line 1101 of file builtin-diff.c.

◆ perf_evlist__collapse_resort()

static void perf_evlist__collapse_resort ( struct perf_evlist evlist)
static

Definition at line 388 of file builtin-diff.c.

Here is the call graph for this function:

◆ period_percent()

static double period_percent ( struct hist_entry he,
u64  period 
)
static

Definition at line 232 of file builtin-diff.c.

Here is the call graph for this function:

◆ setup_compute()

static int setup_compute ( const struct option *  opt,
const char *  str,
int unset  __maybe_unused 
)
static

Definition at line 189 of file builtin-diff.c.

Here is the call graph for this function:

◆ setup_compute_opt()

static int setup_compute_opt ( char *  opt)
static

Definition at line 176 of file builtin-diff.c.

Here is the call graph for this function:

◆ setup_compute_opt_wdiff()

static int setup_compute_opt_wdiff ( char *  opt)
static

Definition at line 140 of file builtin-diff.c.

◆ ui_init()

static int ui_init ( void  )
static

Definition at line 1178 of file builtin-diff.c.

Here is the call graph for this function:

Variable Documentation

◆ columns

struct header_column columns[PERF_HPP_DIFF__MAX_INDEX]
static

◆ compute

int compute = COMPUTE_DELTA_ABS
static

Definition at line 92 of file builtin-diff.c.

◆ compute_2_hpp

◆ compute_names

const char* compute_names[COMPUTE_MAX]
Initial value:

Definition at line 85 of file builtin-diff.c.

◆ compute_wdiff_w1

s64 compute_wdiff_w1
static

Definition at line 74 of file builtin-diff.c.

◆ compute_wdiff_w2

s64 compute_wdiff_w2
static

Definition at line 75 of file builtin-diff.c.

◆ data__files

struct data__file* data__files
static

Definition at line 57 of file builtin-diff.c.

◆ data__files_cnt

int data__files_cnt
static

Definition at line 58 of file builtin-diff.c.

◆ diff_usage

const char* const diff_usage[]
static
Initial value:
= {
"perf diff [<options>] [old_file] [new_file]",
NULL,
}

Definition at line 808 of file builtin-diff.c.

◆ force

bool force
static

Definition at line 68 of file builtin-diff.c.

◆ options

const struct option options[]
static

Definition at line 813 of file builtin-diff.c.

◆ show_baseline_only

bool show_baseline_only
static

Definition at line 71 of file builtin-diff.c.

◆ show_formula

bool show_formula
static

Definition at line 70 of file builtin-diff.c.

◆ show_period

bool show_period
static

Definition at line 69 of file builtin-diff.c.

◆ sort_compute

unsigned int sort_compute = 1
static

Definition at line 72 of file builtin-diff.c.

◆ tool

struct perf_tool tool
static
Initial value:
= {
.ordered_events = true,
.ordering_requires_timestamps = true,
}
int perf_event__process_mmap(struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_sample *sample, struct machine *machine)
Definition: event.c:1385
int perf_event__process_comm(struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_sample *sample, struct machine *machine)
Definition: event.c:1273
int perf_event__process_exit(struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_sample *sample, struct machine *machine)
Definition: event.c:1416
int perf_event__process_fork(struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_sample *sample, struct machine *machine)
Definition: event.c:1408
static int diff__process_sample_event(struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_sample *sample, struct perf_evsel *evsel, struct machine *machine)
Definition: builtin-diff.c:326
int perf_event__process_mmap2(struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_sample *sample, struct machine *machine)
Definition: event.c:1393
int perf_event__process_lost(struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_sample *sample, struct machine *machine)
Definition: event.c:1289
int perf_event__process_namespaces(struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_sample *sample, struct machine *machine)
Definition: event.c:1281

Definition at line 362 of file builtin-diff.c.