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
Person | Tokens | Prop | Commits | CommitProp |
Heiko Carstens | 48 | 100.00% | 2 | 100.00% |
Total | 48 | 100.00% | 2 | 100.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
Person | Tokens | Prop | Commits | CommitProp |
Heiko Carstens | 40 | 100.00% | 1 | 100.00% |
Total | 40 | 100.00% | 1 | 100.00% |
int __init oprofile_arch_init(struct oprofile_operations *ops)
{
ops->backtrace = s390_backtrace;
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Andrew Morton | 8 | 40.00% | 1 | 25.00% |
Andreas Krebbel | 8 | 40.00% | 2 | 50.00% |
Akinobu Mita | 4 | 20.00% | 1 | 25.00% |
Total | 20 | 100.00% | 4 | 100.00% |
void oprofile_arch_exit(void)
{
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Andrew Morton | 5 | 83.33% | 1 | 50.00% |
Heiko Carstens | 1 | 16.67% | 1 | 50.00% |
Total | 6 | 100.00% | 2 | 100.00% |
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Heiko Carstens | 94 | 75.20% | 4 | 44.44% |
Andrew Morton | 18 | 14.40% | 1 | 11.11% |
Andreas Krebbel | 8 | 6.40% | 2 | 22.22% |
Akinobu Mita | 4 | 3.20% | 1 | 11.11% |
Greg Kroah-Hartman | 1 | 0.80% | 1 | 11.11% |
Total | 125 | 100.00% | 9 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.