cs 162 daemons/based/based_messages.c static struct qb_log_callsite *cs = NULL; cs 171 daemons/based/based_messages.c if (cs == NULL) { cs 172 daemons/based/based_messages.c cs = qb_log_callsite_get(__func__, __FILE__, __func__, LOG_TRACE, cs 175 daemons/based/based_messages.c if (cs && cs->targets) { cs 195 daemons/based/based_messages.c cs && cs->targets); cs 124 include/crm/common/logging.h gboolean crm_is_callsite_active(struct qb_log_callsite *cs, uint8_t level, uint32_t tags); cs 384 lib/common/logging.c blackbox_logger(int32_t t, struct qb_log_callsite *cs, log_time_t timestamp, cs 387 lib/common/logging.c if(cs && cs->priority < LOG_ERR) { cs 388 lib/common/logging.c crm_write_blackbox(SIGTRAP, cs); /* Bypass the over-dumping logic */ cs 390 lib/common/logging.c crm_write_blackbox(0, cs); cs 468 lib/common/logging.c crm_write_blackbox(int nsig, struct qb_log_callsite *cs) cs 494 lib/common/logging.c } else if (cs) { cs 497 lib/common/logging.c cs->function, cs->lineno, cs->filename, buffer); cs 538 lib/common/logging.c struct qb_log_callsite *cs) cs 542 lib/common/logging.c } else if (cs->tags != crm_trace_nonlog && source == QB_LOG_BLACKBOX) { cs 544 lib/common/logging.c qb_bit_set(cs->targets, source); cs 548 lib/common/logging.c if (cs->priority <= LOG_ERR) { cs 549 lib/common/logging.c qb_bit_set(cs->targets, source); cs 552 lib/common/logging.c char *key = crm_strdup_printf("%s:%d", cs->function, cs->lineno); cs 555 lib/common/logging.c qb_bit_set(cs->targets, source); cs 561 lib/common/logging.c if (cs->priority <= crm_log_priority && cs->priority <= crm_log_level) { cs 562 lib/common/logging.c qb_bit_set(cs->targets, source); cs 565 lib/common/logging.c } else if (cs->priority <= crm_log_level) { cs 566 lib/common/logging.c qb_bit_set(cs->targets, source); cs 567 lib/common/logging.c } else if (trace_files && strstr(trace_files, cs->filename) != NULL) { cs 568 lib/common/logging.c qb_bit_set(cs->targets, source); cs 569 lib/common/logging.c } else if (trace_fns && strstr(trace_fns, cs->function) != NULL) { cs 570 lib/common/logging.c qb_bit_set(cs->targets, source); cs 571 lib/common/logging.c } else if (trace_fmts && strstr(trace_fmts, cs->format) != NULL) { cs 572 lib/common/logging.c qb_bit_set(cs->targets, source); cs 574 lib/common/logging.c && cs->tags != 0 cs 575 lib/common/logging.c && cs->tags != crm_trace_nonlog && g_quark_to_string(cs->tags) != NULL) { cs 576 lib/common/logging.c qb_bit_set(cs->targets, source); cs 581 lib/common/logging.c crm_log_filter(struct qb_log_callsite *cs) cs 621 lib/common/logging.c cs->targets = 0; /* Reset then find targets to enable */ cs 624 lib/common/logging.c cs); cs 629 lib/common/logging.c crm_is_callsite_active(struct qb_log_callsite *cs, uint8_t level, uint32_t tags) cs 633 lib/common/logging.c if (cs == NULL) { cs 637 lib/common/logging.c if (cs->priority != level) { cs 638 lib/common/logging.c cs->priority = level; cs 642 lib/common/logging.c if (cs->tags != tags) { cs 643 lib/common/logging.c cs->tags = tags; cs 648 lib/common/logging.c crm_log_filter(cs); cs 651 lib/common/logging.c if (cs->targets == 0) {