Skip to content

Commit 915b4e2

Browse files
olsajiriacmel
authored andcommitted
perf record: Remove progname from struct record
It's no longer used. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/20180307155020.32613-5-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 20a8a3c commit 915b4e2

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎tools/perf/builtin-record.c‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ struct record {
7171
struct auxtrace_record *itr;
7272
struct perf_evlist *evlist;
7373
struct perf_session *session;
74-
const char *progname;
7574
int realtime_prio;
7675
bool no_buildid;
7776
bool no_buildid_set;
@@ -861,8 +860,6 @@ static int __cmd_record(struct record *rec, int argc, const char **argv)
861860
bool disabled = false, draining = false;
862861
int fd;
863862

864-
rec->progname = argv[0];
865-
866863
atexit(record__sig_exit);
867864
signal(SIGCHLD, sig_handler);
868865
signal(SIGINT, sig_handler);

0 commit comments

Comments
 (0)