* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
- * MA 02111-1307, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include <stdio.h>
double maxcputime;
struct processtop *tmp = find_process_tid(data, selected_tid, selected_comm);
struct files *file_tmp;
+ struct file_history *history = tmp->files_history;
int i, j = 0;
set_window_title(center, "Process details");
j++;
}
}
+/*
+ print_key_title("----------- Files History -----------",8+j);
+ j = 0;
+ while (history != NULL) {
+ file_tmp = history->file;
+ wprintw(center, "fd = %d\n", file_tmp->fd);//, file_tmp->fd);
+ history = history->next;
+ }
+*/
}
void update_perf()
g_hash_table_iter_init(&iter, data->perf_list);
while (g_hash_table_iter_next (&iter, &key, (gpointer) &perfn1)) {
if (perfn1->visible) {
- /* + 6 to strip the "_perf_" prefix */
+ /* + 5 to strip the "perf_" prefix */
mvwprintw(center, 1, perf_row, "%s",
- (char *) key + 6);
+ (char *) key + 5);
perf_row += 20;
}
if (perfn1->sort) {