1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- /*++
- Copyright (c) 2013 Minoca Corp. All Rights Reserved
- Module Name:
- System Profiler
- Abstract:
- This library contains the System Profiler, which lends insight into the
- real-time resource usage of the system.
- Author:
- Chris Stevens 1-Jul-2013
- Environment:
- Kernel
- --*/
- function build() {
- base_sources = [
- "info.c",
- "profiler.c"
- ];
- if ((arch == "armv7") || (arch == "armv6")) {
- arch_sources = [
- "armv7/archprof.c"
- ];
- } else if (arch == "x86") {
- arch_sources = [
- "x86/archprof.c"
- ];
- }
- lib = {
- "label": "sp",
- "inputs": base_sources + arch_sources,
- };
- entries = static_library(lib);
- return entries;
- }
- return build();
|