/* * Implementation of get_cpuid(). * * Copyright 2014 IBM Corp. * Author(s): Alexander Yarygin * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License (version 2 only) * as published by the Free Software Foundation. */ #include #include #include #include #include "../../util/header.h" int get_cpuid(char *buffer, size_t sz) { const char *cpuid = "IBM/S390"; if (strlen(cpuid) + 1 > sz) return -1; strcpy(buffer, cpuid); return 0; } y>
summaryrefslogtreecommitdiff
gi/linux/net-next.git/log/tools/perf/Documentation/jitdump-specification.txt?h=nds-private-remove&id=646ebd4166ca00bdf682a36bd2e1c9a74d848ac6&showmsg=1'>Expand)
AgeCommit message (Expand)AuthorFilesLines
AuthorFilesLines