Lines Matching defs:filename

221 	{ "filter", 'f', "FILTER", 0, "Filter expressions (or @filename for file with expressions)." },
388 static bool should_process_file_prog(const char *filename, const char *prog_name)
398 if (f->any_glob && glob_matches(filename, f->any_glob))
402 if (f->file_glob && glob_matches(filename, f->file_glob))
415 if (glob_matches(filename, f->any_glob))
426 if (f->file_glob && !glob_matches(filename, f->file_glob))
649 [FILE_NAME] = { "File", {"file_name", "filename", "file"}, true /* asc */, true /* left */ },
877 static void fixup_obj(struct bpf_object *obj, struct bpf_program *prog, const char *filename)
942 filename, prog_name);
947 ctx_name, filename, prog_name);
955 static int process_prog(const char *filename, struct bpf_object *obj, struct bpf_program *prog)
958 const char *base_filename = basename(filename);
1011 filename, prog_name, stats->stats[DURATION],
1021 static int process_obj(const char *filename)
1029 if (!should_process_file_prog(basename(filename), NULL)) {
1031 printf("Skipping '%s' due to filters...\n", filename);
1035 if (!is_bpf_obj_file(filename)) {
1037 printf("Skipping '%s' as it's not a BPF object file...\n", filename);
1043 printf("Processing '%s'...\n", basename(filename));
1046 obj = bpf_object__open_file(filename, &opts);
1054 fprintf(stderr, "Failed to open '%s': %d\n", filename, -errno);
1069 process_prog(filename, obj, prog);
1076 tobj = bpf_object__open_file(filename, &opts);
1079 fprintf(stderr, "Failed to open '%s': %d\n", filename, err);
1095 process_prog(filename, tobj, lprog);
1427 static int parse_stats_csv(const char *filename, struct stat_specs *specs,
1435 f = fopen(filename, "r");
1438 fprintf(stderr, "Failed to open '%s': %d\n", filename, err);
1477 col, *stat_cntp, filename);
1494 *stat_cntp, filename);
1501 *stat_cntp, filename);
1519 fprintf(stderr, "Failed I/O for '%s': %d\n", filename, err);