/* * Created by: Jason Wessel <jason.wessel@windriver.com> * * Copyright (c) 2010 Wind River Systems, Inc. All Rights Reserved. * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. */ #include <linux/module.h> #include <linux/kdb.h> /* * All kdb shell command call backs receive argc and argv, where * argv[0] is the command the end user typed */
static int kdb_hello_cmd(int argc, const char **argv) { if (argc > 1) return KDB_ARGCOUNT; if (argc) kdb_printf("Hello %s.\n", argv[1]); else kdb_printf("Hello world!\n"); return 0; }Contributors
Person | Tokens | Prop | Commits | CommitProp | |
jason wessel | jason wessel | 47 | 100.00% | 1 | 100.00% |
Total | 47 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
jason wessel | jason wessel | 26 | 100.00% | 1 | 100.00% |
Total | 26 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
jason wessel | jason wessel | 14 | 100.00% | 1 | 100.00% |
Total | 14 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
jason wessel | jason wessel | 120 | 100.00% | 1 | 100.00% |
Total | 120 | 100.00% | 1 | 100.00% |