cregit-Linux how code gets into the kernel

Release 4.14 arch/s390/oprofile/init.c

// SPDX-License-Identifier: GPL-2.0
/*
 * S390 Version
 *   Copyright IBM Corp. 2002, 2011
 *   Author(s): Thomas Spatzier (tspat@de.ibm.com)
 *   Author(s): Mahesh Salgaonkar (mahesh@linux.vnet.ibm.com)
 *   Author(s): Heinz Graalfs (graalfs@linux.vnet.ibm.com)
 *   Author(s): Andreas Krebbel (krebbel@linux.vnet.ibm.com)
 *
 * @remark Copyright 2002-2011 OProfile authors
 */

#include <linux/oprofile.h>
#include <linux/init.h>
#include <asm/processor.h>


static int __s390_backtrace(void *data, unsigned long address, int reliable) { unsigned int *depth = data; if (*depth == 0) return 1; (*depth)--; oprofile_add_trace(address); return 0; }

Contributors

PersonTokensPropCommitsCommitProp
Heiko Carstens48100.00%2100.00%
Total48100.00%2100.00%


static void s390_backtrace(struct pt_regs *regs, unsigned int depth) { if (user_mode(regs)) return; dump_trace(__s390_backtrace, &depth, NULL, regs->gprs[15]); }

Contributors

PersonTokensPropCommitsCommitProp
Heiko Carstens40100.00%1100.00%
Total40100.00%1100.00%


int __init oprofile_arch_init(struct oprofile_operations *ops) { ops->backtrace = s390_backtrace; return 0; }

Contributors

PersonTokensPropCommitsCommitProp
Andrew Morton840.00%125.00%
Andreas Krebbel840.00%250.00%
Akinobu Mita420.00%125.00%
Total20100.00%4100.00%


void oprofile_arch_exit(void) { }

Contributors

PersonTokensPropCommitsCommitProp
Andrew Morton583.33%150.00%
Heiko Carstens116.67%150.00%
Total6100.00%2100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Heiko Carstens9475.20%444.44%
Andrew Morton1814.40%111.11%
Andreas Krebbel86.40%222.22%
Akinobu Mita43.20%111.11%
Greg Kroah-Hartman10.80%111.11%
Total125100.00%9100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.