cs 116 include/crm/common/logging.h gboolean crm_is_callsite_active(struct qb_log_callsite *cs, uint8_t level, uint32_t tags); cs 416 lib/common/logging.c blackbox_logger(int32_t t, struct qb_log_callsite *cs, log_time_t timestamp, cs 419 lib/common/logging.c if(cs && cs->priority < LOG_ERR) { cs 420 lib/common/logging.c crm_write_blackbox(SIGTRAP, cs); /* Bypass the over-dumping logic */ cs 422 lib/common/logging.c crm_write_blackbox(0, cs); cs 500 lib/common/logging.c crm_write_blackbox(int nsig, const struct qb_log_callsite *cs) cs 526 lib/common/logging.c } else if (cs) { cs 529 lib/common/logging.c cs->function, cs->lineno, cs->filename, buffer); cs 570 lib/common/logging.c struct qb_log_callsite *cs) cs 574 lib/common/logging.c } else if (cs->tags != crm_trace_nonlog && source == QB_LOG_BLACKBOX) { cs 576 lib/common/logging.c qb_bit_set(cs->targets, source); cs 580 lib/common/logging.c if (cs->priority <= LOG_ERR) { cs 581 lib/common/logging.c qb_bit_set(cs->targets, source); cs 584 lib/common/logging.c char *key = crm_strdup_printf("%s:%d", cs->function, cs->lineno); cs 587 lib/common/logging.c qb_bit_set(cs->targets, source); cs 593 lib/common/logging.c if (cs->priority <= crm_log_priority && cs->priority <= crm_log_level) { cs 594 lib/common/logging.c qb_bit_set(cs->targets, source); cs 597 lib/common/logging.c } else if (cs->priority <= crm_log_level) { cs 598 lib/common/logging.c qb_bit_set(cs->targets, source); cs 599 lib/common/logging.c } else if (trace_files && strstr(trace_files, cs->filename) != NULL) { cs 600 lib/common/logging.c qb_bit_set(cs->targets, source); cs 601 lib/common/logging.c } else if (trace_fns && strstr(trace_fns, cs->function) != NULL) { cs 602 lib/common/logging.c qb_bit_set(cs->targets, source); cs 603 lib/common/logging.c } else if (trace_fmts && strstr(trace_fmts, cs->format) != NULL) { cs 604 lib/common/logging.c qb_bit_set(cs->targets, source); cs 606 lib/common/logging.c && cs->tags != 0 cs 607 lib/common/logging.c && cs->tags != crm_trace_nonlog && g_quark_to_string(cs->tags) != NULL) { cs 608 lib/common/logging.c qb_bit_set(cs->targets, source); cs 613 lib/common/logging.c crm_log_filter(struct qb_log_callsite *cs) cs 653 lib/common/logging.c cs->targets = 0; /* Reset then find targets to enable */ cs 656 lib/common/logging.c cs); cs 661 lib/common/logging.c crm_is_callsite_active(struct qb_log_callsite *cs, uint8_t level, uint32_t tags) cs 665 lib/common/logging.c if (cs == NULL) { cs 669 lib/common/logging.c if (cs->priority != level) { cs 670 lib/common/logging.c cs->priority = level; cs 674 lib/common/logging.c if (cs->tags != tags) { cs 675 lib/common/logging.c cs->tags = tags; cs 680 lib/common/logging.c crm_log_filter(cs); cs 683 lib/common/logging.c if (cs->targets == 0) { cs 78 maint/gnulib/tests/test-pthread.c int cs[] = { PTHREAD_CANCEL_ENABLE, PTHREAD_CANCEL_DISABLE };