Add -p option to allow PIDs to be printed when -d option is used.

signed-off-by Richard Woodruff <r-woodruff2@ti.com>

diff -purN powertop-orig/powertop.c powertop-new/powertop.c
--- powertop-orig/powertop.c	2008-04-11 14:14:24.000000000 -0500
+++ powertop-new/powertop.c	2008-04-11 17:24:04.000000000 -0500
@@ -696,12 +696,13 @@ int main(int argc, char **argv)
  		static struct option opts[] = {
  			{ "dump", 0, NULL, 'd' },
  			{ "time", 1, NULL, 't' },
+			{ "pid",  0, NULL, 'p' },
  			{ "help", 0, NULL, 'h' },
  			{ 0, 0, NULL, 0 }
  		};
  		int index2 = 0, c;
  		
- 		c = getopt_long(argc, argv, "dt:h", opts, &index2);
+ 		c = getopt_long(argc, argv, "dpt:h", opts, &index2);
  		if (c == -1)
  			break;
  		switch (c) {
@@ -711,7 +712,10 @@ int main(int argc, char **argv)
  		case 't':
  			ticktime = strtod(optarg, NULL);
  			break;
- 		case 'h':
+		case 'p':
+ 			showpids = 1;
+			break;	
+		case 'h':
  			usage();
  			break;
  		default:
