Home
last modified time | relevance | path

Searched refs:log_level (Results 1 – 25 of 71) sorted by relevance

123

/Linux-v6.1/tools/power/acpi/tools/pfrut/
Dpfrut.c28 int action, query_cap, log_type, log_level, log_read, log_getinfo, variable
132 log_level = atoi(optarg); in parse_options()
246 printf("log_level:%d\n", info.log_level); in main()
258 info.log_level = -1; in main()
263 if (!valid_log_level(log_level)) { in main()
265 log_level); in main()
267 info.log_level = log_level; in main()
/Linux-v6.1/tools/testing/selftests/bpf/
Dtest_verifier_log.c46 static int load(char *log, size_t log_len, int log_level) in load() argument
57 attr.log_level = log_level; in load()
122 static void test_log_bad(char *log, size_t log_len, int log_level) in test_log_bad() argument
126 ret = load(log, log_len, log_level); in test_log_bad()
Dtest_offload.py33 log_level = 1 variable
42 return "*" * (log_level + level)
45 global log_level
46 log_level += add
49 global log_level
50 log_level -= sub
53 global log_level
54 log_level = level
Dveristat.c67 int log_level; member
163 env.log_level = strtol(arg, NULL, 10); in parse_arg()
539 bpf_program__set_log_level(prog, env.log_level | 4); /* stats + log */ in process_prog()
1293 if (env.verbose && env.log_level == 0) in main()
1294 env.log_level = 1; in main()
Dtesting_helpers.c225 .log_level = extra_prog_load_log_flags, in bpf_test_load_program()
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
Dlog_buf.c164 opts.log_level = 0; in bpf_prog_load_log_buf()
175 opts.log_level = 2; in bpf_prog_load_log_buf()
186 opts.log_level = 0; in bpf_prog_load_log_buf()
226 opts.log_level = 0; in bpf_btf_load_log_buf()
236 opts.log_level = 2; in bpf_btf_load_log_buf()
254 opts.log_level = 0; in bpf_btf_load_log_buf()
Draw_tp_writable_reject_nbd_invalid.c22 .log_level = 2, in test_raw_tp_writable_reject_nbd_invalid()
Draw_tp_writable_test_run.c21 .log_level = 2, in serial_test_raw_tp_writable_test_run()
/Linux-v6.1/tools/lib/bpf/
Dbpf.c238 __u32 log_size, log_level, attach_prog_fd, attach_btf_obj_fd; in bpf_prog_load() local
289 log_level = OPTS_GET(opts, log_level, 0); in bpf_prog_load()
293 if (log_level > (4 | 2 | 1)) in bpf_prog_load()
295 if (log_level && !log_buf) in bpf_prog_load()
312 if (log_level) { in bpf_prog_load()
315 attr.log_level = log_level; in bpf_prog_load()
363 if (log_level == 0 && log_buf) { in bpf_prog_load()
370 attr.log_level = 1; in bpf_prog_load()
1027 __u32 log_level; in bpf_btf_load() local
1039 log_level = OPTS_GET(opts, log_level, 0); in bpf_btf_load()
[all …]
Dbpf_gen_internal.h38 int log_level; member
52 void bpf_gen__init(struct bpf_gen *gen, int log_level, int nr_progs, int nr_maps);
Dlibbpf_probes.c27 .log_level = log_buf ? 1 : 0, in probe_prog_load()
53 opts.log_level = 1; in probe_prog_load()
66 opts.log_level = 1; in probe_prog_load()
Dskel_internal.h55 __u32 log_level; member
337 attr.log_level = opts->ctx->log_level; in bpf_load_and_run()
Dgen_loader.c113 void bpf_gen__init(struct bpf_gen *gen, int log_level, int nr_progs, int nr_maps) in bpf_gen__init() argument
119 gen->log_level = log_level; in bpf_gen__init()
139 nr_maps * (6 + (gen->log_level ? 6 : 0)))); in bpf_gen__init()
304 if (!gen->log_level) in emit_debug()
350 2 + (gen->log_level ? 6 : 0))); in __emit_sys_close()
433 offsetof(struct bpf_loader_ctx, log_level), false); in bpf_gen__load_btf()
716 if (!gen->log_level) in emit_relo_kfunc_btf()
734 if (!gen->log_level) in emit_ksym_relo_log()
994 move_ctx2blob(gen, attr_field(prog_load_attr, log_level), 4, in bpf_gen__prog_load()
995 offsetof(struct bpf_loader_ctx, log_level), false); in bpf_gen__prog_load()
Dbpf.h96 __u32 log_level; member
118 __u32 log_level; member
/Linux-v6.1/scripts/clang-tools/
Dgen_compile_commands.py66 return (args.log_level,
188 log_level, directory, output, ar, paths = parse_arguments()
190 level = getattr(logging, log_level)
/Linux-v6.1/drivers/acpi/
Dpfr_telemetry.c260 if (valid_log_level(info.log_level)) { in pfrt_log_ioctl()
261 ret = set_pfrt_log_level(info.log_level, pfrt_log_dev); in pfrt_log_ioctl()
265 pfrt_log_dev->info.log_level = info.log_level; in pfrt_log_ioctl()
274 info.log_level = get_pfrt_log_level(pfrt_log_dev); in pfrt_log_ioctl()
/Linux-v6.1/arch/x86/kernel/
Dumip.c116 void umip_printk(const struct pt_regs *regs, const char *log_level, in umip_printk() argument
131 printk("%s" pr_fmt("%s[%d] ip:%lx sp:%lx: %pV"), log_level, tsk->comm, in umip_printk()
/Linux-v6.1/tools/build/feature/
Dtest-bpf.c39 attr.log_level = 0; in main()
/Linux-v6.1/drivers/scsi/lpfc/
Dlpfc_bsg.h329 uint8_t log_level; member
336 uint8_t log_level; member
/Linux-v6.1/net/batman-adv/
Dlog.h82 if (atomic_read(&__batpriv->log_level) & (type) && \
/Linux-v6.1/drivers/scsi/ibmvscsi/
Dibmvfc.h644 int log_level; member
867 int log_level; member
914 if ((t)->vhost->log_level >= level) \
923 if ((vhost)->log_level >= level) \
/Linux-v6.1/include/uapi/linux/
Dpfrut.h215 __u32 log_level; member
/Linux-v6.1/sound/soc/sof/
Dipc3-dtrace.c63 int log_level, pipe_id, comp_id, read, ret; in trace_filter_parse_entry() local
73 ret = sscanf(line, " %d %x %d %d %n", &log_level, &uuid_id, &pipe_id, &comp_id, &read); in trace_filter_parse_entry()
100 log_level, elem, capacity, &cnt); in trace_filter_parse_entry()
/Linux-v6.1/tools/testing/selftests/bpf/progs/
Dsyscall.c101 prog_load_attr.log_level = 1; in bpf_prog()
/Linux-v6.1/drivers/scsi/csiostor/
Dcsio_lnode.h134 uint32_t log_level; /* Module level for debugging */ member

123