1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#include <stdio.h>
#include "leaky-bucket.h"
struct err_type {
struct leaky_bucket bucket;
unsigned long count;
};
enum printflags {
DUMP_ALL = (1 << 0),
DUMP_BIOS = (1 << 1),
};
void prefill_memdb(void);
void memdb_config(void);
void dump_memory_errors(FILE *f, enum printflags flags);
void memory_error(struct mce *m, int channel, int dimm, unsigned corr_err_cnt,
unsigned recordlen);
struct memdimm;
void memdb_trigger(char *msg, struct memdimm *md, time_t t,
struct err_type *et, struct bucket_conf *bc);
struct memdimm *get_memdimm(int socketid, int channel, int dimm, int insert);
|