cregit-Linux how code gets into the kernel

Release 4.14 tools/perf/util/branch.h

Directory: tools/perf/util
#ifndef _PERF_BRANCH_H

#define _PERF_BRANCH_H 1

#include <stdint.h>
#include "../perf.h"


struct branch_type_stat {
	
bool	branch_to;
	
u64	counts[PERF_BR_MAX];
	
u64	cond_fwd;
	
u64	cond_bwd;
	
u64	cross_4k;
	
u64	cross_2m;
};

struct branch_flags;

void branch_type_count(struct branch_type_stat *st, struct branch_flags *flags,
		       u64 from, u64 to);

const char *branch_type_name(int type);
void branch_type_stat_display(FILE *fp, struct branch_type_stat *st);
int branch_type_str(struct branch_type_stat *st, char *bf, int bfsize);

#endif /* _PERF_BRANCH_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Jin Yao103100.00%2100.00%
Total103100.00%2100.00%
Directory: tools/perf/util
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.